New Year Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

All GSSP-.NET Test Inside GIAC Questions

Page: 8 / 18
Total 491 questions

GIAC GIAC Secure Software Programmer - C#.NET Questions and Answers

Question 29

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 perform security related operations. You want to manage the role-based security in the application. What will you do to accomplish the task?

Options:

A.

Use the StackTrace property.

B.

Use the Process class.

C.

Use the WindowsIdentity class.

D.

Use the WindowsPrincipal class.

Question 30

Maria works as a Software Developer for ABC Inc. She develops a Console application using Visual Studio .NET 2005. She writes the following code in the application:

String st="Hello World";

int MyBegin=1;

int MyEnd=3;

Console.WriteLine(st.Substring(MyBegin, MyEnd));

What will happen when she tries to compile and execute the application?

Options:

A.

The application will compile successfully and display "el" as the output.

B.

The application will compile successfully and display "ell" as the output.

C.

A compile-time error will occur stating "No method matching substring(int, char) exists".

D.

The application will compile successfully and display "Hel" as the output.

Question 31

Allen works as a Software Developer for ABC Inc. The company uses Visual Studio .NET 2005 as its application development platform. Allen creates an application that will be used to handle security information related to the company. He wants to secure the application by using the most secure authentication method. The method should have a strong key for encryption and send the encrypted password across the network. Which of the following authentication methods will Allen use to accomplish the task?

Options:

A.

Integrated Windows authentication

B.

Basic authentication

C.

Certificate-based authentication

D.

Digest authentication

Question 32

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. You are using regular expression in the application to validate email, phone number, etc. You are required to match any single character except "\n". Which of the following wildcard characters will you use to accomplish the task?

Options:

A.

x/y

B.

+

C.

?

D.

.

Page: 8 / 18
Total 491 questions