Latest MCPD 70-519 Dumps Real Exam Download 41-50

Ensurepass

QUESTION 41

You need to recommend a debugging strategy for JavaScript code on the shopping cart page. Which approach should you recommend?

 

A. use of the Microsoft Script Debugger

B. use of the Internet Explorer Developer Tools

C. attaching a debugger to the Internet Explorer process

D. attaching a debugger to the Web development server process

 

Correct Answer: C

Explanation/Reference:

Debugging JavaScript

JavaScript can be particularly challenging to debug because of the following factors:

-Visual Studio JavaScript debugging tools are not as robust as the .NET Framework debugging tools.

-For most bugs, you need to attach a debugger to the Internet Explorer process.

-You have to test JavaScript in multiple browsers. If an error occurs only in a single browser, you need to use browser-specific debugging tools.

 

 

clip_image002

 

A. Use page caching.

B. Use fragment caching.

C. Use the application cache.

D. Use SQL cache dependency.

 

Correct Answer: B

Explanation/Reference:

Caching Pages and Fragments The best way to improve the server performance of an ASP.NET application is to partially or completely eliminate the ASPX rendering process. ASP.NET provides two types of output caching:

-Page caching ASP.NET caches an entire page and returns it for subsequent requests for the same page. Page caching caches the entire contents of a page, including any user controls. -Fragment caching ASP.NET caches one or more user controls and inserts the cached output into an ASP.NET page. You can use fragment caching to cache a user control and then insert that cached output into different pages.

 

 

QUESTION 43

You are designing a plan to scale an ASP.NET Web application to support up to 20,000 concurrent users.

Application usage statistics indicate that many queries against the database retrieve data that does not change frequently.

You need to reduce database round trips for static data. Which approach should you recommend?

 

A. Use session state.

B. Use the application cache.

C. Use SQL Server replication.

D. Use multiple active result sets.

 

Correct Answer: B

Explanation/Reference:

Information related to each user need to save in Application cache.

 

 

QUESTION 44

You need to design a deployment solution for the rewritten Web application. Which approach should you recommend?

 

A. Use MSDeploy and FTP.

B. Use DB Deployment and FTP.

C. Use MSDeploy and One-Click Publishing.

D. Use DB Deployment and One-Click Publishing.

 

Correct Answer: C

Explanation/Reference:

 

 

QUESTION 45

You are designing a process for deploying an ASP.NET MVC 2 Web application to IIS 6.0.

You need to ensure that the Web application properly handles Web requests.

Which approach should you recommend?

 

A. Configure IIS to map all requests to aspnet_isapi.dll by using a wildcard script map.

B. Configure IIS to map all requests to aspnet_wp.exe by using a wildcard script map.

C. Modify the Web application to route all requests to an HttpHandler class.

D. Modify the Web application to route all requests to an HttpModule class.

 

Correct Answer: A

Explanation/Reference:

need to add wildcard aspnet_isapi http://haacked.com/archive/2008/11/26/asp.net-mvc-on-iis-6-walkthrough.aspx

 

 

QUESTION 46

You need to design an automation solution for the final-release build process. Which approach should you recommend?

 

A. Use Web application configuration file transforms.

B. Create a custom configuration section for each build configuration value.

C. Append the ConfigSource attribute to each application configuration section.

D. Duplicate each configuration section for the debug build configuration, and modify the settings for the release build configuration.

 

Correct Answer: A

Explanation/Reference:

Configuration transforms are the simplest way to providesupport for using different configuration settings in different environments. Use configuration transforms to automatically publish different configuration settings to different environments.

 

 

QUESTION 47

You are implementing additional functionality within an existing ASP.NET 4 Web Forms Web site project by using ASP.NET MVC 2.

You need to design a Web site project configuration that supports Web Forms and ASP.NET MVC 2 in the same Microsoft Visual Studio 2010 project.

Which two approaches should you recommend?

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

 

A. Convert the Web site project to a Web application.

B. Convert the Web site project to an ASP.NET MVC 2 application.

C. Modify the T4 templates to support ASP.NET Web Forms.

D. Reference the ASP.NET MVC 2 assemblies in the application configuration file.

 

Correct Answer: AD

Explanation/Reference:

 

 

QUESTION 48

You need to design a solution for storing sessions in the application. Which approach should you recommend?

 

A. Use InProc mode.

B. Use SQLServer mode.

C. Use StateServer mode.

D. Use a custom mode with session data saved in the cache.

 

Correct Answer: B

Explanation/Reference:

 

 

QUESTION 49

You are designing an ASP.NET Web application that will queue e-mail messages in a database.

A Windows service will process the queue and send the messages.

The Web application will be hosted on a server that hosts several other applications.

The server cannot support additional processors or memory.

You estimate that the Web application usage will increase by 10 percent every month.

You need to ensure that the delivery of high-priority messages will not be delayed as the Web application usage increases.

Which two actions should you recommend?

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

 

A. Process the high-priority messages first.

B. Use a shared memory connection to the database.

C. Modify the Windows service to handle multiple threads.

D. Run the Windows service on a server that is separate from the Web application host server.

 

Correct Answer: AD

Explanation/Reference:

 

 

QUESTION 50

You are designing a monitoring plan for a multi-tier ASP.NET Web application. The Web application uses multiple Web servers and a database server.

You plan to use a dedicated monitoring server.

You need to send an alert when any application server stops responding.

Which approach should you recommend?

 

A. Run a process on the monitoring server that periodically sends a request to each application service. Send an alert if a response is not received for any request.

B. Run a process on each Web server that logs activity to a database on the monitoring server. Run a process on the monitoring server that periodically checks the monitoring database and sends an alert if any service stops logging.

C. Use AJAX to log user actions on each Web page to a database on the monitoring server. Run a process on the monitoring server that periodically checks the monitoring database and sends an alert if there is an interruption in Web page activity.

D. Use Microsoft Message Queuing (MSMQ) to send a message to the monitoring server in the Load event of the Web application s master page. Run a process on the monitoring server that polls for MSMQ messages and sends an alert if any server stops sending messages.

 

Correct Answer: A

Explanation/Reference:

 

 

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