PrepAway - Latest Free Exam Questions & Answers

Category: 70-513 (v.2)

Exam 70-513: TS: Windows Communication Foundation Development with Microsoft .NET Framework 4 (update October 28th, 2015)

You need to ensure that new and existing client applications can access the service through HTTP and named pip

You are modifying a Windows Communication Foundation (WCF) service that issues
security tokens. The service is accessible through the named pipe protocol. No endpoints
are added in the service code. The configuration file for the service is as follows. (Line
numbers are included for reference only.) You need to ensure that new and existing client
applications can access the service through HTTP and named pipes. What should you do?

You need to deploy your service to the Web site

You are hosting a Windows Communication Foundation (WCF) service under Microsoft
Internet Information Services (IIS) 7.0. You have set up a Web site in IIS Manager. The
physical path is C:\wwwroot\Calendar. There is a Calendar.svc file in the
C:\wwwroot\Calendar folder. It contains the following directive. <%@ ServiceHost
Language=”C#” Debug=”true” Service=”Calendar.Calendar”
CodeBehind=”Calendar.svc.cs” %> The Calendar.svc.cs file contains the source for the

Calendar class in the Calendar namespace. You compile this code into the Calendar.dll file.
You need to deploy your service to the Web site. What should you do?

You need to ensure that only users with the Manager role can call the ApproveOrder method

You are creating a Windows Communication Foundation (WCF) service that implements the
following service contract. [ServiceContract] public interface IOrderProcessing {
[OperationContract] void ApproveOrder(int id); } You need to ensure that only users with the
Manager role can call the ApproveOrder method. What should you do?

What should you do?

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 string CodeName { get; set; } public string
SecretHandshake { get; set; } } 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?

Which code segment should you use?

You are maintaining a Windows Communication Foundation (WCF) service that uses a
custom UserNamePassword class to authenticate clients. The service certificate is hosted
in the deployment server store for trusted root certificate authorities and has a Subject value
of TaxServiceKey. Other service certificates hosted on the server also use TaxServiceKey
as a Subject value. You need to ensure that the service identifies itself with a certificate
whose subject name and distinguished names are TaxServiceKey. Which code segment
should you use?

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

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?

You need to ensure that the service will not cache the security request token

You are creating a Windows Communication Foundation (WCF) service based on
WSHttpBinding. New audit requirements dictate that callers must be authenticated on every
call to ensure that their credentials have not been revoked. You need to ensure that the
service will not cache the security request token. What should you do?


Page 4 of 23« First...23456...1020...Last »