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

Viewing page 7 out of 14 pages
Viewing questions 61-70 out of questions
Questions # 61:

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


Questions # 62:

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 the .NET Framework 3.5. The application contains two HTML pages named Error.htm and

PageNotFound.htm. You want to make sure that the following requirements are met:

l When any user requests a page that does not exist, the PageNotFound.htm page is displayed.

l When any other error occurs, the Error.htm page is displayed.

Which of the following code segments will you add to the Web.config file to accomplish this task?

Options:

A.


B.


C.


D.


Questions # 63:

You work as an Enterprise Application Developer for ABC Inc. The company uses Visual Studio .NET 2008 as its application development platform. You are creating an Enterprise application using .NET Framework 3.5. The application must meet the following requirements:

l The application loads XML from streams.

l The application creates XML from scratch by using functional construction.

l The application queries XML using XPath-like axes.

l The application validates XML trees using XSD.

What will you do to meet these requirements with least development efforts?

Options:

A.

Use LINQ to XML.


B.

Use LINQ to SQL.


C.

Use the XML Schema Definition Tool.


D.

Use ADO.NET Data Services.


Questions # 64:

Which of the following syntaxes is used for the EncryptionAlgorithm property of the Message class?

Options:

A.

[MessagingDescriptionAttribute("MessageEncryptionAlgorithm")]

public EncryptionAlgorithm : EncryptionAlgorithm { }


B.

[MessagingDescriptionAttribute("MessageEncryption")]

public EncryptionAlgorithm EncryptionAlgorithm { }


C.

[MessagingDescriptionAttribute("MessageEncryption")]

public EncryptionAlgorithm EncryptionAlgorithm { get; set; }


D.

[MessagingDescriptionAttribute("MessageEncryptionAlgorithm")]

public EncryptionAlgorithm : EncryptionAlgorithm { get; set; }


Questions # 65:

You work as a Software Developer for ManSoft Inc. The company has several branches worldwide. The company uses Visual Studio.NET 2005 as its application development platform. You create an application that will be used by all the branches of the company. You use the Regex class in the application to validate some strings. You want to search an input string for an occurrence of a regular expression. Which of the following methods of the Regex class will you use to accomplish the task?

Options:

A.

Match


B.

Matches


C.

Equals


D.

IsMatch


Questions # 66:

You can use LINQ in an ASP.NET application through the LinqDataSource control, the __________ control, or by creating LINQ queries.

Options:

A.

ADO.NET DataSet


B.

ObjectDataSource


C.

SqlDataSource


D.

XmlDataSource


Questions # 67:

You work as a Web Application Developer for ABC Inc. The company uses Visual Studio .NET as its application development platform. You create a Web application using .NET Framework 2.0. You add a Web Form that contains a button named bCancel. The button allows users to exit the form. When users click the button, validation should not occur. However, during testing you find that clicking the button does not allow users to exit the form. You need to ensure that users can always exit the page. What will you do?

Options:

A.

Set the CausesValidation property of the bCancel button to false.


B.

Set the AccessibleName property of the validation controls on the Web Form to "false".


C.

Set the ControlToValidate property of the validation controls on the Web Form to the ID of the control.


D.

Set the Enabled property of the validation controls on the Web Form to false.


Questions # 68:

You work as a Web Application Developer for ABC Inc. The company uses Visual Studio .NET as its application development platform. You create an ASP.NET Web application using the .NET Framework. The application is installed in a Network Load Balancing cluster. You are evaluating a bug statement. When a failure takes place in the Web application, the client occasionally gets an error page as anticipated. At other times, the client gets an exception stack with the error message, which is not anticipated. You are required to find out the configuration setting that causes the unanticipated error.

Which of the following configuration settings causes the unanticipated error?

Options:

A.


B.


C.


D.


Questions # 69:

You work as a Web Administrator for BlueWell Inc. The company's sales employees access the Web server from remote locations via the Internet using Netscape Navigator or Internet Explorer. You want to secure the Web server. To secure the Web server, you want to use cookieless forms authentication. Which of the following properties will you use to accomplish the task?

Options:

A.

FormsCookiePath


B.

CookieDomain


C.

CookieMode


D.

FormsCookieName


Questions # 70:

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


Viewing page 7 out of 14 pages
Viewing questions 61-70 out of questions