This page was exported from Offering New Exam PDF And Exam VCE Dumps For Free Downloading [ http://www.ipass4suredumps.com ] Export date:Sat Oct 19 2:24:52 2019 / +0000 GMT ___________________________________________________ Title: [2016-New] Free GreatExam 70-513 PDF Guarantee 100% Get 70-513 Certification (181-190) --------------------------------------------------- 2016 June Microsoft Official New Released 70-513 Q&As in GreatExam.com! 100% Free Download! 100% Pass Guaranteed! This dump is valid to pass Microsoft 70-513. And don't just memorize the answer, you need to get through understanding of it because the question changed a little in the real exam. The material is to supplement your studies. Following questions and answers are all new published by Microsoft Official Exam Center: (The full version is in the end of the article!!!) QUESTION 181A self-hosted Windows Communication Foundation (WCF) service uses a secure HTTP binding with a custom principal permission mode.The binding requires users to provide their Windows logon credentials.You need to retrieve the identity of the caller.What are two possible properties you can use to achieve this goal? (Each correct answer presents a complete solution Choose two) A.    Thread.CurrentPrincipal.Identity.NameB.    HttpContext.Current.User.Identity.NameC.    ServiceSecurityContext.Current.PrimaryIdentity.NameD.    OperationContext.Current.ServiceSecurityContext.PrimaryIdentity.Name Answer: CD QUESTION 182You 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)01 <configuration>02 <system.serviceModel>03 <services>04 <service name="Contoso.Sales.Stock.Service"05 behaviorConfiguration="MetadataBehavior">06 <host>07 <baseAddresses>08 <add baseAddress="http://contosso.com:8080/StockService" />09 </baseAddresses>10 </host>11 </service>12 </services>13 <behaviors>14 <serviceBehaviors>15 <behavior name="MetadataBehavior">16 </behavior>17 </serviceBehaviors>18 </behaviors>19   ...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.) 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 183A Windows Communication Foundation (WCF) service interacts with the database of a workflow engine.Data access authorization is managed by the database, which raises security exceptions if a user is unauthorized to access it.You need to ensure that the application transmits the exceptions raised by the database to the client that is calling the service.Which behavior should you configure and apply to the service? A.    routingB.    serviceDebugC.    serviceSecurityAuditD.    workflowUnhandledException Answer: B QUESTION 184You 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 4.0.0.0 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 185You are developing a Windows Communication Foundation (WCF) service.The service operation takes a customer number as the only argument and returns information about the customer.The service requires a security token in the header of the message.You need to create a message contract for the service.Which code segment should you use? A.    [ServiceContract]public interface IService{[OperationContract]CustomerInformation GetCustomerInformation(Header header,int customerNumber);}[DataContract]public class CustomerInformation{...}[MessageContract]public class Header{[MessageHeader]public string SecurityTag;}B.    [ServiceContract]public interface IService{[OperationContract]CustomerInformation GetCustomerInformation(Header header,int customerNumber);}[MessageContract]public class CustomerInformation{...}[MessageContract]public class Header{[MessageHeader]public string SecurityTag;}C.    [ServiceContract]public interface IService{[OperationContract]CustomerInformation GetCustomerInformation(CustomerNumber request);}[DataContract]public class CustomerInformation{...}[MessageContract]public class CustomerNumber{[MessageHeader]public string SecurityTag;[MessageBodyMember]public int CustomerNumberElement;}D.    [ServiceContract]public interface IService{[OperationContract]CustomerInformation GetCustomerInformation(CustomerNumber request);}[MessageContract]public class CustomerInformation{...}[MessageContract]public class CustomerNumber{[MessageHeader]public string SecurityTag;[MessageBodyMember]public int CustomerNumberElement;} Answer: D QUESTION 186You 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.Dim client As TravelServiceClient = New TravelServiceClient()You need to ensure that a callback is received when the GetFlight operation is called asynchronously.Which code segment should you use? A.    client.BeginGetFlight(AddressOfGetFlightCallback, Nothing) client.GetFlight()B.    client.GetFlight()client.BeginGetFlight(AddressOf GetFlightCallback, Nothing)C.    AddHandler client.GetFlightCompleted,New EventHandler(Of GetFlightCompletedEventArgs)(AddressOf GetFlightCallback)client.GetFlightAsync()D.    Dim asyncResult As IAsyncResult = client.BeginGetFlight( AddressOf GetFlightCallback, client)client.EndGetFlight(asyncResult) Answer: D QUESTION 187You are creating a windows Communication Foundation (WCF) service to process orders.The data contract for the order is defined as follows:[DataContract]>public class Order{[DataMemberl ()>public string CardHolderName { get; set;[DataMember] >public string CreditCardNumber { get; set; })You have the following requirements:- Enable the transmission of the contents of Order from the clients to the service.- Ensure that the contents of CreditCardNumber are not sent across the network in clear text.- Ensure that the contents of CreditCardNumber are accessible by the service to process the order.You need to implement the service to meet these requirementsWhat should you do? A.    Add a DataProtectionPermission attribute to the CreditCardNumber property and set theProtectData property to true.B.    Convert the DataContract to a MessageContract and set the ProtectionLevel property toSignAndEncryptC.    Change the data type of CreditCardNumber from string to SecureStringD.    Implement the CreditCardNumber property getter and setter In the setter, run the value ofthe CreditCardNumber through the MD5CryptoServiceProvider class TransformBlock method Answer: B QUESTION 188You develop a Windows Communication Foundation (WCF) RESTful service that provides media streaming services.The service includes the following code. (Line numbers are included for reference only.)The service must return an XML response.You need to apply the correct attribute to AddMediaTitle method.Which code segment should you insert at line 05? A.    <WebInvoke(Method:= "POST")>B.    <WebInvoice (ResposeFormat:=WebMessageFormat .Xml,BodyStyle :=WebMessageBodyStyle.Bare) >C.    <WebInvoke()>D.    <WebInvoice(ResponseFormat :=WebMessageFormat.Xml,BodyStyle:=WebMessageBodyStyle.Wrapped)> Answer: D QUESTION 189An 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 totrue.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 190You have a Windows Communication Foundation (WCF) service that uses multiple endpoints. The configuration file for the service contains the following XML markup:<source name="System.ServiceModer switchValue= "Verbose, ActivityTracing">One of the service endpoints throws an exception.You need to correlate every call to the service to identify the source of the exception.In the configuration file for the service, what should you do? A.    In the diagnostic section, set the value of the propagateActivity attribute to false.B.    In the diagnostic section, set the value of the propagateActivity attribute to true.C.    Change the value of the switchValue attribute to Critical.D.    Change value of the switchValue attribute to Error. Answer: A About 90% questions are from this 70-513 dump. One thing you need to pay attention is the questions are rephrased in the real 70-513 exam. And btw selections are jumbled so you must remember the answer itself not the letter of choice. 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!!!] --------------------------------------------------- Images: http://examgod.com/geimages/331b40c6ab29_82C7/1881_thumb.jpg --------------------------------------------------- --------------------------------------------------- Post date: 2016-06-08 00:56:25 Post date GMT: 2016-06-08 00:56:25 Post modified date: 2016-06-08 00:56:25 Post modified date GMT: 2016-06-08 00:56:25 ____________________________________________________________________________________________ Export of Post and Page as text file has been powered by [ Universal Post Manager ] plugin from www.gconverters.com