GSSP-.NET GIAC GIAC Secure Software Programmer - C#.NET

Loading demo links...

Showing 13–15 of 20 questions

Question 13 (Volume A)

John works as a Web Developer for ProLabs Inc. He develops an ASP.NET application, named

MyWebApp1, using Visual Studio .NET. One of the pages in the application is named as Page1.aspx, which does not need to maintain session state. To improve the performance of the application, John wants to disable session state for Page1. Which of the following actions will he take to accomplish the task?

Select an option, then click Submit answer.

  • Set the EnableViewState attribute in the @ Page directive to false.

  • Set the DisableSessionState attribute in the @ Page directive to true.

  • In the sessionState configuration section of the application's Web.config file, set the mode attribute to off.

  • Set the EnableSessionState attribute in the @ Page directive to false.


Question 14 (Volume B)

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 the .NET Framework 3.5. The application uses Session objects. You are changing the application to run on a Web farm. You want to make sure that the application can access the Session objects from all the servers in the Web farm. You also make sure that when any server in the Web farm restarts or stops responding, the Session objects are not lost. What will you do?

Select an option, then click Submit answer.

  • Use InProc Session Management mode to store session data in the ASP.NET worker process

  • Use StateServer Session Management mode to store session data in a common State
    Server process on a Web server in the Web farm

  • Use SQLServer Session Management mode to store session data in an individual database for each Web server in the Web farm

  • Use SQLServer Session Management mode to store session data in a common
    Microsoft SQL Server 2005 database


Question 15 (Volume D)

John works as a Web Developer for ProLabs Inc. He develops an ASP.NET application, named

MyWebApp1, using Visual Studio .NET. One of the pages in the application is named as Page1.aspx, which does not need to maintain session state. To improve the performance of the application, John wants to disable session state for Page1. Which of the following actions will he take to accomplish the task?

Select an option, then click Submit answer.

  • Set the EnableViewState attribute in the @ Page directive to false.

  • Set the DisableSessionState attribute in the @ Page directive to true.

  • In the sessionState configuration section of the application's Web.config file, set the mode attribute to off.

  • Set the EnableSessionState attribute in the @ Page directive to false.