[2016-New] Microsoft 70-513 Latest Dumps Free Download From GreatExam (101-110)

2016 June Microsoft Official New Released 70-513 Q&As in GreatExam.com!

100% Free Download! 100% Pass Guaranteed!

We never believe in second chances and GreatExam brings you the best 70-513 Exam Preparation Materials which will make you pass in the first attempt. We guarantee all questions and answers in our 70-513 Dumps are the latest released, we check all exam dumps questions from time to time according to Microsoft Official Center, in order to guarantee you can read the latest questions!

Following questions and answers are all new published by Microsoft Official Exam Center: (The full version is in the end of the article!!!)

QUESTION 101
An ASP.NET application hosts a RESTful Windows Communication Foundation (WCF) service at /Services/Contoso.svc.
The service provides a JavaScript resource to clients.
You have an explicit reference to the JavaScript in your page markup as follows.
<script type=”text/javaScript” src=”/Services/Contoso.svc/js” />
You need to retrieve the debug version of the service JavaScript.
What should you do?

A.    In the <%@ ServiceHost %> header for /Services/Contoso.svc, set the Debug attribute to true.
B.    In the <%@ Page %> header, set the Debug attribute to true.
C.    In the script tag, add a debug attribute and set its value to true.
D.    In the script tag, append debug to the src attribute.

 

Answer: D

QUESTION 102
Your company has an existing Windows Communication Foundation (WCF) service that allows business partners to place orders.
The service uses netMsmqBinding.
You find that processing every order in its own transaction is causing a delay.
You need to ensure that the service is configured to process multiple orders in one transaction. What should you do?

A.    Use <serviceThrottling> service behavior and set the maxConcurrentCalls attribute.
B.    Use <transactedBatching> endpoint behavior and set the maxBatchSize attribute.
C.    Use <dispatcherSynchronizationBehavior> endpoint behavior and set the
maxPendingReceives attribute.
D.    Use <synchronousReceive> endpoint behavior.

Answer: B

QUESTION 103
You are adding a Windows Communication Foundation (WCF) service to an existing application.
The application is configured as follows. (Line numbers are included for reference only.)
You need to configure the service to publish the service metadata.
Which two actions should you perform? (Each answer presents part of the solution. Choose two.)
1031

A.    Add the following XML segment between lines 10 and 11:
<endpoint address=”” binding=”mexHttpBinding”
contract=”MetadataExchange” />
B.    Add the following XML segment between lines 10 and 11:
<endpoint address=”” binding=”basicHttpBinding”
contract=”MetadataExchange” />
C.    Add the following XML segment between lines 15 and 16:
<serviceDiscovery>
    <anouncementEndpoints>
       <endpoint address=””/>
    </anouncementEndpoints>
</serviceDiscovery>
D.    Add the following XML segment between lines 15 and 16:
<serviceMetadata httpGetEnabled=”true” />

Answer: AD

QUESTION 104
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?

A.    var handler = new CallbackHandler();
var clientFactory = new DuplexChannelFactory<IService>(
new WSHttpContextBinding());
var client = clientFactory.CreateChannel(
new InstanceContext(handler), new EndpointAddress(“…”));
B.    var handler = new CallbackHandler();
var clientFactory = new DuplexChannelFactory<IService>(
typeof(CallbackHandler), new WSDualHttpBinding());
var client = clientFactory.CreateChannel(
new InstanceContext(handler), new EndpointAddress(“…”));
C.    var handler = new CallbackHandler();
var clientFactory = new DuplexChannelFactory<IService>(
new WSHttpBinding());
var client = clientFactory.CreateChannel(
new InstanceContext(handler), new EndpointAddress (“…”));
D.    var handler = new CallbackHandler();
var clientFactory = new DuplexChannelFactory<IService>(
typeof(CallbackHandler), new WSDualHttpBinding());
var client = clientFactory.CreateChannel(
new EndpointAddress(“…”));

Answer: D

QUESTION 105
The endpoint of a Windows Communication Foundation (WCF) service uses basicHttpBinding for its binding.
Your company’s policies have changed to require that messages not be sent in clear text.
You must ensure that all messages are encrypted when traveling across the network.
What should you do?

