Microsoft
70-519 · Question #52
70-519 Question #52: Real Exam Question with Answer & Explanation
Sign in or unlock 70-519 to reveal the answer and full explanation for question #52. The question stem and answer options stay visible for context.
Question
You develop an ASP.NET MVC application. You create an attribute named MySecurityAttribute. You have the following requirements: - The application must mitigate the impact of denial of service attacks. - MySecurityAttribute must monitor incoming requests to determine if the requests must be processed or rejected. - MySecurityAttribute must be applied to the relevant service classes or operation methods. You need to implement MySecurityAttribute. What should you do? (Each correct answer presents part of the solution. Choose two.)
Options
- ADerive MySecurityAttribute from System.Web.Mvc.ActionFilterAttribute.
- BDerive MySecurityAttribute from System.Web.Mvc.ValidatelnputAttribute.
- COverride the OnAuthorization method in MySecurityAttribute.
- DOverride the OnActionExecuting method in MySecurityAttribute.
- EOverride the OnActionExecuted method in MySecurityAttribute.
- FDerive MySecurityAttribute from System.Web.Mvc.AuthorizeAttribute.
Unlock 70-519 to see the answer
You've previewed enough free 70-519 questions. Unlock 70-519 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.