70-513 Real Exam Questions

Free Download New Updated Microsoft 70-513 Real Exam Questions and Answers 301-310

By on September 29, 2014
EnsurepassQUESTION 301 You are developing a Windows Communication Foundation (WCF) service that is used to check the status of orders placed by customers. The following code segment is part of your service. (Line numbers are included for reference only.)     You need to ensure that the service always listens at net.pipe://SupplyChainServer/Pipe. What should you do?     A. Option A B. Option B C. Option C D. Option D   Correct Answer: B       Read more [...]

Continue Reading

70-513 Real Exam Questions

Free Download New Updated Microsoft 70-513 Real Exam Questions and Answers 291-300

By on
EnsurepassQUESTION 291 A Windows Communication Foundation (WCF) service is self-hosted in a console application. The service implements the ITimeService service interface in the TimeService class. You need to configure the service endpoint for HTTP communication. How should you define the service and endpoint tags?   A. Define the service tag as follows: <service name="ITimeService"> Define the endpoint tag as follows. < endpoint kind ="TimeService" address="http://localhost:8080/TimeService" Read more [...]

Continue Reading

70-513 Real Exam Questions

Free Download New Updated Microsoft 70-513 Real Exam Questions and Answers 281-290

By on
EnsurepassQUESTION 281 You implement a Windows Communication Foundation (WCF) service. You must process all of the valid SOAP messages that the service receives. What should you do?   A. On the OperationContractAttribute, call the Match method. B. Call the Message.CreateMessage static method. Pass the value MessageVersion.Default as a parameter. C. On the OperationContractAttribute of a method, set the value of the Action and ReplyAction properties to *. D. On the OperationContractAttribute Read more [...]

Continue Reading

70-513 Real Exam Questions

Free Download New Updated Microsoft 70-513 Real Exam Questions and Answers 271-280

By on
EnsurepassQUESTION 271 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 Read more [...]

Continue Reading

70-513 Real Exam Questions

Free Download New Updated Microsoft 70-513 Real Exam Questions and Answers 261-270

By on
EnsurepassQUESTION 261 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 numbers are included for reference only.)     Library patrons want the ability to search the catalog by title.   You need to ensure that the GetBookByTitle method is exposed as a service method.   Which code segment should you insert at line 04?   A. <WebGet(UriTemplate:="Book/{title}")> Read more [...]

Continue Reading

70-513 Real Exam Questions

Free Download New Updated Microsoft 70-513 Real Exam Questions and Answers 251-260

By on
EnsurepassQUESTION 251 You are developing a Windows Communication Foundation (WCF) service. The service needs to access out-of-process resources. You need to ensure that the service accesses these resources on behalf of the originating caller. What should you do?   A. Set the value of ServiceSecurityContext.Current.WindowsIdentity.ImpersonationLevel to TokenImpersonationLevel.Impersonation. B. Set the value of ServiceSecurityContext.Current.WindowsIdentity.ImpersonationLevel to TokenImpersonationLevel.Delegation. Read more [...]

Continue Reading

70-513 Real Exam Questions

Free Download New Updated Microsoft 70-513 Real Exam Questions and Answers 231-240

By on
EnsurepassQUESTION 231 You are developing a Windows Communication Foundation (WCF) service that executes a long-running operation. The service is accessed from your business applications in a server transaction in which the client does not participate. You need to ensure that the transaction times out and aborts if the operation has not completed within 45 seconds. What should you do?   A. Set the service binding sendTimeout attribute to 00:00:45. B. Apply <OperationBehavior (TransactionScopeRequired:=False) Read more [...]

Continue Reading

70-513 Real Exam Questions

Free Download New Updated Microsoft 70-513 Real Exam Questions and Answers 221-230

By on
EnsurepassQUESTION 221 You are configuring a routing service to call a target service. The routing service has no knowledge of the target service's data tyes other than the service contract. The operation contract for all of the methods of the target service specifies IsOneWay=true. You need to specify the endpoint information for the routing service. What should you do?   A. In the target service configuration file, specify "*" for the client endpoint contract and "*" for the service endpoint Read more [...]

Continue Reading

70-513 Real Exam Questions

Free Download New Updated Microsoft 70-513 Real Exam Questions and Answers 211-220

By on
Ensurepass="margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" align="left">QUESTION 211 You are developing a Windows Communication Foundation (WCF) service. The following code defines and implements the service. (Line numbers are included for reference only.)     You need to ensure that two identical copies of the received message are created in the service.   Which code segment should you insert at line 12?   A. Message msgCopy = message. CreateBufferedCopy(8192) Read more [...]

Continue Reading

70-513 Real Exam Questions

Free Download New Updated Microsoft 70-513 Real Exam Questions and Answers 201-210

