PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

Which two tasks should you perform?

You plan to develop a Microsoft Message Passing Interface (MPI) application by using Microsoft Visual Studio. You have installed the Microsoft HPC Pack 2008 SDK at C:Program FilesMicrosoft HPC Pack 2008 SDK.You create a new console application. You need to ensure that the application compiles for a 64-bit architecture. Which two tasks should you perform? (Each correct answer presents part of the solution.
Choose two.)

What should you do?

You are a system administrator for your company. Your company network has an Active Directory domain named contoso.com. All servers in the network run Windows Server 2008. The company plans to install a new HPC cluster and configure it as a separate forest named hpc.fabrikam.com. You create a new Active DirectoryCintegrated DNS zone named hpc.fabrikam.com that is hosted on the contoso.com DNS server. You need to configure the hpc.fabrikam.com DNS zone to accept automatic registration of the cluster nodes. What should you do?

Which code segment should you insert at line 13?

You develop a parallel application that will be deployed on a Windows HPC Server 2008 cluster. You write the following code segment that computes an approximation to Pi. (Line numbers are included for reference only.)

01 static int totDarts = 10000;
02 int numDarts = 0;
04 MPI_Comm_size(MPI_COMM_WORLD, &commSize);
05 MPI_Comm_rank(MPI_COMM_WORLD, &commRank);
07 for(i = 0; i < totDarts; i++) {
08 x = 2 * (randomNr() – 0.5);
09 y = 2 * (randomNr() – 0.5);
10 if (x*x + y*y <= 1.0)
11 ++numDarts;
12 }
14 if(commRank == 0) {
15 pi = 4 * total/(commSize * totDarts);
16 printf("Pi = %dn", pi);
17 }

You need to ensure that the total number of numDarts is only available on the process that has a rank 0.
Which code segment should you insert at line 13?

Which two actions should you perform?

You administer a Windows HPC Server 2008 cluster for your company. Your company network has computers that run non-Microsoft operating systems. These computers must access the cluster resources. You need to configure the cluster to accept jobs from the computers that run non-Microsoft operating systems. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

Which code segment should you use?

You develop a parallel application that will be deployed on a Windows HPC Server 2008 cluster.The application uses point-to-point communication.

The process that has a rank 0 sends an array of integer values to the rank 1 process by using the following code segment. (Line numbers are included for reference only.)

01 int values[5];
02 MPI_Send(values, 5, MPI_INT, 1, 42,
03 MPI_COMM_WORLD);

You need to ensure that each receiving process is able to correctly receive the values in the most efficient manner possible.
Which code segment should you use?

Which two actions should you perform?

You are a system administrator for your company. Your company plans to install a new Windows HPC Server 2008 cluster. The company requires that the HPC cluster head node be installed on a failover cluster. You need to prepare the failover cluster nodes before you install HPC Pack 2008. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

Which code segment should you insert at line 02?

You develop a parallel application that will be deployed on a Windows HPC Server 2008 cluster. You write the following code segment. (Line numbers are included for reference only.)

01 MPI_Init(&argc, &argv);
03 {
04 // program part for rank 0
06 }
06 else
07 {
08 // program part for all other ranks
09 }
10 MPI_Finalize();

You need to ensure that the code in the rank 0 section only executes on the process that has a rank of 0.
Which code segment should you insert at line 02?

Which code segment should you add at line 05?

You develop a parallel application that will be deployed on a Windows HPC Server 2008 cluster.You write the following code segment. (Line numbers are included for reference only.)

01 int rank;
02 MPI_Comm_rank(MPI_COMM_WORLD, &rank);
03 // declaration of variable hostName
04 // code to execute
06 std::cout << "hostname of rank " << rank;
07 std::cout << ": " << hostName << "n";

You need to ensure that a variable named hostName contains the name of the cluster node that the code runs on.
Which code segment should you add at line 05?

What should you do?

You administer a Windows HPC Server 2008 cluster for your company. The cluster uses a network topology that has compute nodes isolated on a private network. Network address translation (NAT) services are disabled on the head node. Your company deploys a new service-oriented architecture (SOA) application. You need to configure the cluster to support the SOA application. What should you do?