Black Friday Sale Special - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: sntaclus

You work as a Web Application Developer for ABC Inc. The company uses Visual Studio .NET as its application development platform. You are creating a Web application using .NET Framework 2.0. The application will be used in Local Area Network (LAN). The Web application reads comma enclosed text files. The text files exist in a subdirectory under the Web application's root directory. You must ensure that users never directly navigate to these files in a Web browser if they are not members of the Accounting role. You are required to write an ASP.NET HTTP handler that will use the FileAuthorizationModule class. Which of the following forms of authentications will you use?

A.

Forms

B.

Mutual

C.

Microsoft Windows Integrated Security

D.

Anonymous

You work as a Software Developer for ABC Inc. The Company uses .NET Framework as its application development platform. You are writing a method that might throw an exception at several points during its execution. You need to run several lines of code after the method runs, whether or not an exception occurs. Which of the following blocks will you use to accomplish this task?

A.

Catch

B.

Finally

C.

Try

D.

Throw

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 are creating an application that will be used by all the branches of the company. You use the Code Access Security to manage the security of the application. The application requires to obtain minimum permissions to execute properly. Which of the permissions will you grant to accomplish the task?

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

A.

Permissions View

B.

Identity Permissions

C.

Code Access Permissions

D.

Role-Based Permissions

You work as an Enterprise Application Developer for ABC Inc. The company uses Visual Studio .NET 2008 as its application development platform. You create an ASP.NET application using .NET Framework 3.5.

The application contains a Web page that will be accessible through the Internet. The Web page holds a Web form that captures data that will be stored in a SQL Server 2008 database. The form at present uses a POST method. The Web page also holds JavaScript validation routines. The validation routines will be used to ensure that the input to the form meets the business requirements and does not contain any code that is unsafe.

There is currently no server-side validation being performed. You are required to evaluate the application and resolve security flaws in the Web page. What will you do?

A.

Change the method of the form action to GET.

B.

Use Script Controls and Extenders.

C.

Create new server-side validation routines.

D.

Move the validation routines to a content page.

You work as a Software Developer for ManSoft Inc. The company uses Visual Studio.NET 2005 as its application development platform. The company wants you to develop an application that manages the account information of the company. The requirement of the application is to use only value types. Which of the following types will you use to accomplish the task?

Each correct answer represents a complete solution. Choose three.

A.

User-defined Types

B.

Interfaces

C.

Built-in Types

D.

Enumerations

You work as a Windows Application Developer for ABC Inc. The company uses Visual Studio .NET as its application development platform. You create a Windows application using the .NET Framework. The application contains many controls. You add an ErrorProvider component named errorPro and a DateTimePicker control named datePick to the application. You are required to configure the application to display an error notification icon next to datePick when a user enters a date that is greater than today's date. What will you do to accomplish this task?

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

A.

Create an event handler named verifyDate for the Validating event of datePick.

B.

Create an event handler named verifyDate for the Validated event of datePick.

C.

In the verifyDate event handler, call errorPro.SetError(datePick, "Date is greater then today's date") if the value of datePick value is greater than today's date.

D.

In the verifyDate event handler, call errorPro.SetError(datePick, "") if the datePick.Value is greater than today's date.

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?

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.

Tony works as a Software Developer for TechNet Inc. He creates a satellite assembly named

SatAssembly1. He wants to install SatAssembly1 in the global assembly cache. Therefore, he compiles the assembly by using the Al.exe tool and signs SatAssembly1. Which of the following possible tools will Tony use to sign SatAssembly1?

Each correct answer represents a complete solution. Choose two.

A.

File Signing tool

B.

.NET Services Installation tool

C.

Installer tool

D.

Strong Name tool

John works as a Software Developer for DawnStar Inc. He creates a class, named MyClass1. He wants to generate a key pair that he will use to give the compiled assembly a strong name. Which of the following tools will he use to accomplish the task?

A.

Gacutil.exe

B.

Sn.exe

C.

Installutil.exe

D.

Al.exe

Janet works as a Software Developer for Blue Well Inc. The company management wants its project team members to be registered so that they can access the company's Website. To ensure that the team members can work together effectively, Janet creates an XML Web service named MyWebService by using Visual Studio .NET. She wants to ensure that the team members have a valid username and password in order to maintain strict security against unauthorized access. Which of the following authentication methods will Janet implement in her application to accomplish this task?

A.

Multi-factor authentication

B.

Digest authentication

C.

Database authentication

D.

Network authentication