By on
EnsurepassQUESTION 201 You develop a Windows Communication Foundation (WCF) service that employees use to access bonus information. You define the following service contract. (Line numbers are included for reference only.)   01 [ServiceContract(SessionMode = SessionMode.Required)]   02 public interface IFinancialService   03 {   04 [OperationContract]   05 string Login(int employeeID, string passwordHash);   06   07 [OperationContract]   08 double GetBonus(int Read more [...]

Continue Reading

70-513 Real Exam Questions

Free Download New Updated Microsoft 70-513 Real Exam Questions and Answers 191-200

By on
EnsurepassQUESTION 191 A Windows Communication Foundation (WCF) service is responsible for transmitting XML documents between systems.   The service has the following requirements:   It must minimize the transmission size by attaching the XML document as is without using escape characters or base64 encoding. It must interoperate with systems that use SOAP but are not built on the .NET platform.   You need to configure the service to support these requirements.   Which message Read more [...]

Continue Reading

70-513 Real Exam Questions

Free Download New Updated Microsoft 70-513 Real Exam Questions and Answers 181-190

By on
EnsurepassQUESTION 181 HOTSPOT You are developing a Windows Communication Foundation (WCF) service. You implement a data contract to pass complex data to and from the service.   The service includes the following code:     You need to verify the order in which the data is serialized.   For each of the following statements, select True if the statement is true. Otherwise, select False.     Correct Answer:                   Read more [...]

Continue Reading

70-513 Real Exam Questions

Free Download New Updated Microsoft 70-513 Real Exam Questions and Answers 171-180

By on
EnsurepassQUESTION 171 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.)   01 <ServiceContract()>   02 Public Interface IDataCache   03   04 . . .   05 End Interface   06   07   08 Public Class DataCache   09 Implements IDataCache   10   11 . . .   12 End Class   Read more [...]

Continue Reading

70-513 Real Exam Questions

Free Download New Updated Microsoft 70-513 Real Exam Questions and Answers 161-170

By on
EnsurepassQUESTION 161 You are developing a Windows Communication Foundation (WCF) service. The service needs to access out-of-process resources. You need to ensure that the service accesses these resources on behalf of the originating caller. What should you do?   A. Set the value of ServiceSecurityContext.Current.WindowsIdentity.ImpersonationLevel to TokenImpersonationLevel.Impersonation. B. Set the value of ServiceSecurityContext.Current.WindowsIdentity.ImpersonationLevel to TokenImpersonationLevel.Delegation. Read more [...]

Continue Reading

70-513 Real Exam Questions

Free Download New Updated Microsoft 70-513 Real Exam Questions and Answers 151-160

By on
EnsurepassQUESTION 151 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 class as a service named Arithmetic with an operation named Sum.   public class Calculator   {   public int Add(int x, int y)   {   }   }   Which code segment should you use?   A. [ServiceContract(Namespace="Arithmetic")] public class Calculator { [OperationContract(Action="Sum")] Read more [...]

Continue Reading

70-513 Real Exam Questions

Free Download New Updated Microsoft 70-513 Real Exam Questions and Answers 141-150

By on
EnsurepassQUESTION 141 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:   var service = new WarehouseService();   var host = new ServiceHost(service);   You need to ensure that new operations do not wait for previous operations to finish.   Which attribute should you use to Read more [...]

Continue Reading

70-513 Real Exam Questions

Free Download New Updated Microsoft 70-513 Real Exam Questions and Answers 131-140

By on
EnsurepassQUESTION 131 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 Read more [...]

Continue Reading

70-513 Real Exam Questions

Free Download New Updated Microsoft 70-513 Real Exam Questions and Answers 121-130

By on
EnsurepassQUESTION 121 You are developing a Windows Communication Foundation (WCF) service that reads messages from a public non-transactional MSMQ queue. You need to configure the service to read messages from the failed-delivery queue. Which URI should you specify in the endpoint configuration settings of the service?   A. net.msmq://localhost/msmq$;FailedMessages B. net.msmq://localhost/msmq$;DeadLetter C. net.msmq://localhost/system$;DeadXact D. net.msmq://localhost/system$;DeadLetter Read more [...]

Continue Reading

70-513 Real Exam Questions

Free Download New Updated Microsoft 70-513 Real Exam Questions and Answers 111-120

By on
EnsurepassQUESTION 111 You are creating a Windows Communication Foundation (WCF) service that uses claims- based authorization. The following code retrieves the correct claim set.   var claims = ServiceSecurityContext.Current.   AuthorizationContext.ClaimSets[0];   You need to validate that the requesting client application has included a valid DNS value in the claim.   Which code segment should you use to retrieve the claim for validation?   A. claims.FindClaims(ClaimTypes.Dns, Read more [...]

Continue Reading

70-513 Real Exam Questions

Free Download New Updated Microsoft 70-513 Real Exam Questions and Answers 101-110

By on
EnsurepassQUESTION 101 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. What should you do?   A. Specify a unique DiscoveryVersion parameter for each endpoint constructor. Use the same value for the Address property of each endpoint. B. Use the endpoint constructor without the DiscoveryVersion parameter. Use a unique value for the Address property of each Read more [...]

Continue Reading

70-513 Real Exam Questions

Free Download New Updated Microsoft 70-513 Real Exam Questions and Answers 91-100

By on
EnsurepassQUESTION 91 An ASP.NET application hosts a RESTful Windows Communication Foundation (WCF) service at /Services/Contoso.svc . The service provides a JavaScript resource to clients. You have an explicit reference to the JavaScript in your page markup as follows:   <script type="text/3avaScript" src="/Secvices/Contoso.svc/js" />   You need to retrieve the debug version of the service JavaScript.   What should you do?   A. In the <<to@ ServiceHost ?>; Read more [...]

Continue Reading

70-513 Real Exam Questions

Free Download New Updated Microsoft 70-513 Real Exam Questions and Answers 81-90

By on
Ensurepass  QUESTION 81 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 Read more [...]

Continue Reading

70-513 Real Exam Questions

Free Download New Updated Microsoft 70-513 Real Exam Questions and Answers 71-80

By on
EnsurepassQUESTION 71 A Windows Communication Foundation (WCF) service is self-hosted in a console application. The service implements the IDataAccess contract, which is defined in the MyApplication namespace.   The service is implemented in a class named DataAccessService, which implements the IDataAccess interface and also is defined in the MyApplication namespace.   The hosting code is as follows. (Line numbers are included for reference only.)     You need to create a ServiceHost Read more [...]

Continue Reading

70-513 Real Exam Questions

Free Download New Updated Microsoft 70-513 Real Exam Questions and Answers 61-70

By on
EnsurepassQUESTION 61 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?   A. Add the WebInvoke(UriTemplate: = "/Items/{id>", Method: = "DELETE") attribute Read more [...]

Continue Reading

70-513 Real Exam Questions

Free Download New Updated Microsoft 70-513 Real Exam Questions and Answers 51-60

By on
EnsurepassQUESTION 51 HOTSPOT You are developing a Windows Communication Foundation (WCF) service. You implement a data contract to pass complex data to and from the service. The service includes the following code:     You need to verify the order in which the data is serialized.   For each of the following statements, select True if the statement is true. Otherwise select False.     Correct Answer:     QUESTION 52 You want to debug the Windows Communication Read more [...]

Continue Reading

70-513 Real Exam Questions

Free Download New Updated Microsoft 70-513 Real Exam Questions and Answers 41-50

By on
EnsurepassQUESTION 41 You are developing a Windows Communication Foundation (WCF) service that allows customers to update financial data. The client applications call the service in a transaction. The service contract is defined as follows. (Line numbers are included for reference only.)   01 <ServiceContract()>   02 Public Interface IDatallpdate   03   04 <OperationContract()>   05 <TransactionFlow(TransactionFlowOption.Handatocy)>   06 Sub Update Read more [...]

Continue Reading

70-513 Real Exam Questions

Free Download New Updated Microsoft 70-513 Real Exam Questions and Answers 31-40

By on
EnsurepassQUESTION 31 You create a Windows Communication Foundation (WCF) service and deploy it with wsHttpBinding and message security enabled. You create an intermediate WCF service for logging messages sent to the primary service. The intermediate service is called via the clientVia endpoint behavior. The primary service is receiving malformed data from a client application. You need to enable inspection of the malformed data and prevent message tampering. What should you do?   A. Specify Read more [...]

Continue Reading

70-513 Real Exam Questions

Free Download New Updated Microsoft 70-513 Real Exam Questions and Answers 21-30

By on
EnsurepassQUESTION 21 You are creating a windows Communication Foundation (WCF) service to process orders.   The data contract for the order is defined as follows:   [DataContract]   public class Order   {   ...   [DataMemberl   public string CardHolderName { get; set;   [DataMember]   public string CreditCardNumber { get; set; }   }   You have the following requirements   Enable the transmission of the contents of Order from the clients Read more [...]

Continue Reading

70-513 Real Exam Questions

Free Download New Updated Microsoft 70-513 Real Exam Questions and Answers 11-20

By on
EnsurepassQUESTION 11 DRAG DROP You develop a Windows Communication Foundation (WCF) service. The service implements the IRegistrationService interface in a class named RegistrationService. You need to configure the service to use file-less activation. How should you complete the relevant code? (To answer, drag the appropriate code segments to the correct location or locations in the answer area. Each code segment may be used once, more than once, or not at all. You may need to drag the split bar Read more [...]

Continue Reading

70-513 Real Exam Questions

Free Download New Updated Microsoft 70-513 Real Exam Questions and Answers 1-10

By on
Ensurepass="margin: 0cm 0cm 0pt; text-autospace: ; mso-layout-grid-align: none" align="left">QUESTION 1 You are developing a Windows Communication Foundation (WCF) service named CalculatorService, which implements the ICalculatorService contract. The service is configured to be discoverable through UDP. CalculatorService contains multiple endpoints. One of the endpoints is configured with the following behavior.     You need to log all the endpoint metadata information that is added by Read more [...]

Continue Reading