nerdexam
Microsoft

70-519 · Question #176

70-519 Question #176: Real Exam Question with Answer & Explanation

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

Question

You are designing an ASP.NET MVC 2 Web application that requires each user to register a user name and password before accessing restricted content. You have the following requirements for user registration: - When the focus leaves the user name input field, validate that the user name does not already exist. - Display validation results before submitting the form. You need to recommend a data validation strategy. What should you recommend?

Options

  • AUse the Required attribute to annotate the user name property of the model.
  • BUse an UpdatePanel control to access server-side validation.
  • CImplement the IValidator interface on the model.
  • DUse jQuery to access server-side validation code.

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.

Full 70-519 Practice