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

Viewing page 14 out of 15 pages
Viewing questions 131-140 out of questions
Questions # 131:

Which of the following session and instancing modes will you set if you require a sessionfull binding and want to create a new instance object for each client request?

Options:

A.

Set SessionMode to Allowed and IntsanceMode to PerSession.


B.

Set SessionMode to Required and IntsanceMode to Single.


C.

Set SessionMode to Required and IntsanceMode to PerCall.


D.

Set SessionMode to Allowed and IntsanceMode to PerCall.


Expert Solution
Questions # 132:

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

Expression(TDelegate)


C.

Expression


D.

LambdaExpression


Expert Solution
Questions # 133:

Hannah works as a Programmer in a college of Information Technology. The company uses Visual Studio .NET as its application development platform. The Dean of the college wants to obtain the performance report of each student. Hannah develops an application named StudentPerformanceReport by using Visual C# .NET. This application uses a SQL Server database named Database1 and a stored procedure named PROC1. PROC1 executes a query that returns the internal assessment result of each student.

Hannah uses a TextBox control named AssessmentText in the application form named MyForm. She wants to display the total test result of each student in the AssessmentText text box control.

StudentPerformanceReport uses a SqlCommand object to run PROC1. Hannah wants to write code to call PROC1. PROC1 contains an output parameter and displays its value as "@AssessmentResult" in text format. Which of the following code segments can Hannah use to accomplish this task?

Each correct answer represents a complete solution. Choose two.

Options:

A.

AssessmentText.Text = comm.Parameters["@AssessmentResult"].SourceColumn;


B.

AssessmentText.Text = (string)comm.Parameters["@AssessmentResult"].Value;


C.

AssessmentText.Text = comm.Parameters["@AssessmentResult"].Value.ToString();


D.

AssessmentText.Text = comm.Parameters["@AssessmentResult"].ToString();


Expert Solution
Questions # 134:

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 have recently finished the development of an application using .NET Framework 2.0. The application can be used only for cryptography. Therefore, you have implemented the application on a computer. What will you call the computer that implemented cryptography?

Options:

A.

Cryptographic toolkit


B.

Cryptosystem


C.

Cryptographer


D.

Cryptanalyst


Expert Solution
Questions # 135:

Which of the following modifiers is not available in C#?

Options:

A.

private


B.

friend


C.

internal


D.

public


E.

protected


Expert Solution
Questions # 136:

Which of the following classes will you use to specify that a string must be centered when drawn?

Options:

A.

StringAlignment


B.

StingFormat


C.

String


D.

LineAlignment


Expert Solution
Questions # 137:

In which of the following objects are session variables stored?

Options:

A.

SessionStateStoreData


B.

SessionStateModule


C.

SessionStateItemCollection


D.

SessionStateStoreProviderBase


Expert Solution
Questions # 138:

Which of the following security methods is used when the code requires a specific set of permissions, which are not known until runtime?

Options:

A.

Role-Based Security


B.

Windows NT Security


C.

Imperative Security


D.

Declarative Security


Expert Solution
Questions # 139:

Allen works as a Software Developer for ABC Inc. He creates an application using Visual Studio .NET 2005. He wants to ensure that the application must manage state effectively. State is how data is moved and persisted throughout the layers of the application. There are number of factors to validate state management. Which of the following factors will he consider to accomplish the task?

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

Options:

A.

State persistence


B.

Saving state


C.

Caching


D.

Shared state


E.

View state


Expert Solution
Questions # 140:

You work as a Software Developer for ABC Inc. The company uses Visual Studio.NET 2005 as its application development platform. You create a Web service using .NET Framework 2.0. You want the Web service to utilize a two step process to map XML generated by Web methods to .NET objects. What will you do to accomplish the task?

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

Options:

A.

Use deserialization


B.

Use serialization


C.

Use Marshal-by-ref objects


D.

Use Marshal-by-value objects


Expert Solution
Viewing page 14 out of 15 pages
Viewing questions 131-140 out of questions