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: 15

Questions 141

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

GIAC GSSP-NET-CSHARP Premium Access
Questions 142

Peter works as a Software Developer for GenTech Inc. He develops an application named App1 using Visual Studio .NET. App1 uses an assembly named Assembly1. Peter installs App1 and Assembly1 to the C:\Program Files\App1 and C:\Program Files\Assembly1 folders respectively. While executing App1, Peter finds that App1 fails to execute with TypeLoadException. What will he do to resolve this issue.

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

Options:
A.

Uninstall Assembly from the C:\Program Files\Assembly1 folder.

B.

Reinstall Assembly1 to the C:\Windows\Microsoft .NET Framework\Assembly1 folder.

C.

Reinstall Assembly1 to the C:\Program Files\App1 folder.

D.

Change the system path to C:\Program Files\Assembly1.

Questions 143

You work as an Enterprise Application Developer for ABC Inc. The company uses Visual Studio .NET 2008 as its application development platform. You create an ASP.NET application using .NET Framework 3.5.

The application contains a Web page that will be accessible through the Internet. The Web page holds a Web form that captures data that will be stored in a SQL Server 2008 database. The form at present uses a POST method. The Web page also holds JavaScript validation routines. The validation routines will be used to ensure that the input to the form meets the business requirements and does not contain any code that is unsafe.

There is currently no server-side validation being performed. You are required to evaluate the application and resolve security flaws in the Web page. What will you do?

Options:
A.

Change the method of the form action to GET.

B.

Use Script Controls and Extenders.

C.

Create new server-side validation routines.

D.

Move the validation routines to a content page.

Questions 144

You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET 2008 as its application development platform. You have recently finished the development of an ASP.NET Web application using .NET Framework 3.5. The application must be deployed by using the http://www.ABC.com/ URL. The application has several Web forms.

You need to implement Really Simple Syndication (RSS) feeds functionality. The RSS feeds will be used by the http://www.ABC.com/Updates.rss URL. You must ensure that the application displays the RSS-formatted information when accessing the given URL. What will you do to accomplish this?

Each correct answer represents a part of the solution. Choose two.

Options:
A.

Create and register a custom HttpHandler class that releases the RSS feeds.

B.

Create a Web form named Updates that releases the RSS feeds.

C.

Create an ASMX Web service component named Updates.

D.

Add the HttpHandler class to the .rss extension.

E.

Create and register a custom HttpModule class.

Questions 145

You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET 2008 as its application development platform. You have recently finished development of an ASP.NET Web application using .NET Framework 3.5. You have written complex foreach loops to retrieve data from collections. However, you want to modify the application, so that it uses LINQ queries in place of foreach loops. What will be the advantages of using LINQ queries instead of foreach loops?

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

Options:
A.

They are more concise and readable, particularly when filtering multiple conditions.

B.

They can be ported to other data sources with slight or no alteration.

C.

They provide powerful filtering, ordering, and grouping capabilities with least application co de.

D.

They provide lambda expression in the form of an expression tree.

Questions 146

You work as a Software Developer for Blue Well Inc. The company uses Visual Studio .NET 2005 as its application development platform. You create an application using Visual C# .NET and perform the following operations:

l Create a static array.

l Sort the array.

l Display the sorted array.

Which of the following code snippets will you use to accomplish the task?

Options:
A.

int array1[] = {12, 16, 18, 22};

Array.Sort(array1);

Console.WriteLine(array1[0], array1[1], array1[2], array1[3]);

B.

int[] array1 = {12, 16, 18, 22};

Array.Sort(array1);

Console.WriteLine("{0}, {1}, {2}, {3}");

C.

int[] array1 = {12, 16, 18, 22};

Array.Sort(array1);

Console.WriteLine("{0}, {1}, {2}, {3}", array1[0], array1[1], array1[2], array1[3]);

D.

int[] array1 = {12, 16, 18, 22};

Array.Sort(array1);

Console.WriteLine("{0}, {1}, {2}, {3}", array1[a], array1[b], array1[c], array1[d]);

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-.NET - GIAC GIAC Secure Software Programmer - C#.NET Exam
How to pass GIAC GSSP-Java - GIAC Secure Software Programmer – Java Exam

GIAC Free Exams

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