Latest MCPD 70-519 Dumps Real Exam Download 91-100

Ensurepass

 

QUESTION 91

You are designing an ASP NET Web application.

You need to ensure that users can display the content of the application in a language that they select.

Which two approaches should you recommend?

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

 

A. Use CurrentCutture

B. Use CurrentUICulture

C. Use language-specific master pages

D. Use language-specific resource files

 

Correct Answer: BD

Explanation/Reference:

 

 

QUESTION 92

You need to design a solution that supports the end user display requirements for dates, numbers, and prices.

Which two approaches should you recommend?

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

 

A. Use CurrentCulture.

B. Use CurrentUICulture.

C. Display all dates, numbers, and prices by using the String.Format() property of the controls.

D. Display all dates, numbers, and prices by using the ToString(Format) method of the reference and value types.

 

Correct Answer: AC

Explanation/Reference:

 

 

QUESTION 93

You are designing an ASP.NET Web application that allows users to specify a file to be uploaded by entering the URL of the file.

Only files that contain information in a specific internal metadata field are allowed.

You need to design a solution to reject URLs of disallowed files Which two approaches could you

recommend?

(Each correct answer presents a complete solution Choose two )

 

A. Use an OnClick method

B. Use an on Submit Java Script handler.

C. Use a Regular Expression Validator control.

D. Use a custom validator control.

 

Correct Answer: AD

Explanation/Reference:

 

clip_image002

 

 

QUESTION 95

You are designing a class library that will be used for all of your company’s ASP.NET Web applications.

A specific variable in a helper class within the library holds very sensitive information.

You need to ensure that the variable is not visible to developers when they are debugging any of the Web applications.

Which two actions should you recommend.

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

 

A. Make the variable private.

B. Make the variable protected.

C. Use the Debugger Display attribute

D. Use the Debugger Browsable attribute.

 

Correct Answer: AD

Explanation/Reference:

 

 

QUESTION 96

You are planning a deployment process for a set of interrelated Web services.

You need to ensure maximum availability of the Web services in the event of a hardware or software failure.

Which approach should you recommend?

 

A. Run each distinct service on a separate physical machine.

B. Run each distinct service on two separate physical machines.

C. Run each distinct service on a separate virtual machine (VM).

D. Run each distinct service on two virtual machines (VMs) hosted on one physical machine.

 

Correct Answer: B

Explanation/Reference:

 

 

QUESTION 97

You are designing an ASP. NET Web application.

The Web application includes a section for sales pages.

You need to ensure that the sales pages share a specific header and a specific footer that differ from those of all other pages in the application.

Which approach should you recommend?

 

A. Create the specific header and footer elements in the site’s master page.

B. Create separate user controls for the specific header and footer and add each of the user controls to the site’s master page.

C. Create a sales subdirectory. Add a master.aspx page that contains the header and footer to the subdirectory, and then store all the sales pages in the subdirectory.

D. Create a sales.master page that contains the header and footer and inherits from your site’s master page, and then use the master page in each sales page.

 

Correct Answer: D

Explanation/Reference:

 

 

QUESTION 98

You are designing a testing methodology for an ASP NET MVC 2 Web application.

The application has a simple domain model that provides a thin wrapper over a data access layer

Controllers interact with the domain model directly and use methods on repository objects to save and retrieve objects from the data access layer.

You have the following requirements:

-Centralize data operations.

-Directly validate data access rules You need to design tests against the appropriate layer to meet the requirements. Which layer should you recommend?

 

A. The controllers

B. The domain model

C. The data access layer

D. The repository objects

 

Correct Answer: D

Explanation/Reference:

 

 

clip_image004

 

 

QUESTION 100

You need to design a solution for ensuring that only users with the Administrators role have access to the Admin area of the Web application Which approach should you recommend?

 

A. Allow only the local computer Administrator account to have NTS permissions on the files contained in the Admin area

B. Choose to include the LoginView control within each file in the Admin area

C. Establish an authorization section in each location section in the Web application configuration files for each area that needs to be secured.

D. Ensure that each ActionResult returned to the Admin area contains the Authorize attribute and the appropriate properties.

 

Correct Answer: D

Explanation/Reference:

 

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