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

Viewing page 4 out of 14 pages
Viewing questions 31-40 out of questions
Questions # 31:

You work as a Windows Application Developer for ABC Inc. The company uses Visual Studio .NET 2008 as its application development platform. You create a Windows application using .NET Framework 3.5. The application uses a SQL Server 2008 database on the network.

You use ADO.NET Data Services that exposes data as resources that are addressable by URIs. You need to access and change data, specifically the standard HTTP verbs of GET, PUT, POST, and DELETE. What will you do to accomplish this?

Options:

A.

Use Object Relational Mapping.


B.

Use GDI objects.


C.

Use Representational State Transfer.


D.

Use a WCF Service.


Questions # 32:

You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET 2005 as its application development platform. You create an application for the company. You need to validate the phone number passed to a class as a parameter in the application. Which of the following is the most effective way to verify that the format of the data matches a phone number?

Options:

A.

Regular expressions


B.

Nested If statements


C.

Use the String.Length property


D.

A try/catch block


Questions # 33:

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 the .NET Framework. You create a class named Master that contains numerous child objects. The Master class contains a method named ProcessChild that executes actions on the child objects. The Master class objects will be serializable. You must ensure that the ProcessChild method is executed subsequent to the Master class object and all its child objects are reformed. Which of the following actions will you take to accomplish the task?

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

Options:

A.

Create an OnDeserialization method that calls the ProcessChild method.


B.

Apply the OnDeserializingAttribute class to the ProcessChild method.


C.

Specify that the Master class implements the IDeserializationCallback interface.


D.

Apply OnSerializedAttribute to the ProcessChild method.


E.

Specify that the Master class inherits from the ObjectManager class.


Questions # 34:

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 the .NET Framework 3.5. You host the application on a Web farm that consists of three Web servers. You should configure the ASP.NET application for session state to meet the following requirements:

l Session state data should not be lost if a server fails.

l Session state must be maintained across browser requests by the same user.

You are required to configure the Web.config file to meet these requirements. Which of the following configurations will you use?

Options:

A.


B.


C.


D.


Questions # 35:

You work as a Software Developer for ABC Inc. The company has several branches worldwide. The company uses Visual Studio.NET 2005 as its application development platform. You are creating an application for the branch in China. You are also implementing encoding in the application for Chinese language. Which of the following encoding types will you use to support Chinese language?

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

Options:

A.

UTF-16


B.

UTF-8


C.

UTF-32


D.

ASCII


Questions # 36:

John works as a Web Developer for ProLabs Inc. He develops an ASP.NET application, named

MyWebApp1, using Visual Studio .NET. One of the pages in the application is named as Page1.aspx, which does not need to maintain session state. To improve the performance of the application, John wants to disable session state for Page1. Which of the following actions will he take to accomplish the task?

Options:

A.

Set the EnableViewState attribute in the @ Page directive to false.


B.

Set the DisableSessionState attribute in the @ Page directive to true.


C.

In the sessionState configuration section of the application's Web.config file, set the mode attribute to off.


D.

Set the EnableSessionState attribute in the @ Page directive to false.


Questions # 37:

Dennis works as a Software Developer for BlueWell Inc. He develops an application, named App1, using Visual C# .NET. App1 contains a class, named Class1, which is stored in a namespace, named BlueWell.Namespace1. Dennis wants to create another class, named Class2, and use Class1 from Class2. For this, he wants to define an alias, named Alias1, and use it in Class2.

Which of the following statements will Dennis use to define Alias1?

Options:

A.

BlueWell.Namespace1.Class1 : Alias1;


B.

BlueWell.Namespace1.Class1, Alias1;


C.

using Alias1 = BlueWell.Namespace1.Class1;


D.

Alias1 = BlueWell.Namespace1.Class1;


Questions # 38:

Mark works as a Software Developer for TechBook Inc. He develops an ASP.NET application, named MyApp1, using Visual Studio .NET. MyApp1 contains an ASP.NET page that is used to register new participants to a quiz contest, which is to be held recently in the city of New York. In order to take part in the quiz contest, an applicant must be between the age of fifteen and twenty-five. Mark adds a TextBox control, named txtDateOfBirth, to the page. He wants to ensure that each prospective participant enters his date of birth in txtDateOfBirth. He also wants to verify that prospective participants meet the age requirement. For this, Mark wants to use a custom client script function. He also wants to minimize the number of trips made to the server. Which of the following actions will Mark perform to accomplish the task?

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

Options:

A.

Add a RequiredFieldValidator control to the page. Set its ControlToValidate property to txtDateOfBirth.


B.

Set the ClientValidationFunction property of the CustomValidator control to the name of the script function that performs the client-side validation.


C.

Set the AutoPostBack property of txtDateOfBirth to True.


D.

Add a CustomValidator control to the page. Set its ControlToValidate property to txtDateOf Birth.


E.

Set the ClientValidationFunction property of txtDateOfBirth to the name of the script function that performs the client-side validation.


F.

Set the AutoPostBack property of txtDateOfBirth to False.


Questions # 39:

Sam works as a Software Developer for BlueWell Inc. He creates a .NET Remoting object named MyObj using Visual Studio .NET. He wants to configure MyObj to send and receive confidential information from an XML file stored in an encrypted hard drive. What will he do to accomplish the task?

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

Options:

A.

Implement a declarative security check.


B.

Implement an imperative security check.


C.

Use the SecurityAction.Demand value for the SecurityAction flag.


D.

Use the SecurityAction.RequestMinimum value for the SecurityAction flag.


Questions # 40:

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 .NET Framework 3.5. The application uses the health monitoring events to raise application audit events in the following situations:

l When users login

l When users modify their password

l When users perform other security-related actions

You must ensure that the application logs all audit events for all applications on the Web server.

What will you do?

Options:

A.

Configure the eventMappings Element in the Web.config file to allow an entry for success a udits.


B.

Configure the eventMappings Element in the Web.config file to allow a single entry for auditing events that is present for all audits.


C.

Configure the eventMappings Element in the Machine.config file to allow an entry for success audits.


D.

Configure the eventMappings Element in the Machine.config file to allow a single entry for auditing events that is present for all audits.


Viewing page 4 out of 14 pages
Viewing questions 31-40 out of questions