nerdexam
Microsoft

70-513 · Question #281

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

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

Question

You are creating a Windows Communication Foundation (WCF) service that implements the following service contract. <ServiceContract()> Public Interface IOrderProcessing <OperationContract()> Sub ApproveOrder(ByVal id As Integer) End Interface You need to ensure that only users with the Manager role can call the ApproveOrder method. What should you do?

Options

  • AIn the method body, check the Rights.PossessProperty property to see if it contains Manager.
  • BAdd a PrincipalPermission attribute to the method and set the Roles property to Manager.
  • CAdd a SecurityPermission attribute to the method and set the SecurityAction to Demand.
  • DIn the method body, create a new instance of WindowsClaimSet.

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