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

Page:    1 / 99   
Total 491 questions

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. You create a Web form in the application that permits users to provide personal information. You add a DropDownList control to the Web form to retrieve the residential status of users. The default item that the DropDownList control displays is the "Select Country" option. You have to ensure that users select a country other than the default option. Which of the following validation controls should you use to accomplish this task?

  • A. RangeValidator
  • B. RequiredFieldValidator
  • C. CustomValidator
  • D. RegularExpressionValidator


Answer : B

You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET
2005 as its application development platform. You create an application for the company.
You need to validate the phone number passed to a class as a parameter in the application. Which of the following is the most effective way to verify that the format of the data matches a phone number?

  • A. Regular expressions
  • B. Nested If statements
  • C. Use the String.Length property
  • D. A try/catch block


Answer : A

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 Files\ComPlus Applications fold er.
  • C. Run the command line tool: gacutil.exe /i myservices.dll.
  • D. Copy the serviced component assembly into the C:\WINDOWS\system32\Com folder.


Answer : C

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


Answer : D

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 have recently finished the development of an application using .NET
Framework 2.0. The application can be used only for cryptography. Therefore, you have implemented the application on a computer. What will you call the computer that implemented cryptography?

  • A. Cryptographic toolkit
  • B. Cryptosystem
  • C. Cryptographer
  • D. Cryptanalyst


Answer : B

Page:    1 / 99   
Total 491 questions