PrepAway - Latest Free Exam Questions & Answers

Category: 70-691

Exam 70-691: TS: Windows HPC Server 2008, Developing

What should you do?

You create a Windows Communication Foundation (WCF) service to upload a large amount of input data for a protein-folding process. The service will run on a Windows HPC Server 2008 cluster. You configure the binding of the WCF service endpoint by using the following XML fragment. (Line numbers are included for reference only.)

01 <basicHttpBinding>
02 <binding name="HttpStreaming" transferMode="Streamed" />
03 </basicHttpBinding>

You plan to write a single operation named UploadProteinFoldingData. You need to ensure that data is uploaded by using the streaming transfer mode.

What should you do?

What should you do?

You create an OpenMP application by using Microsoft Visual C++.
You write the following code segment. (Line numbers are included for reference only.)

01 int addIndices(int a,int b)
02 {
03 return a+b;
04 }
05 int _tmain(int argc, _TCHAR* argv[])
06 {
07 int i, j;
08 int a[10][10];
09 #pragma omp parallel for
10 for (i = 0; i < 10; i++)
11 for (j = 0; j < 10; j++)
12 {
14 a[i][j] = addIndices(i, j);
15 }
16 }

The code segment stores some incorrect data in the array. You need to ensure that the code segment stores only correct data in the array.
What should you do?

Which three actions should you perform?

You create a service-oriented architecture (SOA) application that will be deployed on a Windows HPC Server 2008 cluster.
The application includes a Windows Communication Foundation (WCF) service. You add the following XML fragment to the service registration file. (Line numbers are included for reference only.)

01 <microsoft.Hpc.Session.ServiceRegistration>
02 <service assembly=""
03 contract="IMyService"
04 type="MyService"
05 architecture="AnyCpu">
06 </service>
07 </microsoft.Hpc.Session.ServiceRegistration>

The WCF service application assembly named MyService.dll is located in the C:Services folder on the head node of an HPC cluster. The C:Services folder is shared as \headnodeServices. You need to ensure that the WCF service is accessed by using a shared location on the HPC cluster.

Which three actions should you perform? (Each correct answer presents part of the solution. Choose three.)

Which two actions should you perform?

You create a service-oriented architecture (SOA) application by using Windows Communication Foundation (WCF). The application will be deployed on a Windows HPC Server 2008 cluster.
The application includes the following code segment. (Line numbers are included for reference only.)

01 [ServiceContract]
02 public interface IMyService
03 {
04 [OperationContract]
05 void MyOperation();
06 }
07 [ServiceBehavior(InstanceContextMode = InstanceContextMode.PerCall)] 08 public class MyService : IMyService
09 {
10 public void MyOperation()
11 {
12 }
13 }

The WCF service application assembly named MyService.dll is located in the
C:ServicesMyService folder. The MyService.dll service references four assemblies located in the C:ServicesCommon folder. You plan to deploy the WCF service on each compute node of an HPC cluster. You need to register the WCF service on each compute node. Which two actions should you perform? (Each correct answer presents part of the solution.
Choose two.)

What should you do?

You create a service-oriented architecture (SOA) application by using Windows Communication Foundation (WCF). The application will be deployed on a Windows HPC Server 2008 cluster.
The application includes the following code segment. (Line numbers are included for reference only.)

01 [ServiceContract]
02 public interface IFinancialService
03 {
04 [OperationContract]
05 void CreateStock(Stock s);
06 }
07 [DataContract]
09 public class Stock
10 {
11 [DataMember]
12 public string Symbol { get; set; }
13 }
14 [DataMember]
16 public class IncomeStock : Stock
17 {
18 }

You need to ensure that client applications can call the CreateStock operation by passing an IncomeStock object as the parameter. What should you do?

What should you do?

You create a Windows Communication Foundation (WCF) service to upload a large amount of input data for a protein-folding process. The service will run on a Windows HPC Server 2008 cluster. You configure the binding of the WCF service endpoint by using the following XML fragment. (Line numbers are included for reference only.)

01 <basicHttpBinding>
02 <binding name="HttpStreaming" transferMode="Streamed" />
03 </basicHttpBinding>

You plan to write a single operation named UploadProteinFoldingData. You need to ensure that data is uploaded by using the streaming transfer mode.
What should you do?


Page 1 of 812345...Last »