Microsoft
70-513 · Question #124
70-513 Question #124: Real Exam Question with Answer & Explanation
Sign in or unlock 70-513 to reveal the answer and full explanation for question #124. 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] void ApproveOrder(int id); } 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 PosessesProperty property to see if it contains
- 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.