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

Viewing page 11 out of 15 pages
Viewing questions 101-110 out of questions
Questions # 101:

Samantha works as a Software Developer for InfoWorld Inc. She develops a Web page named SalesReport.aspx for the employees of the company. However, she wants to ensure that all the requests for a particular employee are not stored on the server's memory. She also wants to ensure that no data is lost even after each user session has expired. Which of the following actions will Samantha take to accomplish the task?

Options:

A.

Use a cookieless session state for storing information.


B.

Use the profile properties feature for storing information.


C.

Use the application state for storing information.


D.

Use the session state with cookie for storing information.


Expert Solution
Questions # 102:

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 Forms application using .NET Framework 3.5. The application contains a data-bound control. The user interface (UI) for modifying data from a LinqDataSource control is typically provided through the data-bound control. You are required to perform automatic data modifications. Which of the following conditions are required to enable automatic data modifications?

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

Options:

A.

The class that is assigned to the ContextTypeName property must derive from DataContext .


B.

The GroupBy property cannot be assigned a value.


C.

The property that is assigned to the TableName property must derive from Table(TEntity).


D.

The Where property cannot be assigned a value.


E.

The Select property cannot be assigned a value.


Expert Solution
Questions # 103:

You work as a Software Developer for ABC Inc. The company uses Visual Studio.NET as its application development platform. You have recently finished development of an application using .NET Framework. The application used two threads named threadOne and threadTwo. You are required to modify the code of the application to prevent the execution of threadOne until threadTwo completes execution. What will you do to accomplish this task?

Options:

A.

Use a WaitCallback delegate to synchronize the threads.


B.

Configure threadTwo to run at a higher priority.


C.

Configure threadOne to run at a lower priority.


D.

Call the Sleep method of threadOne.


E.

Call the SpinLock method of threadOne


Expert Solution
Questions # 104:

You work as a Software Developer for ABC Inc. The company uses Visual Studio.NET 2005 as its application development platform. You are creating a .NET remoting application using .NET Framework 2.0.

The object of the application will be shared by multiple applications. You want to use simple, modular, extensible, and XML-based protocol to exchange messages between remoting applications. What will you do to accomplish the task?

Options:

A.

Use the BinaryFormatter class.


B.

Use client activated objects.


C.

Use the SoapFormatter class.


D.

Use the SOAP protocol.


Expert Solution
Questions # 105:

Charles works as a Web Developer for TechNet Inc. He develops an application named AdAgentsApp for advertising agents by using Visual Studio .NET. AdAgentsApp uses several Web services provided by the company. The employees in the IT department use only the existing port numbers 80 (HTTP protocol) and 443 (HTTPS protocol) for firewall security. However, they are forbidden to open any other new ports. These ports have been used to ensure the highest security level of authentication.

Which of the following actions should Charles take to maintain the highest security?

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

Options:

A.

Use Windows Basic Authentication with SSL.


B.

Use Windows Digest Authentication.


C.

Use Custom Authentication.


D.

Send the encrypted information in SOAP headers.


E.

Use Windows Authentication with Client Certificates.


Expert Solution
Questions # 106:

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 named MyApplication. MyApplication uses the System.IO namespace. You want to ensure that you are able to use a class that specifies read and write operations either in synchronous or asynchronous manner. Which of the following classes will you use to accomplish the task?

Options:

A.

StreamReader


B.

FileStream


C.

StreamWriter


D.

MemoryStream


Expert Solution
Questions # 107:

Mark works as a Software Developer for BlueWell Inc. The company uses Visual Studio .NET as its application development platform. He develops four applications using the .NET Framework.. All the four applications use an assembly named MyAssembly. He deploys the applications on the company's intranet. Later, Mark modifies MyAssembly and wants to ensure that all applications use the latest version of MyAssembly. What will he do to accomplish this?

Options:

A.

Modify the application configuration file of client computers.


B.

Modify the reference patch of client computers.


C.

Modify the machine configuration file of client computers.


D.

Modify the publisher policy configuration file containing a reference to client computers.


Expert Solution
Questions # 108:

You work as a Software Developer for ABC Inc. The company uses Visual Studio.NET 2005 as its application development platform. You are in process of creating an application using the .NET Framework 2.0. The application must collect data from different streams by performing the following operations:

l Reading data from the byte stream

l Reading data from the memory stream

l Reading data from the file stream

Which of the following stream classes will you use to accomplish the task?

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

Options:

A.

MemoryStream


B.

StreamWriter


C.

FileStream


D.

StreamReader


Expert Solution
Questions # 109:

You work as an Enterprise Application Developer for ABC Inc. The company uses Visual Studio .NET as its application development platform. You create a Windows client application that communicates with a business layer component using the .NET Framework. The business layer component includes a class named MyUtility as follows:

public class MyUtility

{

public MyUtility() { }

public void ChangeData() { }

}

The application must fulfill the following criteriA.

l Create instances of the MyUtility class only within the business component.

l The application should invoke the functions within the MyUtility class.

You evaluate the code of the MyUtility class and decide it requires modification. Which of the following modifications for the code will you recommend?

Options:

A.

Change the scope of the MyUtility class to private.


B.

Change the scope of the constructor to private.


C.

Change the scope of the constructor to internal.


D.

Change the scope of the MyUtility class to internal.


Expert Solution
Questions # 110:

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. You need to establish a Secure Sockets Layer (SSL) session with a remote server. The security policy of the company requires that both the client and server to provide a valid certificate for authentication before communications begins. Which of the following properties of the SslStream class will you use to accomplish this task?

Options:

A.

SslStream.IsServer


B.

SslStream.IsMutuallyAuthenticated


C.

SslStream.IsAuthenticated


D.

SslStream.IsSigned


E.

SslStream.IsEncrypted


Expert Solution
Viewing page 11 out of 15 pages
Viewing questions 101-110 out of questions