nerdexam
Microsoft

70-513 · Question #173

70-513 Question #173: Real Exam Question with Answer & Explanation

Sign in or unlock 70-513 to reveal the answer and full explanation for question #173. The question stem and answer options stay visible for context.

Question

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?

Options

  • AAdd the WebInvoke(UriTemplate: = "/Items/{id>", Method: = "DELETE") attribute to the
  • BAdd the HttpDelete attribute to the operation.
  • CReplace the string parameter with a RemovedActivityAction parameter.
  • DChange the Sub statement to Function and specify RemovedActivityAction as the return type.

Unlock 70-513 to see the answer

You've previewed enough free 70-513 questions. Unlock 70-513 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 70-513 Practice