GIAC GSSP-.NET GIAC Secure Software Programmer – C#.NET Online Training
GIAC GSSP-.NET Online Training
The questions for GSSP-.NET were last updated at Sep 15,2025.
- Exam Code: GSSP-.NET
- Exam Name: GIAC Secure Software Programmer - C#.NET
- Certification Provider: GIAC
- Latest update: Sep 15,2025
In .NET Framework 3.5, you can create and access values that persist from one application session to another.
What are these values called?
- A . Objects
- B . Settings
- C . Properties
- D . Attributes
Which of the following modes can be used to configure the Remote Debugging Monitor for remote debugging?
- A . Password Authentication
- B . Form Authentication
- C . No Authentication
- D . SQL Server Authentication
Peter works as a Software Developer for NessCom Inc. He creates a Web application named WebApp using Visual Studio .NET. WebApp contains an .aspx page named DataValidatePage.aspx, which has several Web server controls. Two TextBox controls, txtProdID and txtProdName, are used. The txtProdID control is used to enter the identification number of the products used by the company. The txtProdName control is used to enter valid product names. Peter wants to ensure that only valid data is entered in these two TextBox controls. Therefore, he implements a RequiredFieldValidator class in the DataValidatePage.aspx page. Choose the appropriate actions Peter will perform to accomplish the task.
- A .
You work as a Software Developer for ABC Inc. The company uses Visual Studio.NET 2008 as its application development platform. You have recently finished development of an ASP.NET Web application using the .NET Framework 3.5. You host the application on a Web farm that consists of three Web servers.
You should configure the ASP.NET application for session state to meet the following requirements:
l Session state data should not be lost if a server fails.
l Session state must be maintained across browser requests by the same user.
You are required to configure the Web.config file to meet these requirements.
Which of the following configurations will you use?
- A . <sessionState mode="StateServer"/>
- B . <sessionState mode="InProc"/>
- C . <sessionState mode="Custom"/>
- D . <sessionState mode="SQLServer"/>
You work as a Software Developer for ABC Inc. You develop an application using Visual Studio .NET 2005. You want to print the contents of a document named MyFile1.doc located on the local computer. Therefore, you use the printing controls in the application.
Which of the following events will you use in the application code to accomplish the task?
- A . EndPrint
- B . QueryPageSettings
- C . PrintPage
- D . BeginPrint
Maria works as a Software Developer for BlueWell Inc. She develops an application, named App1, using Visual C# .NET. The application displays employee details from a SQL Server database. Maria wants to use a string array , named MyArray, in the application code to store employee names.
Which of the following statements will she use to declare MyArray?
- A . Option Base 1 string[] MyArray = new string[9];
- B . string[] MyArray = new string[9];
- C . Option Base 0 string[] MyArray = new string[9];
- D . string[] MyArray = new string[0 to 9];
- E . string MyArray[9] = new string;
John works as a Software Developer for CyberTech Inc. He creates an ASP .NET page named BookItemList.aspx, which displays a price list of computer books. Registered users have to first log on to the company’s Web site in order to view the current price list of different computer books available on the Web site. Users want to maintain the page requests as long as they are accessing the Web page.
John wants to ensure that whenever the Web page BookItemList.aspx is posted back to the server, the price list should not be changed on the registered user’s computer. He also wants to validate the page sent back to the server.
Which of the following actions will John take to accomplish the task? Each correct answer represents a part of the solution. Choose two.
- A . Set the EnableEventValidation attribute to false.
- B . Set the EnableEventValidation attribute to true.
- C . Set the EnableViewState attribute to true.
- D . Set the EnableViewState attribute to false.
Mark works as a Software Developer for GenTech Inc. He develops an application, named App1, using Visual Studio .NET. The application contains a Form control, named Form1, which enables users to edit information in a SQL Server database. Mark wants to save all the changes made by users in the database. He defines a boolean variable, named DataIsSaved, in the application code. DataIsSaved indicates whether or not all data are saved in the database. Mark wants to prevent Form1 from closing until all the changes are saved in the database.
Which of the following code will he use to accomplish this?
- A . protected void Form1_Leave(object sender, System.ComponentModel.CancelEventArgs
e) {
if(!DataIsSaved) - B . Cancel = false; else
- C . Cancel = true;
} - D . protected void Form1_Leave(object sender, System.ComponentModel.CancelEventArgs
e) {
if(!DataIsSaved) - E . Cancel = true; else
- F . Cancel = false;
} - G . protected void Form1_Closed(object sender, System.ComponentModel.CancelEventArgs e) { if(!DataIsSaved)
- H . Cancel = false; else
- I . Cancel = true;
} - J . protected void Form1_Closing(object sender, System.ComponentModel.CancelEventArgs e) { if(!DataIsSaved)
- K . Cancel = false; else
- L . Cancel = true;
} - M . protected void Form1_Closed(object sender,
System.ComponentModel.CancelEventArgs e) {
if(!DataIsSaved) - N . Cancel = true;
else - O . Cancel = false;
} - P . protected void Form1_Closing(object sender,
System.ComponentModel.CancelEventArgs e) {
if(!DataIsSaved) - Q . Cancel = true;
else - R . Cancel = false;
}
John works as a Web Developer for ABC Inc. He develops an ASP.NET application, named MyApp1, using Visual Studio .NET. The application will be used in the Sales department to generate monthly reports. John wants to deploy the application on the company’s intranet. The company uses Microsoft Windows authentication. John wants to deny access to all the members of the Guest1 role.
Which of the following attributes will he use in the < authorization > element of the application’s Web.config file to accomplish the task?
- A . <deny roles="Guest1" />
- B . <deny="Guest1" />
- C . <deny users="Guest1" />
- D . <deny users=Guest1("All") />
You work as an Enterprise Application Developer for SunInfo Inc. The company uses Visual Studio 2008 as its application development platform. You create a Windows Forms
application using .NET Framework 3.5. You want to notify the users when a print job has finished.
Which of the following events will you use to accomplish the task?
- A . PrintDocument.PrintPage
- B . PrintDocument.EndPrint
- C . PrintDocument.QueryPageSettings
- D . PrintDocument.BeginPrint