PrepAway - Latest Free Exam Questions & Answers

Category: 70-513 (v.2)

Exam 70-513: TS: Windows Communication Foundation Development with Microsoft .NET Framework 4 (update October 28th, 2015)

Which code segment should you use?

You are developing a Windows Communication Foundation (WCF) service named
CalculatorService, which implements the ICalculatorService contract. The service is
configured to be discoverable through UDP. CalculatorService contains multiple endpoints.
One of the endpoints is configured with the following behavior. You need to log all the
endpoint metadata information that is added by the service host. Which code segment
should you use?

What are two possible ways to achieve this goal?

An existing Windows Communication Foundation (WCF) service uses basicHttpBinding.
You are releasing updates to the service and the client application. You need to enable the
client application to flow transactions to the service. What are two possible ways to achieve
this goal? (Each correct answer presents a complete solution. Choose two.)

What should you add to the filters element of the application configuration file?

You are developing a Windows Communication Foundation (WCF) service. You enable
logging in the configuration file. The opening tag is defined as follows. You need to ensure
that logging is implemented so that only messages with SOAP headers are logged. What
should you add to the filters element of the application configuration file?

You need to ensure that the service operation is always executed within a transaction

You are modifying a Windows Communication Foundation (WCF) service that allows
customers to update financial data. The service currently requires a transaction from the
client application and is working correctly. The service contract is defined as follows. (Line
numbers are included for reference only.) The service must be modified so that client
applications do not need to initiate a transaction when calling the operation. The service
must use the client application’s transaction if one is available. Otherwise it must use its
own transaction. You need to ensure that the service operation is always executed within a
transaction. What should you do?

You need to ensure that the service meets the following requirements: • The service now must be exposed as a

You develop a Windows Communication Foundation (WCF) service. It is used exclusively
as an intranet application and is currently unsecured. You need to ensure that the service
meets the following requirements: • The service now must be exposed as an Internet
application. • The service must be secured at the transport level. • Impersonation and
delegation cannot be enabled. What should you use?

You need to ensure that applications can consume the service without code changes in the client

You are developing a Windows Communication Foundation (WCF) service to replace an
existing A5MX Web service. The WCF service contains the following code segment. (Line
numbers are included for reference only.) The existing Web service returns the EmployeeID
as an attribute of the EmployeeInfo element in the response XML. You need to ensure that
applications can consume the service without code changes in the client.


Page 12 of 23« First...1011121314...20...Last »