A.    Set the ProtectionLevel property on the service contract and update the binding attribute in
the endpoint element of the configuration file to wsHttpBinding.
B.    Set the ProtectionLevel property on the service contract and update the bindingConfiguration
attribute in the endpoint element of the configuration file to webHttpBinding.
C.    Set the PrincipalPermissionAttribute on the service contract and update the binding attribute
in the endpoint element of the configuration file to wsHttpBinding.
D.    Set the PrincipalPermissionAttribute on the service contract and update the
bindingConfiguration attribute in the endpoint element of the configuration file to
wsHttpBinding.

Answer: A

QUESTION 106
You are creating a Windows Communication Foundation (WCF) service.
The service endpoints change frequently.
On the service, you add a new ServiceDiscoveryBehavior to the Behaviors collection of the ServiceHost Description property.
You need to ensure that client applications can communicate with the service and discover changes to the service endpoints.
What should you do?

A.    Add a new ServiceDiscoveryBehavior to the Behaviors collection in the client application.
B.    Add a new AnnouncementClient to the Behaviors collection in the client application.
C.    Use the FindCriteria class and the UdpDiscoveryEndpoint class to set up the binding in
the client application.
D.    Use the DiscoveryProxy class and the EndpointDiscoveryMetadata class to set up the
binding in the client application.

Answer: C

QUESTION 107
You are developing an application that performs file backups in the background.
The background application will host a Windows Communication Foundation (WCF) service and must be active as soon as the machine is running.
The background application will not have a user interface.
A front-end application will consume the WCF service and will provide the user interface.
You need to choose a host environment for the WCF service.
Which hosting environment should you choose?

A.    Microsoft Internet Information Services (IIS) 6.0
B.    Windows Process Activation Services (WAS)
C.    a Windows Forms application
D.    a Windows Service

Answer: D

QUESTION 108
You are developing a Windows Communication Foundation (WCF) service.
The service needs to access out-of-process resources.
You need to ensure that the service accesses these resources on behalf of the originating caller. What should you do?

A.    Set the value of ServiceSecurityContext.Current.WindowsIdentity.ImpersonationLevel to
TokenlmpersonationLevel.Impersonation
B.    Set the value of ServiceSecurityContext.Current.Windowsldentity.ImpersonationLevel to
TokenlmpersonationLevel.Delegation
C.    Set the PrincipalPermissionAttribute on the service contract and
update the binding attribute in the endpoint element of the configuration file to wsHttpBinding
D.    Set the PnncipalPermissionAttribute on the service contract and
update the bindingConfiguration attribute in the endpoint element of the configuration file to
wsHttpBinding

Answer: B

QUESTION 109
You are developing a Windows Communication Foundation (WCF) service to provide shopping cart support.
ASP.NET compatibility mode is not enabled.
The shopping cart information must be retained across user visits to the store until the user explicitly empties the cart or submits the cart contents to order.
You need to implement the service as a DurableService.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

A.    Use basicHttpBinding for both the client application and the service.
B.    Create the persistence provider database and configure the persistenceProvider
element of the service behavior to point to that database.
C.    Use wsHttpContextBinding for both the client application and the service.
D.    In the method to add an item to the shopping cart, serialize the shopping cart contents
after adding the current item and storing it in a Session variable.

Answer: BC

QUESTION 110
You have an existing Windows Communication Foundation (WCF) service that exposes a service contract over HTTP.
You need to expose that contract over HTTP and TCP.
What should you do?

A.    Add a net.tcp base address to the host.
B.    Add an endpoint configured with a netTcpBinding.
C.    Add an endpoint behavior named netTcpBehavior to the existing endpoint.
D.    Add a binding configuration to the existing endpoint named netTcpBinding.

Answer: B

GreatExam new released 70-513 dumps PDF are now for free download, download It right now and pass your exam 100%.

2016 Microsoft 70-513 exam dumps (All 341 Q&As) from GreatExam:

http://www.greatexam.com/70-513-exam-questions.html [100% Exam Pass Guaranteed!!!]