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 14,2025.
- Exam Code: GSSP-.NET
- Exam Name: GIAC Secure Software Programmer - C#.NET
- Certification Provider: GIAC
- Latest update: Sep 14,2025
You work as a Software Developer for ABC Inc. The company uses Visual Studio.NET 2005 as its application development platform. You are creating an application using .NET Framework 2.0. The application will be used by school children to read a sequential chain of characters.
What will you do to accomplish this task?
- A . Use the File class.
- B . Use the TextWriter class.
- C . Use the TextReader class.
- D . Use the BinaryReader class.
Which of the following is required to be implemented by marshal-by-value objects to implement custom serialization rules?
- A . ISerializable
- B . SerializableAttribute
- C . ISerializableAttribute
- D . ISerialize
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:
l All unanticipated errors are logged.
l Logging is configured with a least amount of alteration to the application code.
What will you do?
- A . Override the base class for all forms in the application to add the Try/Catch blocks to all the major functionalities.
- B . Enable the <customErrors> element in the Web.config file and set the mode attribute to On .
- C . Enable the <customErrors> element in the Web.config file and set the mode attribute to RemoteOnly.
- D . Add an event handler for the Application.Error event to the Global.asax file of the applicatio n.
You can use LINQ in an ASP.NET application through the LinqDataSource control, the __________ control, or by creating LINQ queries.
- A . ADO.NET DataSet
- B . ObjectDataSource
- C . SqlDataSource
- D . XmlDataSource
Allen works as a Software Developer for ManSoft Inc. He develops an application using Visual Studio .NET 2005. Only the employees of the company use the application. Allen wants to ensure that when a request on a page is made by a user the application asks for his authentication.
Which of the following actions will Allen take to accomplish the task? Each correct answer represents a part of the solution. Choose two.
- A . Specify User.Identity to authenticate the user.
- B . Set the impersonate attribute of the <identity> element to true.
- C . Specify the username and password attributes.
- D . Set the impersonate attribute of the <identity> element to false.
Sam works as a Software Developer for GenTech Inc. He creates an ASP.NET page, named Page1, for a college Web site. Page1 is used to enroll new applicants to a certification course offered by the college. In order to get admission to the course, an applicant’s age must be between eighteen and twenty-five. The page contains several TextBox controls that are used by applicants to feed their personal details. The data entered by each applicant is then used to check the eligibility of the applicant.
One of the TextBox controls on the page is named txtDateofBirth. Sam wants to verify that the applicants meet the age requirement. He wants to perform validation both on the server-side and on the client-side. In order to validate the age, he adds a CustomValidator control, named CValidator, to the page and sets its ControlToValidate property to txtDateofBirth.
Which of the following will Sam use to accomplish the task? Each correct answer represents a part of the solution. Choose all that apply.
- A . ClientValidationFunction event
- B . ServerValidate property
- C . ServerValidate event
- D . ClientValidationFunction property
Which of the following utilities is used to encrypt credentials and session state connection strings?
- A . Aximp.exe
- B . Aspnet_regiis.exe
- C . Aspnet_compiler.exe
- D . Aspnet_setreg.exe
You work as a Web Application Developer for ABC Inc. The company uses Visual Studio .NET as its application development platform. You create a Web application using .NET Framework 2.0. You add a Web Form that contains a button named bCancel. The button allows users to exit the form. When users click the button, validation should not occur. However, during testing you find that clicking the button does not allow users to exit the form. You need to ensure that users can always exit the page.
What will you do?
- A . Set the CausesValidation property of the bCancel button to false.
- B . Set the AccessibleName property of the validation controls on the Web Form to "false".
- C . Set the ControlToValidate property of the validation controls on the Web Form to the ID of the control.
- D . Set the Enabled property of the validation controls on the Web Form to false.
You work as a Software Developer for ManSoft Inc. You use C# .NET to create an assembly named TestAssembly that will be used by other applications, including a standard COM client application. You must deploy the assembly on the COM application to a client computer. You must ensure that the COM applications can instantiate components within the assembly as COM components.
Which of the following options will you use to accomplish this task?
- A . Generate a registry file for the assembly by using the Assembly Registration Tool (Regasm.exe) and register the file on the client computer.
- B . Deploy the assembly to the global assembly cache on the client computer.
Add a reference to the assembly in the COM client application. - C . Create a strong name of the assembly by using the Strong Name tool (Sn.exe).
- D . Generate a type library for the assembly by using the Type Library Importer (Tlbimp.exe) and register the file on the client computer.
John works as a Software Developer for Blue Well Inc. He wants to create a class named
Class1 and implements the generic IComparable interface.
He writes the following code:
public class Class1 : System.IComparable<Class1>
{
}
However, John needs to compare one object of Class1 with another object.
Which of the following code statement will John include in his application?
- A . public int CompareTo(object obj){}
- B . public object CompareTo(int obj){}
- C . public object CompareTo(Class1 obj){}
- D . public int CompareTo(Class1 obj){}