[2016-New] Free Share Of GreatExam 70-513 VCE And PDF Dumps (71-80)

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

100% Free Download! 100% Pass Guaranteed!

Microsoft 70-513 exam is very popular in Microsoft field, many Microsoft candidates choose this exam to add their credentials. There are many resource online to offering Microsoft 70-513 exam questions, through many good feedbacks, we conclude that GreatExam can help you pass your test easily with Microsoft 70-513 exam questions. Choose GreatExam to get your Microsoft 70-513 certification.

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

QUESTION 71
Drag and Drop Question
You are developing a Windows Communication Foundation (WCF) service that contains a method named ProcessPayments.
The service is hosted in Internet Information Services (IIS).
You have the following requirements:
– Create a new instance of the service every time that a client application calls the ProcessPayments method.
– Process every call from client applications one at a time.
You need to complete the code for the WCF service.
Which four code segments should you use in sequence? (To answer, move the appropriate code segments from the list of code segments to the answer area and arrange them in the correct order.)

711
Answer:
712

QUESTION 72
A Windows Communication Foundation (WCF) application exposes a service as a SOAP endpoint for consumption by cross-platform clients.
During integration testing, you find that one of the clients is not generating the correct messages to the WCF application.
In order to debug the issue and fix the communication, you need to configure the service to log messages received from the client.
What should you do?

A.    Set an etwTracking behavior on the service and configure a listener for the
System.ServiceModel trace source.
B.    Set an etwTracking behavior on the service and configure a listener for the
System.ServiceModel.MessageLogging trace source.
C.    Enable messageLogging in the System.ServiceModel diagnostics element configuration and
configure a listener for the System.ServiceModel.MessageLogging trace source.
D.    Enable messageLogging in the System.ServiceModel diagnostics element configuration and
configure a listener for the System.ServiceModel trace source.

Answer: C

QUESTION 73
You are creating a Windows Communication Foundation (WCF) service that is implemented as follows.(Line numbers are included for reference only.)
01 [ServiceContract]
02 [ServiceBehavior(IncludeExceptionDetailsInFaults = true)]
03 public class OrderService
04 {
05     [OperationContract]
06     public void SubmitOrder(Order anOrder)
07     {
08         try
09         {
10             …
11         }
12         catch(DivideByZeroException ex)
13         {
14             …
15         }
16     }
17 }
You need to ensure that the stack trace details of the exception are not included in the error information sent to the client.
What should you do?

A.    Replace line 14 with the following line:
throw;
B.    Replace line 14 with the following line:
throw new FaultException<Order>(anOrder, ex.ToString());
C.    After line 05, add the following line:
[FaultContract(typeof(FaultException<Order>))]
Replace line 14 with the following line:
throw ex;
D.    Alter line 05, add the following line:
[FaultContract(typeof(FaultException<Order>))]
Replace line 14 with the following line:
throw new FaultException<Order>(anOrder, “Divide by zero exception”);

Answer: D

QUESTION 74
You develop an ASP.NET web application that is hosted in the virtual directory named SecureApp.
The web application uses the ASP.NET membership provider.
The application pool for the website uses the dedicated domain account named MyDomain\WebServiceAccount.
The web.config file contains the connectionStrings element.
You need to secure the connectionStrings element for the web application.
Which of the following two commands must you run at a command prompt? (Each correct answer presents part of the solution. Choose two.)

A.    aspnet_regiis -pe “connectionStrings” -app “MyDomain\WebServiceAccount”
B.    aspnet_regiis -pe “connectionStrings” -app “/SecureApp”
C.    aspnet_regsql -pa “NetFrameworkConfigurationKey” “MyDomain\WebServiceAccount”
D.    aspnet_regiis -pa “NetFrameworkConfigurationKey” “MyDomain\WebServiceAccount”

Answer: BD
Explanation:
B (not A):
– aspnet_regiis –pe section
Encrypts the specified configuration section.
This argument takes the following optional modifiers:
-prov provider Specifies the encryption provider to use.
-app virtualPath Specifies that encryption should occur at the level of the included path.
-location subPath Specifies the subdirectory to encrypt.
-pkm Specifies that the Machine.config file should be encrypted instead of the Web.config file
D:
– Before ASP.NET can decrypt encrypted information in the Web.config file, the identity of your ASP.NET application must have read access to the encryption key that is used to encrypt and decrypt the encrypted sections.
The RSA key container that is used by the default RsaProtectedConfigurationProvider provider is named “NetFrameworkConfigurationKey”.
– aspnet_regiis –pa container account
Grants permission for the specified user or group account to access the specified key container. This argument takes the following optional modifiers:
-pku Substitutes a user-specified container for the default machine container.
-csp provider Specifies the container provider to use.
-full Specifies that full access should be added, rather than the default read-only access.
Incorrect:
Not C: The ASP.NET SQL Server Registration tool is used to create a Microsoft SQL Server database for use by the SQL Server providers in ASP.NET, or to add or remove options from an existing database.

QUESTION 75
A client application calls a Windows Communication Foundation (WCF) service with a proxy class that was generated by Visual Studio.
The service binding was changed from wsHttpBinding to basicHttpBinding.
The method signatures in the service contract are changed.
After these changes, the client application receives errors when calling methods on the service.
You need to ensure that the client can invoke methods on the service successfully.
What should you do?

A.    Update the configuration file to use basicHttpBinding.
B.    Enable anonymous authentication for the service.
C.    Copy the configuration file elements under the <system.serviceModel> element from the
service back to the client.
D.    Update the service reference.

Answer: D

QUESTION 76
You are developing a Windows Communication Foundation (WCF) service.
You enable message logging, trace listeners, activity propagation, and tracing on the trace sources.
You have the following code segment in the client application. (Line numbers are included for reference only.)
761
You encounter errors when your client application consumes the service.
You need to ensure that your client application can correlate tracing information with the service.
Which code segment should you add at line 04?
762

A.    Option A
B.    Option B
C.    Option C
D.    Option D

Answer: C

QUESTION 77
Drag and Drop Question
You use Visual Studio to develop a Windows Communication Foundation (WCF) service.
The service is not hosted.
You cannot use the WcfTestClient.exe tool to test the service.
You need to test the service from a separate Visual Studio solution that contains a simple console application.
Which four actions should you perform in sequence? (To answer, move the appropriate four actions from the list of actions to the answer area and arrange them in the correct order.)
771
Answer:
772

QUESTION 78
You are developing a Windows Communication Foundation (WCF) REST service to provide access to a library book catalog.
The following code segment defines the service contract. (Line numbers are included for reference only.)
Library patrons want the ability to search the catalog by title.
You need to ensure that the GetBookByTitle method is exposed as a service method.
Which code segment should you insert at line 05?
781

A.    [WebGet(UriTemplate = “Book/{title}”)]
B.    [WebGet(UriTemplate = “BookByTitle/{title}”)]
C.    [WebGet(UriTemplate = “Book/{titleToSearch}”)]
D.    [WebGet(UriTemplate = “{titleToSearch}”)]

Answer: B

QUESTION 79
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 80
A 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

Microsoft 70-513 exam questions are available in PDF and VCE format. This makes it very convenient for you to follow the course and study the exam whenever and wherever you want. The Microsoft 70-513 exam questions follow the exact paper pattern and question type of the actual 70-513 certification exam, it lets you recreate the exact exam scenario, so you are armed with the correct information for the 70-513 certification exam.

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!!!]