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

Free GIAC GSSP-NET-CSHARP Practice Exam with Questions & Answers | Set: 5

Questions 41

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 be used by school children to read a sequential chain of characters. What will you do to accomplish this task?

Options:
A.

Use the File class.

B.

Use the TextWriter class.

C.

Use the TextReader class.

D.

Use the BinaryReader class.

GIAC GSSP-NET-CSHARP Premium Access
Questions 42

You are working on an ASP.NET Web application and using .NET 2.0 as the application development platform. Authenticated users want their passwords to recover through the application. Which of the following are necessary to enable the user password recovery option for your application?

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

Options:
A.

Using an ASP.NET membership for authentication.

B.

Sending e-mail messages to the users.

C.

Using the PasswordRecovery control.

D.

Using the ChangedPassword control.

Questions 43

You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET 2008 as its application development platform. You are creating a custom control library using .NET Framework 3.5. Developers will use this custom control on Web pages in multiple applications. Each and every ASP.NET application will be configured by using different state management approaches. You have to ensure consistent state management for all instances of the custom control. Which of the following states will you use to accomplish this task?

Options:
A.

Session state

B.

Application state

C.

Control state

D.

View state

Questions 44

Tony works as a Software Developer for TechNet Inc. He creates a satellite assembly named

SatAssembly1. He wants to install SatAssembly1 in the global assembly cache. Therefore, he compiles the assembly by using the Al.exe tool and signs SatAssembly1. Which of the following possible tools will Tony use to sign SatAssembly1?

Each correct answer represents a complete solution. Choose two.

Options:
A.

Installer tool

B.

File Signing tool

C.

.NET Services Installation tool

D.

Strong Name tool

Questions 45

You can use LINQ in an ASP.NET application through the LinqDataSource control, the __________ control, or by creating LINQ queries.

Options:
A.

ADO.NET DataSet

B.

ObjectDataSource

C.

SqlDataSource

D.

XmlDataSource

Questions 46

You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET as its application development platform. You need to write a code segment that transfers the contents of a byte array named ToSend by using a NetworkStream object named NetStr. You want to use a cache of size only 8,192 bytes. Which of the following code segments will you use to accomplish the task?

Options:
A.

MemoryStream MStream = new MemoryStream(8192);

NetStr.Write(ToSend, 0, (int) MStream.Length);

B.

BufferedStream BStream = new BufferedStream(NetStr);

BStream.Write(ToSend, 0, 8192);

C.

BufferedStream BStream = new BufferedStream(NetStr, 8192);

BStream.Write(ToSend, 0, ToSend.Length);

D.

MemoryStream MStream = new MemoryStream(8192);

MStream.Write(ToSend, 0, (int) NetStr.Length);

Questions 47

You work as a Windows Application Developer for ABC Inc. The company uses Visual Studio .NET as its application development platform. You create a Windows application using .NET Framework 2.0. The application allows computer engineers to design circuit boards for different types of hardware. You create a custom control that represents the design surface. You are required to highlight the vacant areas on the design surface where a component can be dropped. Which of the following events will you use to accomplish this task?

Options:
A.

DragOver

B.

QueryContinueDrag

C.

DragEnter

D.

DragLeave

Questions 48

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 ensure that when an unhandled exception occurs on the site, a custom error page errorpage.aspx is displayed. Also, you want to ensure that when the HTTP 500 error occurs, the servererror.aspx page is displayed. Which of the following settings will you add inside the system.web section of the Web.config file to accomplish the task?

Options:
A.

<compilation debug="true">

</compilation>

B.

<customErrors defaultRedirect="errorpage.aspx" mode="on">

C.

</customErrors defaultRedirect="servererror.aspx" mode="on">

D.

Questions 49

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 Web services using the .NET Framework. The access control to Web services is part of your accountability. You are currently revealing an existing class as a XML Web service. You are required to ensure that the XML Web service is exclusively accessible to Web service clients within the ABC Inc. domain. To fulfill this requirement you want to change the access modifiers on methods that must be represented as Web methods. What will you do to accomplish this task?

Options:
A.

Use the Public access modifier for each Web method.

B.

Use the Private access modifier for each Web method.

C.

Use the Internal or Friend access modifier for each Web method.

D.

Use the Protected access modifier for each Web method.

Questions 50

What is the main purpose of a try-catch block?

Options:
A.

To obtain and use resources that are being caught.

B.

To signal the occurrence of an exception during the program execution.

C.

To catch and handle an exception generated by an executable code.

D.

To ensure that the necessary cleanup of external resources is done immediately.

GIAC Related Exams

GIAC Free Exams

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