Achieve New Updated (September) Microsoft 70-486 Examination Questions 91-100

Ensurepass

 

QUESTION 91

DRAG DROP

You are developing an ASP.NET MVC application in Visual Studio 2012. The application will be viewed with browsers on desktop devices and mobile devices. The application uses the Razor View Engine to display data.

 

The application contains two layouts located in the /Views/Shared directory.

 

These layouts are named:

 

clip_image002_Layout.cshmtl

clip_image002[1]_MobleLayoutcshtml

 

The application must detect if the user is browsing from a mobile device. If the user is browsing from a mobile device, the application must use the _MobileLayout.cshtml file. If the user is browsing from a desktop device, the application must use .Layout, cs html.

 

You need to ensure that the application renders the layout that is appropriate for the browser.

 

You have the following code:

 

clip_image003

 

Which code segments should you include in Target 1, Target 2 and Target 3 to complete the code of the ViewStart.cshtml file?

 

To answer, drag the appropriate code segments to the correct targets. Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

 

clip_image005

 

Correct Answer:

clip_image007

 

 

QUESTION 92

You are developing an ASP.NET MVC application to be used on the Internet. The environment uses Active Directory with delegation to access secure resources. Users must be able to log on to the application to maintain their personal preferences. You need to use the least amount of development effort to enable users to log on. What should you do?

 

A.

Enable Forms authentication

B.

Enable Windows authentication

C.

Generate server SSL certificates and install them in IIS

D.

Enable Digest authentication

 

Correct Answer: B

Explanation:

Requirements for Delegation

Delegation relies on Integrated Windows authentication to access resources. There is no limit on the number of computers that you can delegate your account – you must correctly configure each of them. The Integrated Windows authentication method works only if the following two conditions exist:

You set up your network to use the Kerberos authentication protocol that requires Active Directory.

You set up the computers and accounts on your network as trusted for delegation.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

QUESTION 93

You are developing a controller for an ASP.NET MVC application that manages message board postings. The security protection built in to ASP.NET is preventing users from saving their HTML. You need to enable users to edit and save their HTML while maintaining existing security protection measures. Which code segment should you use?

 

clip_image008

 

A.

Option A

B.

Option B

C.

Option C

D.

Option D

 

Correct Answer: B

 

 

 

QUESTION 94

DRAG DROP

You are developing an ASP.NET MVC application that allows users to log on by using a third-party authenticator.

 

You need to configure Microsoft Azure Access Control Services and the application.

 

Which five actions should you perform in sequence?

 

To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

 

clip_image010

 

Correct Answer:

clip_image012

 

 

 

 

 

 

 

 

 

 

 

 

QUESTION 95

HOTSPOT

You are using

the features of the IIS SEO Toolkit to configure the website.

 

You need to exclude search engines from indexing parts of website.

 

What should you do?

 

To answer, select the appropriate option from the drop-down list in the answer area.

 

clip_image014

 

Correct Answer:

clip_image016

 

QUESTION 96

You are designing an MVC web application. The view must be as simple as possible for designers who do not have a technical background. You need to combine two existing models to meet the requirement. Which component of the MVC framework should you use?

 

A.

View

B.

View Model

C.

Controller

D.

Model

 

Correct Answer: B

 

 

QUESTION 97

You are developing an application that uses many small images for various aspects of the interface. The application responds slowly when additional resources are being accessed. You need to improve the performance of the application. What should you do?

 

A.

Preload all the images when the client connects to ensure that the images are cached.

B.

Combine all the images into a single image and use CSS to create s

prites.

C.

Host all images on an alternate server and provide a CDN.

D.

Convert the images to .png file format and stream all images on a single connection.

 

Correct Answer: C

 

 

QUESTION 98

HOTSPOT

You are developing an ASP.NET MVC application in Visual Studio 2012. The application supports multiple cultures.

 

To set the culture, the application must use the AcceptLanguagc header field value sent by the client browser.

 

You need to ensure that the application can set the culture.

 

You have the following markup in the web.config file:

 

clip_image017

 

Which markup segments should you include in Target 1, Target 2 and Target 3 to complete the markup?

 

To answer, select the appropriate options in the answer area.

 

clip_image018

 

Correct Answer:

clip_image019

 

 

 

 

 

 

 

 

 

 

 

QUESTION 99

You

are developing an ASP.NET MVC application that enables you to edit and save a student object. The application must not retrieve student objects on an HTTP POST request. You need to implement the controller. Which code segment should you use? (Each correct answer presents a complete solution. Choose all that apply.)

 

clip_image021

A.

Option A

B.

Option B

C.

Option C

D.

Option D

 

Correct Answer: CD

 

 

QUESTION 100

DRAG DROP

You are developing an ASP.NET MVC application in Visual Studio 2012. The application processes data for a bakery and contains a controller named BagelController.es that has several actions. The GetBagel action is defined in the following code segment.

 

clip_image022

 

The GetBagel action is the only action that should be accessed via a URL pattern. Routes to the other actions in the controller must be suppressed.

 

The default route must map to HomeController and the Index action.

 

You need to build the routes.

 

Which three code segments should you use in sequence?

 

To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

 

clip_image024

 

Correct Answer:

Free VCE & PDF File for Microsoft 70-486 Real Exam

Instant Access to Free VCE Files: MCSE|MCSA|MCITP…
Instant Access to Free PDF Files: MCSE|MCSA|MCITP…