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 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 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()> Sub ApproveOrder(ByVal id As Integer) End Interface You need to
ensure that only users with the Manager role can call the ApproveOrder method. What
should you do?

You need to develop a definition for the operation contract that produces XML with the following structure

You are developing a Windows Communication Foundation (WCF) service that contains the
following operation contract. <OperationContract()> Function GetCustomerNames() As
CustomerNames The operation returns customer names. You need to develop a definition
for the operation contract that produces XML with the following structure. Which code
segment should you use

Which scopes should you add to the client configuration file?

You create a service and deploy it on a network in a building named Building1. You will
deploy the service to Building2. The service in Building1 is configured using the following
discovery scopes. The service in Building2 will be configured using the following discovery
scopes. You need to ensure that the client application can discover the service in Building1
or the service in Building2. Which scopes should you add to the client configuration file?

You need to ensure that client applications can initiate reports without waiting for status

You develop a Windows Communication Foundation (WCF) service to generate reports.
Client applications call the service to initiate report generation but do not wait for the reports
to be generated. The service does not provide any status to the client applications. The
service class is defined as follows. (Line numbers are included for reference only.) 01

<ServiceContract()> 02 Public Class ReportGeneratorService 03 04 Private Function
GenerateReports( ByVal clientID As Integer) As Integer 05 & 06 Return 0 07 End Function
08 09 End Class You need to ensure that client applications can initiate reports without
waiting for status. Which two actions should you perform (Each correct answer presents
part of the solution. Choose two.)

You need to modify the application to allow the GetServiceTime method to return the data formatted as JSON

A class named TestService implements the following interface. TestService is hosted in an
ASP.NET applicator. You need to modify the application to allow the GetServiceTime
method to return the data formatted as JSON. It must do this only when the request URL
ends in lServiceTime. What should you do?

You need to ensure that the sack trace details of the exception are not included in the error information sent

You are creating a Windows Communication Foundation (WCF) service that is implemented
as folks. (Line numbers are included for reference only.) 01 <ServiceContract()
02<ServiceBehaior(lncludeExceptionDetailInFaults: Time)> 03Public Class OrderService 04
05eCNperationCortracto()> O6Putdic Sub Submit Order(ByVal anOrder As Order) 07 08Try
09. 10Catch ex As D wide By Zero Exception 11 12End Try 13End Sub 14 1 5End Class
You need to ensure that the sack trace details of the exception are not included in the error
information sent to the client. What should you do?

You need to configure WCF to call this method when the client calls the service with the HTTP DELETE operation

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. Sub DeleteItems (ByVol id As String) You need to configure WCF
to call this method when the client calls the service with the HTTP DELETE operation. What
should you do?


Page 16 of 23« First...10...1415161718...Last »