nerdexam
Microsoft

70-513 · Question #163

You are modifying a Windows Communication Foundation (WCF) service that allows customers to update financial data. The service currently requires a transaction from the client application and is…

The correct answer is B. Replace line 13 with the following code. See the full explanation below for the reasoning.

Question

You are modifying a Windows Communication Foundation (WCF) service that allows customers to update financial data. The service currently requires a transaction from the client application and is working correctly. The service contract is defined as follows. (Line numbers are included for reference only.) The service must be modified so that client applications do not need to initiate a transaction when calling the operation. The service must use the client application's transaction if one is available. Otherwise it must use its own transaction. You need to ensure that the service operation is always executed within a transaction. What should you do?

Exhibit

70-513 question #163 exhibit

Options

  • AReplace line 05 with the following code.
  • BReplace line 13 with the following code.
  • CReplace line 05 with the following code.
  • DReplace line 13 with the following code.

How the community answered

(47 responses)
  • A
    9% (4)
  • B
    85% (40)
  • C
    4% (2)
  • D
    2% (1)

Community Discussion

No community discussion yet for this question.

Full 70-513 Practice