Microsoft
70-519 · Question #263
70-519 Question #263: Real Exam Question with Answer & Explanation
Sign in or unlock 70-519 to reveal the answer and full explanation for question #263. The question stem and answer options stay visible for context.
Question
You are designing an ASP.NET Web application that will be deployed both to a server that runs IIS 6 and to a server that runs IIS 7.0. The Web application must meet the following requirements: - Log all unhandled exceptions. - Write exception details to a custom error log. When an exception occurs, write the user credentials to a custom error log. You need to recommend an approach for handling errors. What should you recommend?
Options
- ACreate an error handler for the Application_Error event.
- BIn the customErrors element of the Web.config file, set the mode attribute to on.
- CIn the customErrors element of the Web.config file, set the defaultRedirect attribute to
- DCreate an error handler for the HttpApplication.LogRequest event.
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.