Microsoft 70-503 Actual Free Exam Questions & Community Discussion
You are creating a distributed application by using Microsoft .NET Framework 3.5.
The application uses the Windows Communication Foundation model.
You need to ensure that the following requirements are met:
What are two possible ways to achieve this goal? (Each correct answer presents a complete solution. Choose two.)

The application uses the Windows Communication Foundation model.
You need to ensure that the following requirements are met:
What are two possible ways to achieve this goal? (Each correct answer presents a complete solution. Choose two.)

Correct Answer: C,D
Vote an answer
You are creating a Windows Communication Foundation service by using Microsoft .NET
Framework 3.5. The service will be hosted in a Windows Service environment.
You need to create a Windows Service class that instantiates a service host.
Which code segment should you use?

Framework 3.5. The service will be hosted in a Windows Service environment.
You need to create a Windows Service class that instantiates a service host.
Which code segment should you use?

Correct Answer: D
Vote an answer
You are creating a Windows Communication Foundation service by using Microsoft .NET
Framework 3.5.
The client applications are unable to use SSL You need to ensure that clients authenticate by using a token provided by a Security Token Service (STS). What should you do?
Framework 3.5.
The client applications are unable to use SSL You need to ensure that clients authenticate by using a token provided by a Security Token Service (STS). What should you do?
Correct Answer: A
Vote an answer
You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. The service will contain an enumeration named OrderState.
The OrderState enumeration will contain the following four values:
The client application must be able to set the state of an Order entity to only the following two values:
You need to create the data contract for OrderState. Which code segment should you use?

The OrderState enumeration will contain the following four values:
The client application must be able to set the state of an Order entity to only the following two values:
You need to create the data contract for OrderState. Which code segment should you use?

Correct Answer: C
Vote an answer
You are creating a Windows Communication Foundation (WCF) client application by using Microsoft .NET Framework 3.5.
The WCF service transfers data to the client applications by using the streaming transfer
mode.
You need to create an endpoint that supports the streaming transfer mode.
Which binding should you use?
The WCF service transfers data to the client applications by using the streaming transfer
mode.
You need to create an endpoint that supports the streaming transfer mode.
Which binding should you use?
Correct Answer: A
Vote an answer
You are creating a Windows Communication Foundation (WCF) service by using Microsoft .NET Framework 3.5. You create a class named Customer for the WCF service. The Customer class has properties named Id, Name, and BalanceDue.
You plan to convert the Customer class into a data contract.
You need to ensure that only the Id property and the Name property are passed to the client applications.
Which code segment should you use?

You plan to convert the Customer class into a data contract.
You need to ensure that only the Id property and the Name property are passed to the client applications.
Which code segment should you use?

Correct Answer: A
Vote an answer
You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5.
You need to host the service in a medium trust environment on a Web server.
Which two bindings should you use? (Each correct answer presents a complete solution. Choose two.)
You need to host the service in a medium trust environment on a Web server.
Which two bindings should you use? (Each correct answer presents a complete solution. Choose two.)
Correct Answer: C,E
Vote an answer
You are creating a client application by using Microsoft .NET Framework 3.5. The application will be accessible on the Internet.
You plan to use the wsHttpBinding binding by using HTTPS. The Windows Communication Foundation (WCF) service is hosted by a Windows service. You associate the HTTPS port of the WCF server with an X.509 certificate.
You need to ensure that the client application trusts and validates the certificate.
What should you do?
You plan to use the wsHttpBinding binding by using HTTPS. The Windows Communication Foundation (WCF) service is hosted by a Windows service. You associate the HTTPS port of the WCF server with an X.509 certificate.
You need to ensure that the client application trusts and validates the certificate.
What should you do?
Correct Answer: A
Vote an answer
You create a Windows Communication Foundation (WCF) service by using Microsoft .NET Framework 3.5. Client applications that run on different platforms access the WCF service.
These applications transmit confidential data to the WCF service. You write the following binding configuration.
....
<binding name="TransportSecurity" >
<security mode="Transport" />
</binding>
...
You need to configure the service for optimum interoperability and optimum security.
Which code fragment should you use?

These applications transmit confidential data to the WCF service. You write the following binding configuration.
....
<binding name="TransportSecurity" >
<security mode="Transport" />
</binding>
...
You need to configure the service for optimum interoperability and optimum security.
Which code fragment should you use?

Correct Answer: C
Vote an answer
You create a Windows Communication Foundation client application by using Microsoft .NET Framework 3.5. The client application communicates with an existing Web service that requires custom HTTP headers. You need to ensure that all messages sent to the service include the headers.
Which two tasks should you perform? (Each correct answer presents part of the solution. Choose two.)
Which two tasks should you perform? (Each correct answer presents part of the solution. Choose two.)
Correct Answer: B,D
Vote an answer
You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You have successfully created two interfaces: IMyService and IMyServiceClient.
You need to ensure that the service is able to call methods from the client application by using the IMyServiceClient interface.
Which code segment should you use?

You need to ensure that the service is able to call methods from the client application by using the IMyServiceClient interface.
Which code segment should you use?

Correct Answer: D
Vote an answer
0
0
0
10
