Weekend Sale 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: Board70

GSSP-.NET Exam Dumps - GIAC Certification Questions and Answers

Question # 54

You work as a Software Developer for ABC Inc. You use C# .NET to develop a windows application. The application will implement a role-based authorization scheme that is based on a Microsoft SQL Server database of user names. Users will enter their names in a text box named UserName. You must ensure that users are assigned the supervisor role and the PG role by default. Which of the following code segments will you use to accomplish this task?

Options:

A.

GenericIdentity identity =

new GenericIdentity(UserName.Text);

string[] RoleArray = {"Supervisor", "PG"};

GenericPrincipal principal = new GenericPrincipal(identity, RoleArray);

B.

GenericIdentity identity =

new GenericIdentity(UserName.Text);

string[] RoleArray = {"Supervisor", "PG"};

WindowsPrincipal principal = new WindowsPrincipal(identity);

C.

WindowsIdentity identity =

new WindowsIdentity.GetCurrent();

string[] RoleArray ={"Supervisor", "PG"};

GenericPrincipal principal = new GenericPrincipal(identity, RoleArray);

D.

WindowsIdentity identity =

new WindowsIdentity.GetAnonymous();

string[] RoleArray = {"Supervisor", "PG"};

WindowsPrincipal principal = new GenericPrincipal(identity, RoleArray);

Buy Now
Question # 55

Maria works as a Software Developer for ManSoft Inc. She develops an application using Visual Studio .NET 2005. Maria wants to ensure that only employees of the Accounts department can view the application. Therefore, she decides to change the configuration settings in the Web.config file.

What will Maria do to accomplish the task?

Options:

A.

Add the element in the Web.config file. Then add the attribute in the element.

B.

Add the element in the Web.config file.

C.

Add the element in the Machine.config file. Then add the

roles="Accounts" /> attribute in the element.

D.

Add the element in the Web.config file.

Buy Now
Question # 56

Patrick works as a Software Developer for BlueWell Inc. He develops an ASP.NET application

named App1 using Visual Studio .NET. The application displays employee registration form on the company's Web site. The form contains the following fields:

l First Name

l Last Name

l Date of Birth

l E-mail

The application contains a TextBox control for each field. Patrick wants the application to provide a user-defined error message whenever an employee makes a wrong entry on the form. Patrick uses a CustomValidator validation control in the application. Which of the following properties is mandatory if the CustomValidator control is used to validate a user input data entry?

Options:

A.

EnableViewState

B.

IsValid

C.

EnableTheming

D.

ErrorMessage

Buy Now
Question # 57

Andrew works as a Software Developer for Mansoft Inc. The company's network has a Web server that hosts the company's Web site. Andrew wants to enhance the security of the Web site by implementing Secure Sockets Layer (SSL). Which of the following types of encryption does SSL use?

Each correct answer represents a complete solution. Choose two.

Options:

A.

IPSec

B.

Asymmetric

C.

Symmetric

D.

Secret

Buy Now
Question # 58

You work as a Software Developer for Hi-Tech Inc. You develop an application using Visual Studio .NET 2005. You create an unregistered COM DLL file named Com1.dll. You want to use this Com1.dll file in your application code. However, Com1.dll needs to be registered in the Windows Registry before it is used by the application. Which of the following tools will you use to accomplish the task?

Options:

A.

Wsdl.exe

B.

Regsvr32.exe

C.

Tlbimp.exe

D.

Disco.exe

Buy Now
Question # 59

Perry works as a Web Developer for BlueWell Inc. He creates a catalog application named MyCatalog for a server using Visual Studio .NET. MyCatalog contains data that describes the pricing values of design catalogs. He wants to ensure that only authenticated users are authorized to access the data. He also wants the data to be secured at the highest level of authentication. Which of the following authentication levels will Perry use to accomplish this?

Options:

A.

Packet Privacy

B.

Packet Integrity

C.

Packet

D.

Call

Buy Now
Question # 60

Mark works as a Software Developer for GenTech Inc. He develops an application, named App1, using Visual Studio .NET. The application contains a Form control, named Form1, which enables users to edit information in a SQL Server database. Mark wants to save all the changes made by users in the database. He defines a boolean variable, named DataIsSaved, in the application code. DataIsSaved indicates whether or not all data are saved in the database. Mark wants to prevent Form1 from closing until all the changes are saved in the database. Which of the following code will he use to accomplish this?

Options:

A.

protected void Form1_Leave(object sender, System.ComponentModel.CancelEventArgs e) {

if(!DataIsSaved)

B.

Cancel = false;

else

C.

Cancel = true;

}

D.

protected void Form1_Leave(object sender, System.ComponentModel.CancelEventArgs e) {

if(!DataIsSaved)

E.

Cancel = true;

else

F.

Cancel = false;

}

G.

protected void Form1_Closed(object sender, System.ComponentModel.CancelEventArgs e) {

if(!DataIsSaved)

Buy Now
Question # 61

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 implement state management in your application. In which of the following stages of the application life cycle will your application actually start?

Options:

A.

On creation of an instance of the HttpApplication class

B.

When an instance of the ApplicationManager class is created

C.

When instances of the core objects such as HTTPContext, HTTPRequest, and HTTPResponse are created

D.

When a user first makes a request for a page in your Web site

Buy Now
Question # 62

George works as a Software Developer for GenTech Inc. He creates an application named App1 using Visual Studio .NET. App1 uses the version 2.0.0.0 of an assembly named Assembly1. However, he wants App1 to use a new version i.e. 2.1.0.0 of Assembly1. Therefore, he needs to specify Assembly1's location so that App1 can use version 2.1.0.0 of Assembly1. What will George use to accomplish the task?

Each correct answer represents a complete solution. Choose all that apply.

Options:

A.

The element.

B.

A managed code.

C.

The element.

D.

An unmanaged code.

Buy Now
Question # 63

You work as a Software Developer for ABC Inc. You develop a Windows application named

MyApp1. MyApp1 contains a Windows form named MyWinForm1. The form uses several controls such as Button, TextBox, and Label. You want mouse click events to be raised in the form. You want to use the mouse events that pass an instance of EventArgs in the signature of the event handler of a Button control. Which of the following events will you use in the application to accomplish the task?

Each correct answer represents a complete solution. Choose three.

Options:

A.

MouseMove

B.

MouseDown

C.

MouseHover

D.

MouseEnter

E.

MouseUp

F.

MouseLeave

Buy Now
Exam Code: GSSP-.NET
Exam Name: GIAC GIAC Secure Software Programmer - C#.NET
Last Update: Aug 24, 2025
Questions: 491
GSSP-.NET pdf

GSSP-.NET PDF

$25.5  $84.99
GSSP-.NET Engine

GSSP-.NET Testing Engine

$28.5  $94.99
GSSP-.NET PDF + Engine

GSSP-.NET PDF + Testing Engine

$40.5  $134.99