Microsoft
70-515 · Question #37
70-515 Question #37: Real Exam Question with Answer & Explanation
Sign in or unlock 70-515 to reveal the answer and full explanation for question #37. The question stem and answer options stay visible for context.
Question
You are implementing an ASP.NET MVC 2 Web application that allows users to view and edit data. You need to ensure that only logged-in users can access the Edit action of the controller. What are two possible attributes that you can add to the Edit action to achieve this goal? (Each correct answer presents a complete solution. Choose two.)
Options
- A[Authorize(Users = "")]
- B[Authorize(Roles = "")]
- C[Authorize(Users = "*")]
- D[Authorize(Roles = "*")]
Unlock 70-515 to see the answer
You've previewed enough free 70-515 questions. Unlock 70-515 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.