Summer Special 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: bestdeal

Free GIAC GSSP-.NET Practice Exam with Questions & Answers | Set: 7

Questions 61

Which of the following providers is a block cipher that encrypts and decrypts data in blocks of 8 bytes?

Options:
A.

RNGCryptoServiceProvider

B.

SHA1CryptoServiceProvider

C.

RC2CryptoServiceProvider

D.

RSACryptoServiceProvider

GIAC GSSP-.NET Premium Access
Questions 62

Which of the following techniques is used to transmit passwords during authentication?

Options:
A.

Asymmetric encryption

B.

Hashing

C.

Salted Hash

D.

Symmetric encryption

Questions 63

You work as a Software Developer for ManSoft Inc. You use Microsoft Visual Studio to create a Web service named MyWebService. You create a SOAP message that is not secure in the Web service. You want to use the SendSecurityFilter class in the Web service to handle the transmission and securing of SOAP messages. Which of the following code segments will you use to accomplish the task?

Each correct answer represents a part of the solution. Choose all that apply.

Options:
A.

public class MySendSecurityFilter : SendSecurityFilter

{

public MySendSecurityFilter(string service, Boolean client)

{ }

public override void SecureMessage(SoapEnvelope envelope, Security security)

{

// Implement validation here

}

}

B.

public class MySendSecurityFilter : SendSecurityFilter

{

public MySendSecurityFilter(string service, Boolean client)

{

base(service,client);

}

public override void SecureMessage(SoapEnvelope envelope, Security security)

{

// Implement validation here

}

}

C.

public class MySendSecurityFilter : SendSecurityFilter

{

public MySendSecurityFilter(string service, Boolean client) : base(service,client)

{ }

public override void SecureMessage(SoapEnvelope envelope, Security security)

{

// Implement validation here

}

}

D.

public class MySendSecurityFilter : SendSecurityFilter

{

public MySendSecurityFilter(string service, Boolean client) : base(service,client)

{ }

public void SecureMessage(SoapEnvelope envelope, Security security)

{

// Implement validation here

}

}

Questions 64

You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET as its application development platform. You create a class library using the .NET Framework. The library will be used to open the NSCs of computers. Later, you will set up the class library to the GAC and provide it Full Trust permission. You write down the following code segments for the socket connections:

SocketPermission permission = new SocketPermission(PermissionState.Unrestricted);

permission.Assert();

A number of the applications that use the class library may not have the necessary permissions to open the network socket connections. Therefore, you are required to withdraw the assertion. Which of the following code segments will you use to accomplish the task?

Options:
A.

permission.PermitOnly();

B.

CodeAccessPermission.RevertDeny();

C.

permission.Deny();

D.

CodeAccessPermission.RevertAssert();

E.

permission.Demand();

Questions 65

You work as an Enterprise Application Developer for SunInfo Inc. The company uses Visual Studio 2008 as its application development platform. You create a Windows Forms application using .NET Framework 3.5. You want to notify the users when a print job has finished. Which of the following events will you use to accomplish the task?

Options:
A.

PrintDocument.PrintPage

B.

PrintDocument.EndPrint

C.

PrintDocument.QueryPageSettings

D.

PrintDocument.BeginPrint

Questions 66

You work as a Software Developer for ManSoft Inc. The company has several branches worldwide. The company uses Visual Studio.NET 2005 as its application development platform. You create an application that will be used by all the branches of the company. You use the Regex class in the application to validate some strings. You want to search an input string for an occurrence of a regular expression. Which of the following methods of the Regex class will you use to accomplish the task?

Options:
A.

Match

B.

Matches

C.

Equals

D.

IsMatch

Questions 67

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.

Options:
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.

Questions 68

Sam works as a Software Developer for GenTech Inc. He creates an ASP.NET page, named Page1, for a college Web site. Page1 is used to enroll new applicants to a certification course offered by the college. In order to get admission to the course, an applicant's age must be between eighteen and twenty-five. The page contains several TextBox controls that are used by applicants to feed their personal details. The data entered by each applicant is then used to check the eligibility of the applicant.

One of the TextBox controls on the page is named txtDateofBirth. Sam wants to verify that the applicants meet the age requirement. He wants to perform validation both on the server-side and on the client-side. In order to validate the age, he adds a CustomValidator control, named CValidator, to the page and sets its ControlToValidate property to txtDateofBirth. Which of the following will Sam use to accomplish the task?

Each correct answer represents a part of the solution. Choose all that apply.

Options:
A.

ClientValidationFunction event

B.

ServerValidate property

C.

ServerValidate event

D.

ClientValidationFunction property

Questions 69

Which of the following is TRUE about a managed thread?

Options:
A.

It is a foreground thread.

B.

It is a managed assembly.

C.

It is either a background thread or a foreground thread.

D.

It is a background thread.

Questions 70

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 the .NET Framework 3.5. The application contains two HTML pages named Error.htm and

PageNotFound.htm. You want to make sure that the following requirements are met:

l When any user requests a page that does not exist, the PageNotFound.htm page is

displayed.

l When any other error occurs, the Error.htm page is displayed. Which of the following code segments will you add to the Web.config file to accomplish this task?

Options:
A.

<customErrors mode="On" defaultRedirect="Error.htm">

</customErrors>

B.

<customErrors mode="Off">

</customErrors>

C.

</customErrors mode="On">

</customErrors>

D.

</customErrors mode="Off" defaultRedirect="Error.htm">

</customErrors>

GIAC Related Exams

How to pass GIAC G2700 - GIAC Certified ISO-2700 Specialist Practice Test Exam
How to pass GIAC GCFW - GIAC Certified Firewall Analyst Exam
How to pass GIAC GCPM - GIAC Certified Project Manager Certification Practice Test Exam
How to pass GIAC GISF - GIAC Information Security Fundamentals Exam
How to pass GIAC GISP - GIAC Information Security Professional Exam
How to pass GIAC GSSP-Java - GIAC Secure Software Programmer – Java Exam
How to pass GIAC GSSP-NET-CSHARP - GIAC GIAC Secure Software Programmer - C#.NET Exam

GIAC Free Exams

GIAC Free Exams
Prepare for GIAC certification with free access to reliable study resources and practice tests at Examstrack.