2014 Latest Pass4sure&Lead2pass Microsoft 70-513 Dumps (11-20)

QUESTION 11
A Windows Communication Foundation (WCF) solution uses two services to manage a shopping cart.
Service A processes messages containing line items that total between $0 and $500.
Service B processes messages containing line items that total more than $500. All messages are of equal importance to the business logic.
You need to route incoming messages to the appropriate services by using WCF routing.
Which two message filters should you add to the router? (Each correct answer presents part of the solution. Choose two.)

A.    a message filter with a priority of 100 that will forward messages that total between $0 and $500 to
Service A
B.    a message filter with a priority of 0 that will forward messages that total between $0 and $500 to Service A
C.    a message filter with a priority of 0 that will forward all messages to Service B
D.    a message filter with a priority of 100 that will forward all messages to Service B

Answer: AC

QUESTION 12
You have an existing Windows Communication Foundation (WCF) service. You need to ensure that other services are notified when the service is started.
What should you do?

A.    Add the following standard endpoint to the service.
<endpoint name=”udpAnnouncementEndpoint” kind=”udpDiscoveryEndpoint” />
B.    Add the following standard endpoint to the service.
<endpoint name=”udpDiscoveryEndpoint” kind=”udpAnnouncementEndpoint” />
C.    Add a service behavior with the following element.
<serviceDiscovery>
<announcementEndpoints>
<endpoint kind=”udpDiscoveryEndpoint” />
</announcementEndpoints>
</serviceDiscovery>
D.    Add a service behavior with the following element.
<serviceDiscovery>
<announcementEndpoints>
<endpoint kind=”udpAnnouncementEndpoint” />
</announcementEndpoints>
</serviceDiscovery>

Answer: D

QUESTION 13
You are developing a Windows Communication Foundation (WCF) service that reads messages from a public non-transactional MSMQ queue.
You need to configure the service to read messages from the failed-delivery queue.
Which URI should you specify in the endpoint configuration settings of the service?

A.    net.msmq://localhost/msmq$FailedMessages
B.    net.msmq://localhost/msmq$DeadLetter
C.    net.msmq://localhost/system$DeadXact
D.    net.msmq://localhost/system$DeadLetter

Answer: D

QUESTION 14
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

QUESTION 15
You have an existing Windows Communication Foundation (WCF) Web service. The Web service is not responding to messages larger than 64 KB.
You need to ensure that the Web service can accept messages larger than 64 KB without generating errors. What should you do?

A.    Increase the value of maxReceivedMessageSize on the endpoint binding.
B.    Increase the value of maxRequestLength on the httpRuntime element.
C.    Increase the value of maxBufferSize on the endpoint binding.
D.    Increase the value of maxBufferPoolSize on the endpoint binding.

Answer: A

QUESTION 16
A Windows Communication Foundation (WCF) service is responsible for transmitting XML documents between systems.
The service has the following requirements:
It must minimize the transmission size by attaching the XML document as is without using escape characters or base64 encoding.
It must interoperate with systems that use SOAP but are not built on the .NET plafform.
You need to configure the service to support these requirements. Which message encoding should you use?

A.    Binary message encoding
B.    MTOM (Message Transmission Optimization Mechanism) message encoding
C.    Text message encoding with message version set to none
D.    Text message encoding with message version set to SOAP 1.2

Answer: B

QUESTION 17
You are moving a Windows Communication Foundation (WCF) service into production. You need to be able to monitor the health of the service.
You only want to enable all performance counter instances exposed by the ServiceModelService counter group.
Which element should you add to the system.serviceModel section in the application configuration file?

A.    <diagnostics performanceCounters=”ServiceOnly” />
B.    <diagnostics wmiProviderEnabled=”true” performanceCounters=”Off” />
C.    <diagnostics performanceCounters=”All” />
D.    <diagnostics wmiProviderEnabled=”true” />

Answer: A

QUESTION 18
Four Windows Communication Foundation (WCF) services are hosted in Microsoft Internet Information Services (IIS). No behavior configuration exists in the web.config fiIe. You need to configure the application so that every service and endpoint limits the number of concurrent calls to 50 and the number of concurrent sessions to 25.
Which XML segment should you add to the system.serviceModel configuration section of the web.config file?

A.    <behaviors>
<serviceBehaviors>
<behavior name=”*”>
<serviceThrottling maxConcurrentCalls=”50″ maxConcurrentSessions=”25″/>
</behavior>
</serviceBehaviors>
</behaviors>
B.    <behaviors>
<serviceBehaviors>
<behavior name=”default”>
<serviceThrottling maxConcurrentCalls=”50″ maxConcurrentSessions=”25″/>
</behavior>
</serviceBehaviors>
</behaviors>
C.    <behaviors>
<serviceBehaviors>
<behavior name=””>
<serviceThrottling maxConcurrentCalls=”50″ maxConcurrentSessions=”25″/>
</behavior>
</serviceBehaviors>
</behaviors>
D.    <behaviors>
<serviceBehaviors>
<behavior name=”ALL”>
<serviceThrottling maxConncurentCalls=”50″ maxConcurrentSessions=”25″ />
</behavior>
</serviceBehaviors>
</behaviors>

Answer: C

QUESTION 19
Windows Communication Foundation (WCF) service is self-hosted in a console application.
The service implements the lTimeService service interface in the TimeService class.
You need to configure the service endpoint for HTTP communication. How should you define the service and endpoint tags?

A.    Define the service tag as follows:
<service name=”TimeService”>
Define the endpoint tag as follows:
<endpoint kind=”TimeService” address=”http://localhost:8080/TimeService”
binding=”wsHttpBinding” contract=”ITimeService”/>
B.    Define the service tag as follows:
<service name=”TimeService”>
Define the endpoint tag as follows:
<endpoint kind=”ITimeService” address=”http://localhost:8080/TimeService”
binding=”wsHttpBinding” contract=”ITimeService” />
C.    Define the service tag as follows:
<service name=”ITimeService”>
Define the endpoint tag as follows:
<endpoint name=”TimeService” address=”http://localhost:8080/TimeService”
binding=”wsHttpBinding” contract=”ITimeService”/>
D.    Define the service tag as follows:
<senvice name=”TimeService”>
Define the endpoint tag as follows:
<endpoint address=”http://localhost:8080/TimeService”
binding=”wsHttpBinding” contract=”ITimeService”/>

Answer: D

QUESTION 20
Windows Communication Foundation (WCF) service will be hosted in Microsoft Internet Information Services (IIS).
You create a new application in IIS to host this service and copy the service DLL to the bin directory of the application.
You need to complete the deployment of this service to IIS. What should you do next?

A.    Create an asmx file and add a @ServiceHost directive to this file.
Copy the file to the root of the application directory.
B.    Create an .asmx file and add a @Register directive to this file.
Copy the file to the bin directoyy of the application.
C.    Create a svc file and add a @ServiceHost directive to this file.
Copy the file to the root of the application directory.
D.    Create a .svc file and add a @Register directive to this file.
Copy the file to the bin directory of the application.

Answer: C

If you want to pass Microsoft 70-513 successfully, donot missing to read latest lead2pass Microsoft 70-513 practice tests.
If you can master all lead2pass questions you will able to pass 100% guaranteed.

http://www.lead2pass.com/70-513.html

         

Comments are closed.