70-513 Exam Questions
268 real 70-513 exam questions with expert-verified answers and explanations. Page 5 of 6.
- Question #257
You are developing a Windows Communication Foundation (WCF) service to replace an existing ASMX Web service. The WCF service contains the following code segment. (Line numbers are...
- Question #258
You are developing a Windows Communication Foundation (WCF) client application. You instantiate a client class that inherits from ClientBase. The client instance must always be shu...
- Question #265
You are developing a Windows Communication Foundation (WCF) REST service to provide access to a library book catalog. The following code segment defines the service contract. (Line...
- Question #268
You create a Windows Communication Foundation (WCF) sen/ice. It is deployed on Microsoft Internet Information Services (IIS) with an application pool running as Network Service. Yo...
- Question #269
You are developing a Windows Communication Foundation (WCF) service to provide shopping cart support. ASP.NET compatibility mode is not enabled. The shopping cart information must...
- Question #270
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...
- Question #272
You are developing a Windows Communication Foundation (WCF) service that must be discoverable. You need to ensure that the ServiceHost instance supports multiple discovery versions...
- Question #273
You are creating a Windows Communication Foundation (WCF) service. You do not want to expose the internal implementation at the service layer. You need to expose the following clas...
- Question #276
You are creating an application that consumes a Windows Communication Foundation (WCF) service. The service implements the IService contract. The client application contains the Ca...
- Question #277
You are modifying an existing Windows Communication Foundation (WCF) service that is defined as follows; SubmitOrder makes a call to another service. The ProcessMessage method does...
- Question #279
You are developing a Windows Communication Foundation (WCF) service. The service configuration file has a <System.Diagnostics> element defined. You need to ensure that all security...
- Question #280
You are developing a Windows Communication Foundation (WCF) service. You enable logging in the configuration file. The opening tag is defined as follows. You need to ensure that lo...
- Question #281
You are creating a Windows Communication Foundation (WCF) service that implements the following service contract. <ServiceContract()> Public Interface IOrderProcessing <OperationCo...
- Question #283
You are implementing a Windows Communication Foundation (WCF) service contract named lContosoService in a class named ContosoService. The service occasionally fails due to an excep...
- Question #285
You develop a Windows Communication Foundation (WCF) service that uses basic authentication for client credentials. This service is currently configured to use message security. Th...
- Question #286
You are developing a Windows Communication Foundation (WCF) service that returns location information for authorized law enforcement agencies. The service contract is as follows. U...
- Question #287
You are developing a Windows Communication Foundation (WCF) service named CalculatorService, which implements the ICalculatorService contract. The service is configured to be disco...
- Question #288
A Windows Communication Foundation (WC9 service implements a contract with one-way and requestreply operations. The service is exposed over a TCP transport Clients use a router to...
- Question #289
You want to debug the Windows Communication Foundation (WCF) client and server interaction through message and application tracing. You need to correlate traces generated on the cl...
- Question #291
A Windows Communication Foixdation (WCF) solution uses the following contracts (Line numbers are included for reference only) 01 eServiceContract(Callback contract: GetType(lNameSe...
- Question #292
You are working with a Windows Communication Foundation (WCF) client application that has a generated proxy named SampleServiceProxy. When the client application is executing, in l...
- Question #293
A Windows Communication Foundation (WCF) service is generating a separate namespace declaration for each body member of a message contract, even though all body members share the s...
- Question #294
You are implementing a Windows Communication Foundation (WCF) client application that consumes the ICatalog and lCatalog2 service interfaces. You need to ensure that the client dis...
- Question #295
A Windows Communication Foundation (WCF) service uses a list of application-defined roles for operations. These roles are stored in a database. You need to authorize calls against...
- Question #296
A Windows Communication Foundation (WCF) service uses the following service contract. <ServiceContract> Public Interface IService <OperationContract0>? Function Operation 1 (RyVal...
- Question #297
A Windows Communication Foundation (WCF) solution uses the following contract to share a message across its clients. (Line numbers are included for reference only.) 01 [ServiceCont...
- Question #298
A Windows Communication Foundation (WCF) solution provides a session-based counter. The service is self-hosted. The hosting code is as follows. Dim host As ServiceHost = New Servic...
- Question #299
You are developing a Windows Communication Foundation (WCF) service. You write a method named Submit that accepts messages of the type System.ServiceModel.Channels.Message. You nee...
- Question #300
A Windows Communication Foundation (WCF) service has the following contract: [ServiceContract] public class ContosoService { [OperationContract] [TransactionFlow(TransactionFlowOpt...
- Question #301
A Windows Communication Foundation (WCF) solution uses the following contract. <ServiceContract(SessionMode:=SessionMode Allowed)s Public Interface lMyService <OperationContract(ls...
- Question #302
A Windows Communication Foundation (WCF) solution uses the following contract. [ServiceContract(SessionMode SessionModeAllowed)] public interface IMyService { [OperaionContractQsTe...
- Question #303
A Windows Communication Foundation (WCF) service implements a contract with one-way and request-reply operations. The service is exposed over a TCP transport. Clients use a router...
- Question #304
Windows Communication Foundation (WCF) service will be hosted in Microsoft Internet Information Services (IIS). You create a new application in IIS to host this service and copy th...
- Question #305
A Windows Communication Foundation (WCF) service listens for messages at The configuration for the WCF client is as follows: binding="netTcpBinding" bindingConfiguraton="NetTcpBind...
- Question #306
A Windows Communication Foundation (WCF) client communicates with a service. You created the client proxy by using Add Service Reference in MS Visual Studio. You need to ensure tha...
- Question #307
You are building a client for a Windows Communication Foundation (WCF) service. You need to create a proxy to consume this service. Which class should you use?
- Question #308
Windows Communication Foundation (WCF) application uses a data contract that has several data members. You need the application to throw a Serialization Exception if any of the dat...
- Question #309
A Windows Communication Formation (WCF) client and service share the following service contract interface <ServiceContractO> Public Interface IContosoService <OperationContractO> S...
- Question #310
A Windows Communication Foundation (WCF) solution uses the following contract to share a message across its clients (Line numbers are included for reference only) 01 <ServiceContra...
- Question #312
You have a self-hosted Windows Communication Foundation (WCF) service. You need to configure the service to provide an X.509 certificate during authentication What should you use t...
- Question #313
You are integrating a Windows Communication Foundation (WCF) service within an enterprise wide Service Oriented Architecture (SOA). Your service has the following service contract:...
- Question #314
A Windows Communication Foundation (WCF) service sends notifications when the service is started and stopped. You need to implement a client that logs these notifications. Which cl...
- Question #315
You are developing a client that sends several types of SOP messages to a Windows Communication Foundation (WCF) service method named PostData PostData is currently defined as foll...
- Question #316
A Windows Communication Foundation (WCF) client and service share the following service contract interface. [ServiceContract] public interface IContosoService { [OperationContract]...
- Question #317
A Windows Communication Foundation (WCF) client uses the following service contract. (Line numbers are included for reference only.) 01 [ServiceContract] 02 public interface IServi...
- Question #318
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 metho...
- Question #319
A WCF service code is implemented as follows. (Line numbers are included for reference only) 01 [ServiceContract] 02 [ServiceBehavior(lnstanceContextMode = 03 lnstanceContextModeSi...
- Question #320
You are developing a windows Communication Foundation (WCF) service that will be hosted in Microsoft Intemnet Information Services (IIS) 7.0. The service must be hosted in an lIs a...
- Question #321
A Windows Communication Foundation (WCF) service uses the following service contract. [ServiceContract] public interface IService { [OperationContract] string Operation1(string s);...
- Question #322
A Windows Communication Foundation (WCF) service exposes two operations: OpA and OpB OpA needs to execute under the client's identity, and OpB needs to execute under the service's...