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 Feb 16,2025.
- Exam Code: GSSP-.NET
- Exam Name: GIAC Secure Software Programmer - C#.NET
- Certification Provider: GIAC
- Latest update: Feb 16,2025
You work as a Software Developer for ABC Inc. The company has several branches worldwide. 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 all the branches of the company. You are using the CompareInfo class for culture-sensitive string comparisons.
You write the following code in the application:
String s1 = "C rtify";
String s2 = "c rtify";
String s3 = "c rtify";
You need to compare the s1 string with the s2 string and ensure that the string comparison must ignore case.
Which of the following code segments will you use to accomplish the task?
- A . CompareInfo cmp = CultureInfo.InvariantCulture.CompareInfo;
Console.WriteLine(cmp.Compare(s1, s2, CompareOptions.IgnoreCase)); - B . CompareInfo cmp = CultureInfo.InvariantCulture.CompareInfo;
Console.WriteLine(cmp.Compare(s1, s2, CompareOptions.None)); - C . CompareInfo cmp = CultureInfo.InvariantCulture.CompareInfo;
Console.WriteLine(cmp.Compare(s1, s2, CompareOptions.Ordinal)); - D . CompareInfo cmp = CultureInfo.InvariantCulture.CompareInfo;
Console.WriteLine(cmp.Compare(s1, s2, CompareOptions.OrdinalIgnoreCase));
You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET 2005 as its application development platform. You have recently finished development of a Windows application using .NET Framework. Users report that the application is not running properly. When the users try to complete a particular action, the following error message comes out:
Unable to find assembly ‘myservices, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=29b5ad26c9de9b95′.
You notice that the error occurs as soon as the application tries to call functionality in a serviced component that was registered by using the following command:
regsvcs.exe myservices.dll
You must make sure that the application can call the functionality in the serviced component with no exceptions being thrown.
What will you do to accomplish this task?
- A . Run the command line tool: regasm.exe myservices.dll.
- B . Copy the serviced component assembly into the C:Program FilesComPlus Applications fold er.
- C . Run the command line tool: gacutil.exe /i myservices.dll.
- D . Copy the serviced component assembly into the C:WINDOWSsystem32Com folder.
Allen works as a Software Developer for ABC Inc. The company uses Visual Studio.NET as its application development platform. He creates an application using .NET Framework. He wants to encrypt all his e-mails that he sends to anyone.
Which of the following will he use to accomplish the task?
- A . PPP
- B . FTP
- C . PPTP
- D . PGP
John works as a Software Developer for DawnStar Inc. He creates a class, named MyClass1. He wants to generate a key pair that he will use to give the compiled assembly a strong name.
Which of the following tools will he use to accomplish the task?
- A . Installutil.exe
- B . Gacutil.exe
- C . Sn.exe
- D . Al.exe
You work as a Software Developer for HiTech Inc. You develop a Web application named
MyWebApp. The application contains several Web pages that display a registration form for a user. You want to perform user input data validation at the server-side, so that you can disable the client-side data input validation.
Which of the following actions will you take to accomplish the task?
- A . Set the CausesValidation property of a server control to false.
- B . Set the Enabled property of a validation control to true.
- C . Set the Enabled property of a validation control to false.
- D . Set the EnableClientScript property of a validation control to true.
- E . Set the EnableClientScript property of a validation control to false.
Which of the following is the best encryption algorithm to encrypt and decrypt messages?
- A . AES
- B . TripleDES
- C . DES
- D . RSA
You work as a Windows Application Developer for ABC Inc. The company uses Visual Studio .NET 2008 as its application development platform. You are creating a Windows Forms application using .NET Framework 3.5. You need to develop a new control for the application. You must ensure that the control inherits the TreeView control by adding a custom node tag and a highlight color.
What will you do?
- A . Write a code segment in the DrawNode event handler to give the highlight color.
- B . Override the OnPaint method.
- C . Set the control’s DrawMode property to OwnerDrawText, and then implement a custom DrawNode event handler.
- D . Set the control’s DrawMode property to OwnerDrawAll, and then implement a custom DrawNode event handler.
Which of the following is an exception of background threads as compared to foreground threads?
- A . A background thread does not continue the managed execution environment running.
- B . A background thread does not affect the outcome of an unhandled exception.
- C . A background thread belongs to the managed thread pool.
- D . A background thread changes to a foreground thread at any time.
You work as an Application Developer for ABC Inc. You are assigned with developing a Web site that will handle information related to monthly sales of the company. You wish to secure the Web site so that only employees of the Accounts department can view the Web pages. You need to create roles for the employees of this department. The user account information will be stored in a SQL Server database named Database. You decide to do all this by using the Web Site Administration Tool.
Which of the following types of security will you use to accomplish the task?
- A . Forms-based authentication
- B . Integrated Microsoft Windows authentication
- C . Basic authentication
- D . Digest authentication
Which of the following providers is a block cipher that encrypts and decrypts data in blocks of 8 bytes?
- A . RNGCryptoServiceProvider
- B . SHA1CryptoServiceProvider
- C . RC2CryptoServiceProvider
- D . RSACryptoServiceProvider