Latest MCSD 70-486 Dumps Real Exam Download 41-50

Ensurepass

QUESTION 41

You need to make all of the rows in the table bold in the Views/RunLog/GetLog.cshtml view. Which code segment should you use?

 

A. Table > th:last-child { font-weight: bold; }

B. Table+first-child{ font-weight: bold; }

C. Table>tr>th:nth-child{2){font-weight: bold; }

D. Table > tr { font-weight: bold; }

 

Correct Answer: D

 

 

QUESTION 42

You need to display the “miles” unit description after the distance in the GetLog view. Which line of code should you use to replace line GL21? (Each correct answer presents a complete solution. Choose all that apply.)

 

A. @log.Distance miles

B. @Htrml.DisplayFor(model => log.Distance) miles

C. @log.Distance.ToString() @Html.TextArea (“miles”)

D. @Htmi.DisplayFor(model => log.Distance.ToString() + ” miles”)

 

Correct Answer: AB

 

 

QUESTION 43

You need to implement the requirements for handling IIS errors. What should you do?

 

A. clip_image002

B. clip_image004

C. clip_image006

D. clip_image008

 

Correct Answer: A

 

 

QUESTION 44

You are testing an ASP.NET application. The test plan requires that tests run against the application’s business layer. You need to use the test project template that meets this requirement. Which template should you use?

 

A. Web Test Project

B. Load Test Project

C. Unit Test Project

D. Coded Test Project

 

Correct Answer: C

 

 

QUESTION 45

You are developing an ASP.NET MVC application that displays stock market information. The stock market information updates frequently and must be displayed in real-time. You need to eliminate unnecessary header data, minimize latency, and transmit data over a full-duplex connection. What should you do?

 

A. Implement long-running HTTP requests.

B. Instantiate a MessageChannel object on the client.

C. Implement WebSockets protocol on the client and the server.

D. Configure polling from the browser.

 

Correct Answer: C

 

 

QUESTION 46

You are designing a distributed application that runs on the Windows Azure platform. The application must store a small amount of insecure global information that does not change frequently. You need to configure the application to meet the requirements. Which server-side state management option should you use? (Each correct answer presents a complete solution. Choose all that apply.)

 

A. Windows Azure application state

B. Sql Azure

C. Profile properties of the Windows Azure application

D. Windows Azure session state

 

Correct Answer: AB

 

 

QUESTION 47

You are developing an ASP.NET MVC web application for viewing a list of contacts. The application is designed for devices that support changes in orientation, such as tablets and smartphones. The application displays a grid of contact tiles in portrait mode. When the orientation changes to landscape, each tile in the grid expands to include each contact’s details. The HTML that creates the tiled interface resembles the following markup.

clip_image010

The CSS used to style the tiles in landscape mode is as follows.

clip_image012

If this CSS is omitted, the existing CSS displays the tiles in portrait mode. You need to update the landscape-mode CSS to apply only to screens with a width greater than or equal to 500 pixels. Which code segment should you use?

 

A. @media screen and (width >= 500px) { . . . }

B. @media screen and (min-width: 500px) { . . . }

C. @media screen (min-width: 500px, max-width: 1000px) { . . . }

D. @media resolution (min-width: 500px) { . . . }

 

Correct Answer: B

Explanation/Reference:

http://www.javascriptkit.com/dhtmltutors/cssmediaqueries.shtml

 

 

QUESTION 48

You are developing an ASP.NET MVC application. You need to authenticate clients by using NT LAN Manager (NTLM). Which authentication method should you implement?

 

A. Basic

B. Windows

C. Forms

D. Kerberos

Correct Answer: B

Explanation/Reference:

http://msdn.microsoft.com/en-us/library/aa292114(v=vs.71).aspx

 

 

QUESTION 49

You are developing an ASP.NET MVC application. The application must allow users to enter JavaScript in a feedback text box only. You need to disable request validation. What should you do?

 

A. Apply and set the CausesClientSideValidation attribute on the text box to FALSE.

B. Apply and set the ValidateInput attribute on the text box to FALSE.

C. Use the HttpRequest.Unvalidated property to read the unvalidated form value.

D. Use the HttpRequest.Form property to read the unvalidated form value.

Correct Answer: C

Explanation/Reference:

Provides access to HTTP request values without triggering request validation. (http://msdn.microsoft.com/en-us/library/system.web.httprequest.unvalidated.aspx)

 

 

QUESTION 50

You are developing an ASP.NET MVC application that will be deployed on a web farm. Passwords must be stored in the web.config file and must not be readable or in a format that is easily decodable You need to encrypt the passwords that are stored in the web.config file. Which command-line tool should you use?

 

A. Aspnet_regiis.exe

B. Ngen.exe

C. Aspnet_merge.exe

D. EdmGen.exe

 

Correct Answer: A

Explanation/Reference:

http://msdn.microsoft.com/en-us/library/zhhddkxy(v=vs.100).aspx

 

Download Lates MCSD 70-486 Real Free Tests , help you to pass exam 100%.