Free Microsoft 070-513 Practice Test & Real Exam Questions
You develop a Windows Communication Foundation (WCF) service. You enable all
performance counters and run multiple calls to the service.
The service must isolate session data for each user.
You need to monitor the instancing behavior used in the service.
Which performance counter should you monitor?
performance counters and run multiple calls to the service.
The service must isolate session data for each user.
You need to monitor the instancing behavior used in the service.
Which performance counter should you monitor?
Correct Answer: A
Vote an answer
You are creating a Windows Communication Foundation (WCF) service that implements the following service contract.
<ServiceContract()>
Public Interface IOrderProcessing
<OperationContract()>
Sub ApproveOrder(ByVal id As Integer)
End Interface
You need to ensure that only users with the Manager role can call the ApproveOrder method. What should you do?
<ServiceContract()>
Public Interface IOrderProcessing
<OperationContract()>
Sub ApproveOrder(ByVal id As Integer)
End Interface
You need to ensure that only users with the Manager role can call the ApproveOrder method. What should you do?
Correct Answer: B
Vote an answer
You are developing a client application that consumes a Windows Communication Foundation (WCF) service.
You use the svcutil.exe utility to create a proxy for the service.
You use the svcutil.exe switches that generate asynchronous calls. GetFlight is a service operation that takes no parameters and returns a string. The GetFlightCallback method must be called when the service operation returns.
You create an instance of the client proxy with the following code.
var client = new TravelServiceClient();
You need to ensure that a callback is received when the GetFlight operation is called asynchronously.
Which code segment should you use?
You use the svcutil.exe utility to create a proxy for the service.
You use the svcutil.exe switches that generate asynchronous calls. GetFlight is a service operation that takes no parameters and returns a string. The GetFlightCallback method must be called when the service operation returns.
You create an instance of the client proxy with the following code.
var client = new TravelServiceClient();
You need to ensure that a callback is received when the GetFlight operation is called asynchronously.
Which code segment should you use?
Correct Answer: A
Vote an answer
A Windows Communication Foundation (WCF) application uses the following data contract.

You need to ensure that the following XML segment is generated when the data contract is serialized.

Which code segment should you use?

You need to ensure that the following XML segment is generated when the data contract is serialized.

Which code segment should you use?
Correct Answer: B
Vote an answer
You are developing a new version of an existing message contract named CustomerDetailsVersion1.
The new version of the message contract must add a Department field of type String to the SOAP header.
You create a new class named CustomerDetailsVersion2 that inherits from CustomerDetailsVersion1.
You need to ensure that all client applications can consume the service.
Which code segment should you use?
The new version of the message contract must add a Department field of type String to the SOAP header.
You create a new class named CustomerDetailsVersion2 that inherits from CustomerDetailsVersion1.
You need to ensure that all client applications can consume the service.
Which code segment should you use?
Correct Answer: D
Vote an answer
You are creating an application that consumes a Windows Communication Foundation (WCF) service. The service implements the IService contract. The client application contains the CallbackHandler class, which implements IServiceCallback.
You need to ensure that a client proxy is created that can communicate with the service over a duplex channel.
Which code segment should you use?
You need to ensure that a client proxy is created that can communicate with the service over a duplex channel.
Which code segment should you use?
Correct Answer: A
Vote an answer
A Windows Communication Foundation (WCF) service uses the following service contract.
[ServiceContract]
public interface IService
{
[OperationContract]
string Operation 1 (string s);
}
You need to ensure that the operation contract Operationi responds to HTTP POST requests.
Which code segment should you use?
[ServiceContract]
public interface IService
{
[OperationContract]
string Operation 1 (string s);
}
You need to ensure that the operation contract Operationi responds to HTTP POST requests.
Which code segment should you use?
Correct Answer: D
Vote an answer
You are developing a data contract for a Windows Communication Foundation (WCF) service.
The data in the data contract must participate in round trips. Strict schema validity is not required.
You need to ensure that the contract is forward-compatible and allows new data members to be added to it.
Which interface should you implement in the data contract class?
The data in the data contract must participate in round trips. Strict schema validity is not required.
You need to ensure that the contract is forward-compatible and allows new data members to be added to it.
Which interface should you implement in the data contract class?
Correct Answer: A
Vote an answer
You are developing a Windows Communication Foundation (WCF) service.
You need to enable security auditing for all events.
What should you do?
You need to enable security auditing for all events.
What should you do?
Correct Answer: D
Vote an answer
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 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?
Correct Answer: A
Vote an answer
You are modifying a Windows Communication Foundation (WCF) service that issues security tokens. The service is accessible through the named pipe protocol. No endpoints are added in the service code. The configuration file for the service is as follows. (Line numbers are included for reference only.)

You need to ensure that new and existing client applications can access the service through HTTP and named pipes.
What should you do?

You need to ensure that new and existing client applications can access the service through HTTP and named pipes.
What should you do?
Correct Answer: C
Vote an answer
You are developing a Windows Communication Foundation (WCF) service.
You need to enable security auditing for all events.
What should you do?
You need to enable security auditing for all events.
What should you do?
Correct Answer: D
Vote an answer
