24 11 2015
[Braindump2go] Microsoft 70-513 Questions Free Download (211-220)
MICROSOFT NEWS: 70-513 Exam Questions has been Updated Today! Get Latest 70-513 VCE and 70-513 PDF Instantly! Welcome to Download the Newest Braindump2go 70-513 VCE&70-513 PDF Dumps: http://www.braindump2go.com/70-513.html (341 Q&As)
2015 New Updated 70-513 Exam Dumps Questions and Answers are all from Microsoft Official Exam Center! Some new questions added into this new released 70-513 Dumps! Download 70-513 Exam Dumps Full Version Now and Pass one time!
Exam Code: 70-513
Exam Name: TS: Windows Communication Foundation Development with Microsoft .NET Framework 4
Certification Provider: Microsoft
Corresponding Certifications: MCPD, MCPD: Web Developer 4, MCPD: Windows Developer 4, MCTS, MCTS: Microsoft .NET Framework 4, Service Communication Applications
70-513 Dumps PDF,70-513 eBook,70-513 VCE,70-513 PDF,70-513 Latest Dumps,70-513 Certification,70-513 Training Kit PDF,70-513 Braindump,70-513 Exam Dumps,70-513 Exam Book,70-513 Exam PDF,70-513 Exam Book,70-513 Exam Preparation,70-513 Dumps VCE,70-513 Practice Test,70-513 Pracrice Exam,70-513 Preparation Book
QUESTION 211
You 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 10
B. Set logMessageAtServiceLevel to true.
C. Set maxMessagesToLog to 10.
D. Set logMessageAtTransportLevel to true.
Answer: B
QUESTION 212
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 213
You 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 Interface
Which 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.Name
factory.Credentials.UserName.Password = user.Password
Dim socialChannel As ISocialStatus = factory.CreateChannel()
socialChannel.UpdateStatus(newStatus)
End Using
B. Using factory As ChannelFactory(Of ISocialStatus) =
New WebChannelFactory(Of ISocialStatus)(GetType(ISocialStatus))
factory.Credentials.UserName.UserName = user.Name
factory.Credentials.UserName.Password = user.Password
Dim socialChannel As ISocialStatus = factory.CreateChannel()
socialChannel.UpdateStatus(newStatus)
End Using
C. Using factory As ChannelFactory(Of ISocialStatus) =
New ChannelFactory(Of ISocialStatus)(“POST”)
factory.Credentials.Windows.ClientCredential.UserName = user.Name
factory.Credentials.Windows.ClientCredential.SecurePassword.
SetAt( 0, user.Password)
Dim socialChannel As ISocialStatus = factory.CreateChannel()
socialChannel.UpdateStatus(newStatus)
End Using
D. Using factory As WebChannelFactory(Of ISocialStatus) =
New WebChannelFactory(Of ISocialStatus)(GetType(ISocialClient))
factory.Credentials.Windows.ClientCredential.UserName = user.Name
factory.Credentials.Windows.ClientCredential.SecurePassword.
SetAt( 0, user.Password)
Dim socialChannel As ISocialStatus = factory.CreateChannel()
socialChannel.UpdateStatus(newStatus)
End Using
Answer: B
QUESTION 214
You 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”System
Web Application Services Authentication
Service”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 the
enabled attribute to true.
B. In the system web.extensions/scripting/webServices/profileService element, set the enabled
attribute to true.
C. Add a service endpoint with basicHttpBinding for the contract System.WebApplicationServices.
AuthenticationService.
D. Add a custom service behavior named AuthenticationServiceTypeBehaviors with a
serviceAuthenticationManager element that has serviceAuthenticationManagerType set to
System Web Security. SQL Membership Provider
Answer: AC
QUESTION 215
You 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, binaryMessageEncoding
B. transactionFlow, binaryMessageEncoding, windowsStreamSecurity, tcpTransport
C. windowsStreamSecurity, tcpTransport, binaryMessageEncoding, transactionFlow
D. binaryMessageEncoding, transactionFlow, tcpTransport, windowsStreamSecurity
Answer: B
QUESTION 216
You 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 the
MessageBodyMember or MessageHeader attribute to EncryptAndSign.
C. For all the security-sensitive members, set the ProtectionLevel parameter of the
MessageBodyMember or MessageHeader attribute to Sign.
D. Implement ISecureConversationSession in the message contract class.
Answer: C
QUESTION 217
You 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. ICommunicationObject
B. IExtension<T>
C. IExtensibleObject<T>
D. IExtensibleDataObject
Answer: D
QUESTION 218
You 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 219
You 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 Interface
Public Class Person
End Class
Public Class Employee Inherits Person
End Class
Public Class Customer Inherits Person
End Class
You 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 220
You 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 Agent
Public Property CodeName As String
Public Property SecretHandshake As String
End Class
You 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 the
ProtectionLevel to Sign.
Add a MessageBodyMember attribute to the SecretHandshake property and set the
ProtectionLevel to EncryptAndSign.
B. Add a DataProtectionPermission attribute to the each property and set the ProtectData
property to True.
C. Add an XmlText attribute to the CodeName property and set the DataType property to
Signed. Add a PasswordPropertyText attribute to the SecretHandshake property and set its
value to True.
D. Add an ImmutableObject attribute to the CodeName property and set its value property to
True. Add a Browsable attribute to the SecretHandshake property and set its value to False.
Answer: B
Braindump2go New Updated 70-513 Exam Dumps are Complete Microsoft 70-513 Course Coverage! 100% Real Questions and Correct Answers Guaranteed! Updated 70-513 Preparation Material with Questions and Answers PDF Instant Download:
FREE DOWNLOAD: NEW UPDATED 70-513 PDF Dumps & 70-513 VCE Dumps from Braindump2go: http://www.braindump2go.com/70-513.html (341 Q&A)
Braindump2go 2015 New Released 70-513 Practice Exams Dumps Free Download (201-210) [Braindump2go] 70-513 E-Book Free Download (221-230)
Comments are currently closed.