This page was exported from Lead2pass 100% Valid Exam Questions PDF Free Download [ https://www.testkingshared.com ] Export date:Sun Jan 24 9:05:53 2021 / +0000 GMT ___________________________________________________ Title: [2016-New] Official Microsoft 70-513 Exam Preparation Download From GreatExam (211-220) --------------------------------------------------- 2016 June Microsoft Official New Released 70-513 Q&As in GreatExam.com! 100% Free Download! 100% Pass Guaranteed! 70-513 dumps free share: GreatExam presents the highest quality of 70-513 exam practice test which helps candidates to pass the 70-513 exams in the first attempt. Following questions and answers are all new published by Microsoft Official Exam Center: (The full version is in the end of the article!!!) QUESTION 211You are debugging a Windows Communication Foundation (WCF) service.The service uses signed and encrypted messages.You need to configure logging so that you can read the contents of the messages.What should you do? A.    Set maxSizeMessagesToLog to 10B.    Set logMessageAtServiceLevel to true.C.    Set maxMessagesToLog to 10.D.    Set logMessageAtTransportLevel to true. Answer: B QUESTION 212Your 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 themaxPendingReceives attribute.D.    Use <synchronousReceive> endpoint behavior. Answer: B QUESTION 213You are developing an application to update a user s social status.You need to consume the service using Windows Communication Foundation (WCF).The client configuration is as follows.<system.serviceModel><bindings><webHttpBinding><binding name="SocialConfig"><security mode="TransportCredentialOnly"><transport clientCredentialType="Basic"realm="Social API" /></security></binding></webHttpBinding></bindings><client><endpoint address= " http:// contoso .com "binding="webHttpBinding"bindingConfiguration="SocialConfig"contract="ISocialStatus"name="SocialClient" /></client></system.serviceModel>The service contract is defined as follows.<ServiceContract()>Public Interface ISocialStatus<OperationContract()><WebInvoke(UriTemplate:="/statuses/update.xmlstatus={text}")>Sub UpdateStatus(ByVal text As String)End InterfaceWhich code segment should you use to update the social status? A.    Using factory As WebChannelFactory(Of ISocialStatus) =New WebChannelFactory(Of ISocialStatus)("SocialClient")factory.Credentials.UserName.UserName = user.Namefactory.Credentials.UserName.Password = user.PasswordDim socialChannel As ISocialStatus = factory.CreateChannel()socialChannel.UpdateStatus(newStatus)End UsingB.    Using factory As ChannelFactory(Of ISocialStatus) =New WebChannelFactory(Of ISocialStatus)(GetType(ISocialStatus))factory.Credentials.UserName.UserName = user.Namefactory.Credentials.UserName.Password = user.PasswordDim socialChannel As ISocialStatus = factory.CreateChannel()socialChannel.UpdateStatus(newStatus)End UsingC.    Using factory As ChannelFactory(Of ISocialStatus) =New ChannelFactory(Of ISocialStatus)("POST")factory.Credentials.Windows.ClientCredential.UserName = user.Namefactory.Credentials.Windows.ClientCredential.SecurePassword.SetAt( 0, user.Password)Dim socialChannel As ISocialStatus = factory.CreateChannel()socialChannel.UpdateStatus(newStatus)End UsingD.    Using factory As WebChannelFactory(Of ISocialStatus) =New WebChannelFactory(Of ISocialStatus)(GetType(ISocialClient))factory.Credentials.Windows.ClientCredential.UserName = user.Namefactory.Credentials.Windows.ClientCredential.SecurePassword.SetAt( 0, user.Password)Dim socialChannel As ISocialStatus = factory.CreateChannel()socialChannel.UpdateStatus(newStatus)End Using Answer: B QUESTION 214You are creating an ASP NET web application that hosts several Windows Communication Foundation (WCF) services the services have ASP.NET Compatibility Mode enabled.Users authenticate with the Web application by using a cookie-based ASR NET Forms Authentication model.You add a service tile named Authentication. svc that contains the following code segment:<%@ SenviceHost Servicee"SystemWeb Application Services AuthenticationService"Factory="System.Web.ApplicationServices.AppicationServicesHostFactory' %>.You need to ensure that users can access the WCF services without having to re- authenticate.Which two configuration settings should you add? (Each is part of a complete solution. Choose two.) A.    In the system web.extensions/scripting/webServices/authenticationService element, set theenabled attribute to true.B.    In the system web.extensions/scripting/webServices/profileService element, set the enabledattribute to true.C.    Add a service endpoint with basicHttpBinding for the contract System.WebApplicationServices.AuthenticationService.D.    Add a custom service behavior named AuthenticationServiceTypeBehaviors with aserviceAuthenticationManager element that has serviceAuthenticationManagerType set toSystem Web Security. SQL Membership Provider Answer: AC QUESTION 215You are creating a Windows Communication Foundation (WCF) service.You have the following requirements:- Messages must be sent over TCP- The service must support transactions.- Messages must be encoded using a binary encoding- Messages must be secured using Windows stream-based security.You need to implement a custom binding for the service.In which order should the binding stack be configured? A.    tcpTransport, windowsStreamSecurity, transactionFlow, binaryMessageEncodingB.    transactionFlow, binaryMessageEncoding, windowsStreamSecurity, tcpTransportC.    windowsStreamSecurity,  tcpTransport, binaryMessageEncoding, transactionFlowD.    binaryMessageEncoding, transactionFlow, tcpTransport, windowsStreamSecurity Answer: B QUESTION 216You are developing a Windows Communication Foundation (WCF) service.One of the parameters used with the service operations is a security token.The security token is not sensitive.The monitoring software tracks security tokens and can read tokens in clear text only.The company security policy requires that you validate all clear text data passed over the corporate network.You need to ensure that the service verifies that the security token is not changed during transit.What should you do? A.    Implement IEndpointldentityProvider in the message contract class.B.    For all the security-sensitive members, set the ProtectionLevel parameter of theMessageBodyMember or MessageHeader attribute to EncryptAndSign.C.    For all the security-sensitive members, set the ProtectionLevel parameter of theMessageBodyMember or MessageHeader attribute to Sign.D.    Implement ISecureConversationSession in the message contract class. Answer: C QUESTION 217You 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? A.    ICommunicationObjectB.    IExtension<T>C.    IExtensibleObject<T>D.    IExtensibleDataObject Answer: D QUESTION 218You are developing a Windows Communication Foundation (WCF) service that does not operate on a duplex channel.You find that operations do not start until all previous operations have finished.The service hosting code contains the following lines.Dim service = New WarehouseService()Dim hose = New ServiceHost(service)You need to ensure that new operations do not wait for previous operations to finish.Which attribute should you use to decorate the service? A.    <ServiceBehavior(InstanceContextMode:=InstanceContextMode.Single,ConcurrencyMode:=ConcurrencyMode.Single) >B.    <CallbackBehavior(ConcurrencyMode:=ConcurrencyMode.Multiple)>C.    <ServiceBehavior(InstanceContextMode:=InstanceContextMode.Single,ConcurrencyMode:=ConcurrencyMode.Reentrant)>D.    <ServiceBehovior(InstanceContextMode:=InstanceContextMode.Single,ConcurrencyMode:=ConcurrencyMode.Multiple)> Answer: D QUESTION 219You are developing a Windows Communication Foundation (WCF) service that contains the following service contract.<ServiceContract() >Public Interface IPaymentService<OperationContract() >Sub RecordPayments(ByVal person As Person)End InterfacePublic Class PersonEnd ClassPublic Class Employee Inherits PersonEnd ClassPublic Class Customer Inherits PersonEnd ClassYou need to ensure that RecordPayments can correctly deserialize into an Employee or a Customer object.What should you do? A.    Add the following KnownType attribute to the Employee class and to the Customer class.<KnownType(GetType(Person))>B.    Implement the IExtensibleDataObject interface in the Person class.C.    Implement the IExtension(Of T) interface in the Person class.D.    Add the following KnownType attributes to the Person class.<KnownType(GetType(Employee))><KnownType(GetType(Customer))> Answer: D QUESTION 220You are creating a Windows Communication Foundation (WCF) service that accepts messages from clients when they are started.The message is defined as follows.<MessageContract()>Public Class AgentPublic Property CodeName As StringPublic Property SecretHandshake As StringEnd ClassYou have the following requirements:- The CodeName property must be sent in clear text.- The service must be able to verify that the property value was not changed after being sent by the client.- The SecretHandshake property must not be sent in clear text and must be readable by the service.What should you do? A.    Add a MessageBodyMember attribute to the CodeName property and set theProtectionLevel to Sign.Add a MessageBodyMember attribute to the SecretHandshake property and set theProtectionLevel to EncryptAndSign.B.    Add a DataProtectionPermission attribute to the each property and set the ProtectDataproperty to True.C.    Add an XmlText attribute to the CodeName property and set the DataType property toSigned. Add a PasswordPropertyText attribute to the SecretHandshake property and set itsvalue to True.D.    Add an ImmutableObject attribute to the CodeName property and set its value property toTrue. Add a Browsable attribute to the SecretHandshake property and set its value to False. Answer: B GreatExam is now offering GreatExam 70-513 PDF dumps with 100% passing guarantee. Use GreatExam 70-513 PDF and pass your exam easily. Download Microsoft 70-513 exam dumps and prepare for 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!!!] --------------------------------------------------- Images: --------------------------------------------------- --------------------------------------------------- Post date: 2016-06-07 09:10:40 Post date GMT: 2016-06-07 09:10:40 Post modified date: 2016-06-07 09:10:40 Post modified date GMT: 2016-06-07 09:10:40 ____________________________________________________________________________________________ Export of Post and Page as text file has been powered by [ Universal Post Manager ] plugin from www.gconverters.com