GIAC
GSSP-.NET · Question #63
GSSP-.NET Question #63: Real Exam Question with Answer & Explanation
Sign in or unlock GSSP-.NET to reveal the answer and full explanation for question #63. The question stem and answer options stay visible for context.
Question
- (Topic 1) You work as a Web Application Developer for SunInfo Inc. The company uses Visual Studio 2008 as its application development platform. You create a Web application using .NET Framework 3.5. You want to ensure that when an unhandled exception occurs on the site, a custom error page errorpage.aspx is displayed. Also, you want to ensure that when the HTTP 500 error occurs, the servererror.aspx page is displayed. Which of the following settings will you add inside the system.web section of the Web.config file to accomplish the task?
Options
- A<compilation debug="true">
- B<customErrors defaultRedirect="errorpage.aspx" mode="on">
- C<customErrors defaultRedirect="servererror.aspx" mode="on">
- D<trace enabled="true" localOnly="false" />
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.