GIAC
GSSP-NET · Question #119
GSSP-NET Question #119: Real Exam Question with Answer & Explanation
Sign in or unlock GSSP-NET to reveal the answer and full explanation for question #119. The question stem and answer options stay visible for context.
Question
You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET 2008 as its application development platform. You create an ASP.NET Web application using .NET Framework 3.5. The application rarely experiences errors that cannot be reproduced on a test environment. You are required to ensure that the application meets the following requirements: - All unanticipated errors are logged. - Logging is configured with a least amount of alteration to the application code. What will you do?
Options
- AOverride the base class for all forms in the application to add the Try/Catch blocks to all the major
- BEnable the <customErrors> element in the Web.config file and set the mode attribute to On .
- CEnable the <customErrors> element in the Web.config file and set the mode attribute to RemoteOnly.
- DAdd an event handler for the Application.Error event to the Global.asax file of the application.
Unlock GSSP-NET to see the answer
You've previewed enough free GSSP-NET questions. Unlock GSSP-NET 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.