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 13,2025.
- Exam Code: GSSP-.NET
- Exam Name: GIAC Secure Software Programmer - C#.NET
- Certification Provider: GIAC
- Latest update: Feb 13,2025
Mark works as a Software Developer for Mansoft Inc. He develops an application using Visual
Studio .NET 2005.
He writes the following code snippet in the application:
public class MyClass
{
public static void Main(String[] args)
{
try
{
return;
}
finally
{
Console.WriteLine("Finally");
}
}
}
What will happen when Mark attempts to compile and execute the code snippet?
- A . The code snippet will compile successfully and the output will be displayed as "Finally".
- B . The code snippet will compile successfully, but an exception message will be displayed at ru ntime.
- C . A compile-time error will occur because the catch block is not defined.
- D . The code snippet will compile successfully, but nothing will be displayed as output on execu tion.
Which of the following modifiers in C# will you use if you do NOT want a custom-build component to be a base class?
- A . sealed
- B . virtual
- C . override
- D . static
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.
Smith works as a Software Developer for BlueWell Inc. He develops a Web application named WebApp by using Visual Studio .NET. He wants to deploy WebApp on a target computer. He wants to take precautionary measures in the application so that no issues may arise while deploying it.
Which of the following measures will Smith take to accomplish the task? Each correct answer represents a complete solution. Choose all that apply.
- A . Organize data in the application configuration files.
- B . Use a tracing feature to trace and gather information about each step in the program execu tion.
- C . Use a technique to avoid errors and to store error-related information.
- D . Use a debugger to step through the application code while it is running.
- E . Respond to health monitoring events in order to log performance and error-related conditio ns.
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 . PGP
- D . PPTP
You work as a software developer for ManSoft Inc. The company uses Visual Studio .NET 2005 as its application development platform. You use C#. NET to create an assembly that will be consumed by other Visual Studio .NET applications. No Permissions should be granted to this assembly unless the assembly makes a minimum permission request. You need to write a code for the assembly that makes a minimum permission request.
Which of the following code segments will you use to accomplish this task?
- A . [Assembly: PermissionSet(SecurityAction.PermitOnly, Unrestricted = true)]
- B . [Assembly: PermissionSet(SecurityAction.RequestOptional, Unrestricted = true)]
- C . [Assembly: PermissionSet(SecurityAction.PermitOnly, Unrestricted = false)]
- D . [Assembly: PermissionSet(SecurityAction.RequestOptional, Unrestricted = false)]
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 redirect users to a default error page if an unhandled error occurs within your site.
Which of the following actions will you perform to accomplish the task?
- A . Set the mode attribute of the customErrors element to Off and the defaultRedirect attribute to an error page within your site.
- B . Set the statusCode attribute of the error element to 404 and the redirect attribute to a custom error page.
- C . Set the redirect attribute of the error element to an error page within your site.
- D . Set the mode attribute of the customErrors element to On and the defaultRedirect attribute to an error page within your site.
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 an application using .NET Framework 2.0. The application has multiple threads that execute one after another. You want to modify the application and schedule the threads for execution based on their assigned priority.
What will you do to accomplish the task? Each correct answer represents a complete solution. Choose all that apply.
- A . Use the Highest priority.
- B . Use the BelowNormal priority.
- C . Use the Normal priority.
- D . Use the Middle priority.
- E . Use the Lowest priority.
David works as a Software Developer for McRobert Inc. He develops a Web application named App1 using Visual Studio .NET. App1 contains several Web forms that display information about an online shopping process. David wants to provide a Web-based shopping catalog to users. However, he wants to ensure that the information about the shopping catalog is secure and requires no server resources.
What will David do to accomplish the task?
- A . Use a query string as a user preference.
- B . Use a session state variable as a user preference.
- C . Use an application state variable as a user preference.
- D . Use a session cookie as a user preference.
You work as a Software Developer for ABC Inc. You create a Console application to create multiple satellite assemblies.
Which of the following statements about satellite assemblies are true? Each correct answer represents a complete solution. Choose all that apply.
- A . They do not contain any executable code.
- B . An application can have only one satellite assembly.
- C . The Assembly Linker tool is used to compile .resources files into satellite assemblies.
- D . They are used to deploy language-specific resources for an application.