70-513 Exam Details

  • Exam Code
    :70-513
  • Exam Name
    :TS: Windows Communication Foundation velopment with Microsoft .NET Framework 4
  • Certification
    :Microsoft Certifications
  • Vendor
    :Microsoft
  • Total Questions
    :323 Q&As
  • Last Updated
    :Nov 06, 2025

Microsoft 70-513 Online Questions & Answers

  • Question 291:

    A Windows Communication Foundation (WCF) service has a callback contract. You are developing a client application that will call this service.

    You must ensure that the client application can interact with the WCF service.

    What should you do?

    A. On the OperationContractAttribute, set the AsyncPattern property value to True.
    B. On the OperationContractAttribute, set the ReplyAction property value to the endpoint address of the client.
    C. On the client, create a proxy derived from DuplexClientBase(Of TChannel).
    D. On the client, use GetCallbackChannel (Of T).

  • Question 292:

    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.)

    Customers report that the transaction completes successfully even if the Update method throws an exception.

    You need to ensure that the transaction is aborted if the Update method is not successful.

    What should you do?

    A. insert the following line at line 22. throw;
    B. Insert the following line at line 09. [ServiceBehavior( TransactionAutoCompleteOnSessionClose = false)]
    C. Replace line 12 with the following line. [OperationBehavior( TransactionScopeRequired = true, TransactionAutoCoroplete - false)]
    D. Insert the following line at line 09. [ServiceBehavior( TransactionAutoCompleteOnSessionClose = true)]

  • Question 293:

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

    You must record all available information for the first 1,000 messages processed, even if they are malformed.

    You need to configure the message logging section of the configuration file.

    Which configuration segment should you use?

    A. Option A
    B. Option B
    C. Option C
    D. Option D

  • Question 294:

    A Windows Communication Foundation (WCF) service implements the following contract.

    (Line numbers are included for reference only.)

    01

    02 Public Interface IDataAccessService

    03

    04

    05 Sub PutMessage(ByVal message As String)

    06

    07

    08

    09

    10 Function SearchMessages(ByVal search As String) As String ()

    11

    12 End Interface

    The implementation of the SearchMessages method throws TimeoutFaultException exceptions for database timeouts. The implementation of the SearchMessages method also throws an Exception for any other issue it encounters while

    processing the request. These exceptions are received on the client side as generic FaultException exceptions.

    You need to implement the error handling code for SearchMessages and create a new channel on the client only if the channel faults.

    What should you do?

    A. Catch and handle both TimeoutFaultException and FaultException.
    B. Catch both TimeoutFaultException and FaultException. Create a new channel in both cases.
    C. Catch and handle TimeoutFaultException. Catch FaultException and create a new channel.
    D. Catch and handle FaultException. Catch TimeoutFaultException and create a new channel.

  • Question 295:

    You have a Windows Communication Foundation (WCF) service that accepts the following message contract.

    You need to ensure that the client sends a SOAP body that is accepted by the service.

    A. 2010-07-05T00:SI:10.0999304-05:00
    B. 2010-07-05T00:51:10.0999304-05:00
    C. 2010-07-05TOO:51:10.0999304-05:00 0
    D. 2010-07-05TOO:51:10.0999304-05:00 0

  • Question 296:

    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 the service host. Which code segment should you use?

    A. B.

  • Question 297:

    You develop a Windows Communication Foundation (WCF) service that contains the following code segment. (Line numbers are included for reference only.)

    You need to ensure that all service endpoints are available to client applications. Which code segment should you insert at line 04?

    A. Option A
    B. Option B
    C. Option C
    D. Option D

  • Question 298:

    You are preparing to deploy a Windows Communication Foundation (WCF) service to a production environment.

    The service must not be vulnerable to a man-in-the-middle attack.

    You need to configure the service to use X.509 certificate security.

    Which four actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.)

    Select and Place:

  • Question 299:

    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 encoding should you use?

    A. Binary message encoding
    B. MTOM (Message Transmission Optimization Mechanism) message encoding.
    C. Text message encoding with message version set to none.
    D. Text message encoding with message version set to SOAP 1.2.

  • Question 300:

    You are developing a Windows Communication Foundation (WCF) service that will be hosted in Microsoft Internet Information Services (IIS) 7.0.

    The service must be hosted in an IIS application named Info. You need to enable this service to be hosted in IIS by changing the web.config file.

    Which XML segment should you add to the web.config file

    A. < serviceHostingEnvironment > < serviceActivations >
    B. < serviceHostingEnvironment > < serviceActivations >
    C. < serviceHostingEnvironment > < transportConfigurationTypes >
    D. < serviceHostingEnvironment > < transportConfigurationTypes >

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Microsoft exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 70-513 exam preparations and Microsoft certification application, do not hesitate to visit our Vcedump.com to find your solutions here.