1.
You create a Windows Communication Foundation service by using Microsoft .NET
Framework 3.5.
You set up tracing for the service. The tracing fails because of an error in the service configuration.
You need to identify the cause of the error. What should you do?
2.
You are creating a Windows Communication Foundation service by using Microsoft
.NET Framework 3.5
You need to ensure that the service can send data in the following format to the client applications.




Which code segment should you use?
3.
You create a Windows Communication Foundation (WCF) service by using Microsoft
.NET Framework 3.5.
The WCF service contains two operations named ProcessSimpleOrder and
ProcessComplexOrder.
You need to expose the ProcessSimpleOrder operation to all the client applications.
You also need to expose the ProcessComplexOrder operation only to specific client applications.
Which code segment should you use?
4.
You create a Windows Communication Foundation (WCF) service by using Microsoft
.NET Framework 3.5.
You write the following code segment. (Line numbers are included for reference only.)
01 public interface IMvService
02 {
03 ...
04 string ProcessString(string name);
05 }
You create a host for the WCF service.
You also create a service endpoint at http://localhost:8080/service.
You add an instance of the HttpTransferEndPointBehavior class to the host.
You need to ensure that the ProcessString method can be invoked from a Web browser by using the URL http://localhost:8080/service/process?name=value.
Which code segment should you insert at line 03?
5.
You create a client application by using Microsoft .NET Framework 3.5.
The client application uses a Windows Communication Foundation (WCF) service.
You plan to implement inspection handling on the client application and the WCF service.
You need to add error handling to the WCF service.
What should you do?
6.
You create a Windows Communication Foundation (WCF) service by using Microsoft
.NET Framework 3.5.
The WCF service accepts service requests from different partner applications.
One of the partner applications occasionally receives faults.
You need to identify why the service is generating faults.
You must accomplish this goal without interrupting the service.
What should you do?
7.
You are creating a Windows Communication Foundation service by using Microsoft
.NET Framework 3.5.
You write the following code fragment for the configuration setting.
(Line numbers are included for reference only.)
01
02
03
04

05

You need to ensure that the service uses transport security and allows access to anonymous client applications.
Which code fragment should you insert at line 03?
8.
You are creating a client application by using Microsoft .NET Framework 3.5.
You use Windows Communication Foundation (WCF) to create the application
The client application uses a Personal Information Card to provide authentication information to the WCF server.
You write the following code fragment.
(Line numbers are included for reference only.)
01
02
03
04
05
06

07

06

09

You need to ensure that one of the claims in the Personal Information Card contains an e-mail address.
Which code fragment should you insert at line 05?
9.
You create a Windows Communication Foundation service by using Microsoft .NET
Framework 3.5.
You set up tracing for the service. The tracing fails because of an error in the service configuration.
You need to identify the cause of the error. What should you do?
10.
You are creating a client application by using Microsoft .NET Framework 3.5.
You use Windows Communication Foundation (WCF) to create the application
The client application uses a Personal Information Card to provide authentication information to the WCF server.
You write the following code fragment.
(Line numbers are included for reference only.)
01
02
03
04
05
06

07

06

09

You need to ensure that one of the claims in the Personal Information Card contains an e-mail address.
Which code fragment should you insert at line 05?