Pass the GIAC GIAC Certification GSSP-NET-CSHARP Questions and answers with CertsForce

Viewing page 8 out of 15 pages
Viewing questions 71-80 out of questions
Questions # 71:

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 has multiple threads that execute one after another. You want to ensure that the application terminates only when all the threads complete their tasks. Which of the following methods will you use to accomplish the task?

Options:

A.

Join


B.

Abort


C.

Sleep


D.

Suspend


Questions # 72:

John works as a Web Developer for ABC Inc. He develops an ASP.NET application, named MyApp1, using Visual Studio .NET. The application will be used in the Sales department to generate monthly reports. John wants to deploy the application on the company's intranet. The company uses Microsoft Windows authentication. John wants to deny access to all the members of the Guest1 role. Which of the following attributes will he use in the <authorization> element of the application's Web.config file to accomplish the task?

Options:

A.


B.


C.


D.


Questions # 73:

Sam works as a Software Developer for GenTech Inc. He creates a .NET remote object, named Object1. Object1 holds a Hashtable object, or the name and value pairs. Seven client applications use Object1 to get and set property values. Sam wants to ensure that the properties set by one of the client applications can be accessed by all the applications using Object1. Choose the appropriate actions he will take to accomplish this.

Question # 73

Options:

A.

Questions # 74:

You work as an ADO.NET Application Developer for ABC Inc. The company uses Microsoft Visual Studio .NET 2008 as its application development platform. You create an ADO.NET application by using .NET Framework 3.5. You need to represent a strongly typed lambda expression as a data structure in the form of an expression tree. Which of the following classes will you use to accomplish the task?

Options:

A.

MethodCallExpression


B.

LambdaExpression


C.

Expression


D.

Expression (TDelegate)


Questions # 75:

Sam works as a Software Developer for SamTech Inc. He creates an XML Web service, named

WebService1, using Visual Studio .NET. WebService1 uses the .NET Framework security class libraries to implement security. It implements role-based authorization based on a SQL Server database containing user names. Sam adds the following statements to the Web service codE. using System.Security.Principal; using System.Threading;

Sam wants to ensure that only validated users are permitted to access WebService1 by entering their user names and passwords in TextBox controls, named Text1 and Text2. He wants to implement imperative security check on WebService1. He also wants to ensure that users are assigned the Manager role and the Subordinate role by default. Which of the following classes will Sam use to accomplish the task?

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

Options:

A.

WindowsPrincipal


B.

GenericIdentity


C.

WindowsIdentity


D.

GenericPrincipal


Questions # 76:

Allen works as a Software Developer for Mansoft Inc. He develops an application using Visual Studio .NET 2005. The application connects to a SQL Server database using a SqlConnection object named NewConnection. Allen creates a few stored procedures in the database. Sometimes an error occurs, when a user executes stored procedures. Allen wants to add an error-handling code to the application to handle errors that occur on executing stored procedures. Which of the following code segments will he use to accomplish this task?

Options:

A.

try

{

NewConnection.Open();

}

catch(DBConcurrencyException exep)

{

//Error-handling code

}


B.

try

{

NewConnection.Open();

}

catch(SqlException exep)

{

//Error-handling code

}


C.

try

{

NewConnection.Open();

}

catch(DataException exep)

{

//Error-handling code

}


D.

try

{

NewConnection.Open();

}

catch(InvalidCastException exep)

{

//Error-handling code

}


Questions # 77:

You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET as its application development platform. You are creating an application using the .NET Framework. The application contains a class named globalInfo. You need to serialize all public and nonpublic data of the globalInfo class to ensure that the class generates the minimum byte stream so that the minimum load is placed upon network resources. What will you do?

Options:

A.

Use the XmlSerializer class.


B.

Use the BinaryFormatter class.


C.

Use the SoapFormatter class.


D.

Use the IXmlSerializable interface.


Questions # 78:

Allen works as a Software Developer for Mansoft Inc. He creates an ASP.NET Web application named MyApplication. He wants to use the Health Monitor to monitor MyApplication to record details about events rather than just the values of specific data counters. Which of the following health monitoring child elements will he use to accomplish the task?

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

Options:

A.

Rules


B.

Profiles


C.

bufferModes


D.

customErrors


E.

eventMappings


F.

Providers


Questions # 79:

You work as a Software Developer for ManSoft Inc. You create an application using Visual Studio .NET 2005. You are using the Custom authentication provider in the application. In order to enable the Custom authentication provider, you have to make an entry in the Web.config file for the application. Which of the following entries will you use to accomplish the task?

Options:

A.

<authentication mode="Passport" />


B.

<authentication mode="Custom" />


C.

<authentication mode="Windows" />


D.

<authentication mode="None" />


E.

<authentication mode="Forms" />


Questions # 80:

You work as a Software Developer for ABC Inc. The company uses Visual Studio.NET as its application development platform. You create an application using .NET Framework. The application is using an assembly. You want to ensure that the application provides the best performance. Security is not a consideration. Which of the following permission sets will you use to accomplish the task?

Options:

A.

Everything


B.

FullTrust


C.

Nothing


D.

Execution


E.

LocalIntranet


F.

Internet


Viewing page 8 out of 15 pages
Viewing questions 71-80 out of questions