nerdexam
Microsoft

70-515 · Question #36

70-515 Question #36: Real Exam Question with Answer & Explanation

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

Question

You are implementing an ASP.NET MVC 2 Web application. The URL with path /Home/Details/{country} will return a page that provides information about the named country. You need to ensure that requests for this URL that contain an unrecognized country value will not be processed by the Details action of HomeController. What should you do?

Options

  • AAdd the ValidateAntiForgeryToken attribute to the Details action method.
  • BAdd the Bind attribute to the country parameter of the Details action method.
  • CCreate a class that implements the IRouteConstraint interface.
  • DCreate a class that implements the IRouteHandler interface.

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.

Full 70-515 Practice