Microsoft 70-503 Real Exam Questions
This Microsoft Certified Technology Specialist (TS) exam, Exam 70-503: TS: Microsoft .NET Framework 3.5, Windows Communication Foundation Application Development, became available in April 2008.
Questions that contain code will be presented in either VB or C#. Candidates can select one of these languages when they start the exam.
1: You are creating a Windows Communication Foundation (WCF) service by using Microsoft .NET Framework 3.5. You need to use a custom service host to host the WCF service in Windows Activation Services (WAS). What should you do?
A.Write hosting code for the WCF service.
B.Add a reference to the custom service host in the web.config file.
C.Add code to instantiate the custom service host from within the main procedure of the WCF service.
D.Create a custom service host factory that instantiates the custom service host. Include a reference to this factory in the .svc file.
Correct Answers: D
2: You are creating a Windows Communication Foundation (WCF) service by using Microsoft .NET Framework 3.5. The service will be hosted on a Web server. You plan to deploy the service in an existing Web application. You need to identify the Web applications on the Web server that are registered for WCF. Which utility should you use?
A.SvcUtil.exe
B.ServiceModelReg.exe
C.SvcConfigEditor.exe
D.SvcTraceViewer.exe
Correct Answers: B
3: You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. The service will be exposed for consumption. You need to ensure that the service supports interoperability with the broadest possible number of Web Service toolkits. The service must also support transport-level security. Which configuration setting should you use?
A.<endpoint address="" binding="basicHttpBinding" contract="IContract"></endpoint>
B.<endpoint address="" binding="wsHttpBinding" contract="IContract"></endpoint>
C.<endpoint address="" binding="wsDualHttpBinding" contract="IContract"></endpoint>
D.<endpoint address="" binding="wsFederationHttpBinding" contract="IContract"></endpoint>
Correct Answers: A
4: 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?
A.Run SvcTraceViewer.exe /register on the WCF server.
B.Connect remotely to the WCF service by using a debugger. Place breakpoints in the exception handling code segment.
C.Configure the Service Tracing options in the application configuration file. Analyze the trace results by using the SvcTraceViewer.exe program.
D.Add the following code segment to the application configuration file. <system.diagnostics> <switches> <add name="WcfFaultTrace" value="Error" /> </ switches></system.diagnostics>
Correct Answers: C
5: You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You need to inspect messages on the service. Which three actions should you perform? (Each correct answer presents part of the solution. Choose three.)
A.Implement the IEndpointBehavior behavior.
B.Implement the IOperationBehavior behavior.
C.Implement the IClientMessageInspector interface.
D.Implement the IDispatchMessageInspector interface.
E.Insert a behavior before calling the IClientObject.Open method.
F.Insert a behavior before calling the ICommunicationObject.Open method.
Correct Answers: A D F
6: You create a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You need to trace the flow of events in the process activities that are located on the server. Which code fragment should you use?
A.<source name="System.ServiceModel" switchValue="Critical"propagateActivity="true">
B.<source name="System.ServiceModel" switchValue="Verbose"propagateActivity="true">
C.<source name="System.ServiceModel" switchValue="Information"propagateActivity="false">
D.<source name="System.ServiceModel" switchValue="Information, ActivityTracing"propagateActivity="false">
Correct Answers: D
7: You are creating a Windows Communication Foundation client application by using Microsoft .NET Framework 3.5. You need to inspect the parameters on the client application. Which three actions should you perform? (Each correct answer presents part of the solution. Choose three.)
A.Implement the IParameterInspector interface.
B.Implement the IClientMessageInspector interface.
C.Insert a behavior before you call the ClientBase.Open method.
D.Insert a code segment that creates a behavior in the ICallContextInitializer.BeforeInvoke() method.
E.Implement the IEndpointBehavior behavior to add the parameter inspector to the Dispatcher.ClientOperation.ParameterInspectors method.
F.Implement the IEndpointBehavior behavior to add the parameter inspector to the Dispatcher.DispatchOperation.ParameterInspectors method.
Correct Answers: A C E
8: You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You need to ensure that you can customize the behavior of the ClientRuntime class and the DispatchRuntime class. You must achieve this goal without altering the behavior of the service. What should you do?
A.Implement the IServiceBehavior interface to create a Service behavior.
B.Implement the IEndpointBehavior interface to create an Endpoint behavior.
C.Implement the IContractBehavior interface to create a Contract behavior.
D.Implement the IOperationBehavior interface to create an Operation behavior.
Correct Answers: C
9: You create a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. The service receives automation commands for a factory robot. You need to ensure that the robot receives the commands in the same order as they are transmitted. Which binding element should you use?
A.<security/>
B.<reliableSession/>
C.<transactionFlow/>
D.<compositeDuplex/>
Correct Answers: B
Download | Password: certificatexam.com
Thank you for the essay loaded with so many info. Stopping by your article helped me to get what I was looking for.