This page was exported from Free Download Lead2pass VCE And PDF Dumps [ http://www.pass4sureshared.com ]
Export date: Wed Jul 17 7:16:33 2019 / +0000 GMT

[2016-New] GreatExam Free 70-513 Exam Preparation Download 100% Pass 70-513 Exam (31-40)



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

100% Free Download! 100% Pass Guaranteed!

Now our GreatExam is one step ahead in providing updated real exam dumps for Microsoft 70-513. We give full exam passing guarantee. Buy Microsoft 70-513 dumps and get Microsoft certified.

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

QUESTION 31

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.    For all the security-sensitive members, set the ProtectionLevel parameter of the

MessageBodyMember or MessageHeader attribute to EncryptAndSign.

B.    Implement IEndpointldentityProvider in the message contract class.

C.    Implement ISecureConversationSession in the message contract class.

D.    For all the security-sensitive members, set the ProtectionLevel parameter of the

MessageBodyMember or MessageHeader attribute to Sign.

Answer: D

QUESTION 32

You are creating a Windows Communication Foundation (WCF) service that implements operations in a RESTful manner.

You need to add a delete operation

You implement the delete method as follows. string oid Deleteltems(string id);

You need to configi.re WCF to ci this method when the client calls the service with the HTTP DRETE operation

What should you do?

A.    Add the Weblnvoke(UriTemplate = "/Items/(idy,

Method="DELETE") attribute to the operation

B.    Add the HttpDelete tribute to the operation

C.    Replace the sting parameter with a RemovedActivityAction parameter

D.    Replace the return type with RemovedActivityktion.

Answer: A

QUESTION 33

You 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?

331

A.    [WebInvolce(ResponseFormat = WebMessageFormat.Xml, BodyStyle =

WebMessageBodyStyle.Wrapped)]

B.    [WebInvoice (ResponseFormat = WebMessageFormat.Xml, BodyStyle =

WebMessageBodyStyle .Bare) ]

C.    [WebInvolce (Method= "POST") ]

D.    [WebInvoice]

Answer: A

QUESTION 34

An existing Windows Communication Foundation (WCF) service uses basicHttpBinding.

You are releasing updates to the service and the client application.

You need to enable the client application to flow transactions to the service.

What are two possible ways to achieve this goal? (Each correct answer presents a complete solution. Choose two.)

A.    Change to a custom binding that has the httpTransport, textMessageEndcoding, and

transactionFlow binding elements in this order.

B.    Change to a custom binding that has the transactionFlow, textMessageEncoding, and

httpTransport binding elements in this order.

C.    Change the binding to use wsHttpBinding.

D.    Change the binding to use basicHttpContextBinding.

Answer: BC

QUESTION 35

You 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:

var client = new TranvelServiceClient();

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(GetFlightCallback, null);

client.GetFlight();

B.    client.GetFlight();

client.BeginGetFlight(GetFlightCallback, null);

C.    client.GetFlightCompleted +=

new EventHandler<GetFlightCompletedEventArgs>(

GetFlightCallback);

client.GetFlightAsync();

D.    IAsyncResult asyncResult = client.BeginGetFlight(

GetFlightCallback, client);

client.EndGetFlight(asyncResult);

Answer: C

QUESTION 36

You are developing a Windows Communication Foundation (WCF) service to provide an in-memory cache for many Web applications.

The service contract is defined as follows. (Line numbers are included for reference only.)

You need to ensure that all users share the cache.

Which code segment should you insert at line 07?

361

A.    [ServiceBehavior(TransactionIsolationLevel =

IsolationLevel.RepeatableRead)]

B.    [ServiceBehavior(InstanceContextMode =

InstanceContextMode.Single)]

C.    [ServiceBehavior(InstanceContextMode =

InstanceContextMode.PerSession)]

D.    [ServiceBehavior(TransactionIsolationLevel =

IsolationLevel.ReadComitted)]

Answer: B

QUESTION 37

A Windows Communication Foundation (WCF) solution exposes the following service over a TCP binding.(Line numbers are included for reference only.)

01 [ServiceContract]

02 [ServiceBehavior(ConcurrencyMode = ConcurrencyMode.Multiple)]

03 public class DataAccessService

04 {

05 [OperationContract]

06 public void PutMessage(string message)

07 {

08 MessageDatabase.PutMessage(message);

09 }

10 [OperationContract]

11 pubic string[] SearchMessages(string search)

12 {

13 return MessageDatabase.SearchMessages(search);

14 }

15 }

MessageDatabase supports a limited number of concurrent executions of its methods.

You need to change the service to allow up to the maximum number of executions of the methods of MessageDatabase.

This should be implemented without preventing customers from connecting to the service.

What should you do?

A.    Change the service behavior as follows.

[ServiceBehavior(ConcurrencyMode = ConcurrencyMode.Multiple,

InstanceContextMode = InstanceContextMode.Single)]

B.    Change the service behavior as follows.

[ServiceBehavior(ConcurrencyMode = ConcurrencyMode.Single,

InstanceContextMode = InstanceContextMode.PerSession)]

C.    Add a throttling behavior to the service, and configure the maxConcurrentCalls.

D.    Add a throttling behavior to the service, and configure the maxConcurrentSessions.

Answer: C

QUESTION 38

You are developing a Windows Communication Foundation (WCF) service.

You need to enable security auditing for all events.

What should you do?

A.    Set the serviceAuthorizationAuditLevel setting to Success and the

messageAuthenticationAuditLevel setting to Success.

B.    Set the messageAuthenticationAuditLevel setting to Success and the auditLogLocation

setting to Application.

C.    Set the serviceAuthorizationAuditLevel setting to SuccessAndFailure and the

messageAuthenticationAuditLevel setting to SuccessAndFailure.

D.    Set the messageAuthenticationAuditLevel setting to SuccessAndFailure and the

auditLogLocation setting to Security.

Answer: C

QUESTION 39

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 40

You are hosting a Windows Communication Foundation (WCF) service at http://www.contoso.com for a law enforcement agency.

The agency adds operations to support sending biometric fingerprint data via non-buffered streaming. The service data is not routed between intermediaries.

The WCF binding you are using by default does not support encryption.

You need to ensure that fingerprint data is not disclosed when it is passed over the network.

What should you do?

A.    Use basicHttpBinding with message security to https://www.contoso.com.

B.    Use basicHttpBinding over transport security at https://www.contoso.com.

C.    Use wsHttpBinding over message security at https://www.contoso.com.

D.    Use wsHttpBinding over transport security at http://www.contoso.com.

Answer: B

The 70-513 braindumps are the latest, authenticated by expert and covering each and every aspect of 70-513 exam. Comparing with others, our exam questions are rich in variety. We offer PDF dumps, 70-513 practice test and 70-513 VCE dumps. Welcome to choose.

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

 

 


Post date: 2016-06-06 02:02:47
Post date GMT: 2016-06-06 02:02:47
Post modified date: 2016-06-06 08:18:16
Post modified date GMT: 2016-06-06 08:18:16

Powered by [ Universal Post Manager ] plugin. MS Word saving format developed by gVectors Team www.gVectors.com