Latest MCPD 70-519 Dumps Real Exam Download 71-80

Ensurepass

QUESTION 71

You are designing the deployment strategy for an ASP.NET Web application.

You need to recommend an approach for displaying a maintenance notice to users while deploying a new version of the Web application.

What should you recommend?

 

A. Place a file named app_offline.htm in the root of the Web application folder.

B. Place a file named app_offline.aspx in the root of the Web application folder.

C. In the Web.config file, under the system.web/httpModules element, add a clear element.

D. In the Web.config file, under the system.web/httpRuntime element, set the enable attribute to false.

 

Correct Answer: A

Explanation/Reference:

While the App_offline.htm file exists, any requests to the Web site are redirected to this file. The file displays a friendly message that tells clients that the Web site is being updated http://msdn.microsoft.com/en-us/library/f735abw9(v=vs.85).aspx

 

 

QUESTION 72

You are designing a deployment strategy for multiple Web applications.

All ASP.NET Web applications must run under medium trust.

You need to recommend an approach for raising a system error if an application attempts to override the trust level.

What should you recommend?

 

A. Set the isLocked attribute in the trust element of the root Web.config file.

B. Set the isLocked attribute in the trust element of the child Web.config file.

C. Set the allowOverride attribute in the location element of the root Web.config file.

D. Set the allowOverride attribute in the location element of the child Web.config file.

 

Correct Answer: C

Explanation/Reference:

SectionInformation.AllowOverride Gets or sets a value that indicates whether the associated configuration section can be overridden by lower-level configuration files.

http://msdn.microsoft.com/en-us/library/system.configuration.sectioninformation.allowoverride.aspx

 

 

QUESTION 73

clip_image002

A. Partition the data in tables across multiple servers.

B. Transfer the Web application to a load-balanced Web farm.

C. Upgrade the CPU, memory, and disk space of the existing Web server.

D. Set up a Web garden for the deployed application on the existing Web server.

 

Correct Answer: BExplanation/Reference:

 

 

QUESTION 74

You are designing a health monitoring strategy for an ASP.NET Web application.

The Web application must raise failure events to correspond with key business process failures.

You need to recommend an approach for ensuring that failure events can be consumed by the ASP.NET

Health Monitoring framework.

Which two actions should you recommend?

(Each correct answer presents part of the solution. Choose two.)

 

A. Create a custom event class derived from the WebErrorEvent class.

B. Create a custom event class derived from the WebFailureAuditEvent class.

C. In the Web.config file, add an entry to the healthMonitoring/providers collection for the custom event class.

D. In the Web.config file, add an entry to the healthMonitoring/eventMappings collection for the custom event class.

 

Correct Answer: AD

Explanation/Reference:

 

 

QUESTION 75

You are designing an ASP.NET MVC 2 application.

You need to centralize the logic for handling and logging unhandled exceptions.

Which approach should you recommend?

 

A. Use try and catch on every method.

B. Override the OnException method of each controller.

C. Decorate all controllers with a custom HandleError attribute.

D. Decorate all controllers with the default HandleError attribute.

 

Correct Answer: C

Explanation/Reference:

 

 

QUESTION 76

You are designing a method for collecting information regarding usage of new functionality within an ASP.

NET Web application.

You have the following requirements:

-Usage data must be stored in a database for easy reporting.

-The application must not include code relating to usage data. You need to design a strategy that meets the requirements. Which approach should you recommend?

 

A. Use ASP NET tracing.

B. Use remote debugging.

C. Use ASP NET health monitoring

D. Use the Request Started method.

 

Correct Answer: C

Explanation/Reference:

After web applications have been deployed, most organizations rely on a systems administration team to monitor and troubleshoot them. To provide the team with the information it needs, you can use ASP.NET Health Monitoring, which provides flexible tools for logging events and notifying systems administrators of critical situations.

 

 

QUESTION 77

You are designing an ASP.NET Web application that will be developed by using Microsoft Visual Studio

2010. The application will interact with a Microsoft SQL Server database.

The data access layer of the application must meet the following requirements:

-Support rapid application development techniques.

-Allow the underlying database schema to change without affecting the object model.

-Contain strongly typed data objects. You need to develop the data access layer. Which data access technology should you recommend?

 

A. Entity Framework

B. WCF Data Services

C. ADO.NET Data Set

D. ADO.NET Data Tables

 

Correct Answer: A

Explanation/Reference:

 

 

QUESTION 78

You are designing a solution for sharing information among employees located in a main office and several branch offices.

The solution will consist of the following elements:

-An ASP.NET Web application that accesses and manipulates large amounts of data

-Web services used by the Web application for data access

-A Microsoft SQL Server database Data displayed to users is never more than one day old. You need to plan a deployment strategy that minimizes bandwidth requirements. Which deployment strategy should you recommend?

 

A. Deploy the Web application, Web services, and database to the main office, and use browser caching.

B. Deploy the Web application, Web services, and database to each branch office, and use SQL Server Replication.

C. Deploy the Web services and database to the main office deploy the Web application to each branch office, and use output caching.

D. Deploy the database to the main office. Deploy the Web application and Web services to each branch office, and use caching at the Web service level.

 

Correct Answer: D

Explanation/Reference:

 

 

QUESTION 79

You are designing an ASP.NET Web application form that allows the user to submit queries to a Microsoft SQL Server database.

You need to minimize the success of submitting corrupt client data to the form as a security attack against your Web application.

Which two approaches should you recommend?

(Each correct answer presents part of the solution. Choose two.)

 

A. Use the Enable View State Mac property.

B. Use SQL parameters for database access.

C. Use an on Submit Java Script handler for the form

D. Use Regular Expression Validator and Range Validator controls.

 

Correct Answer: BD

Explanation/Reference:

 

 

QUESTION 80

An ASP.NET Web application stores data in a Microsoft SQL Server database that runs on a separate

server.

The company requires all database access to be performed under the identity of the user that is connected to the application.

The Web application uses integrated security in the database string.

During testing, the Web application is unable to authenticate to the database as the connected user.

You need to design an authentication strategy.

Which approach should you recommend?

 

A. Run the Web application under the System account.

B. Run the Web application under the Network Service account.

C. Configure the Web application for constrained delegation.

D. Set the identity element of the Web application configuration to impersonate=”true”

 

Correct Answer: C

Explanation/Reference:

 

Download Latest MCPD 70-519 Real Free Tests , help you to pass exam 100%.