PrepAway - Latest Free Exam Questions & Answers

Category: 70-486 (v.3)

Exam 70-486: Developing ASP.NET MVC 4 Web Applications (update April 14th, 2016)

Which code segment should you add to the action at line 03?

You are developing an ASP.NET MVC application in Visual Studio 2012. The application supports
multiple cultures.
The application contains three resource files in the Resources directory:
ProductDictionary.resx
ProductDictionary.es.resx
ProductDictionary.fr.resx
Each file contains a public resource named Currency with the localized currency symbol. The
application is configured to set the culture based on the client browser settings.
The application contains a controller with the action defined in the following code segment. (Line
numbers are included for reference only.)

You need to set ViewBag.LocalizedCurrency to the localized currency contained in the resource files.
Which code segment should you add to the action at line 03?

How should you build the class constructor?

DRAG DROP
You are developing an ASP.NET MVC application that authenticates a user by using claims‐based
authentication.
The application must:
Use Windows Identity Foundation 4.5.
Support the Windows Azure Access Control Service.
You need to implement authentication.
How should you build the class constructor? (To answer, drag the appropriate code segment to the
correct location or locations in the answer area. 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.)



How should you update the Application_Start method?

HOTSPOT
You are developing an ASP.NET MVC application that has pages for users who browse the site with
Windows Phone 7.
The pages for Windows Phone 7 include the following files:
_Layout.WP7.cshtml
Index.WP7.cshtml
You need to update the application so that it renders the customized files correctly to Windows
Phone 7 users.
How should you update the Application_Start method? (To answer, select the appropriate option
from the drop‐down list in the answer area.)







Which code segment should you use?

You are developing an ASP.NET MVC web application for viewing a photo album. The application is
designed for devices that support changes in orientation, such as tablets and smartphones. The
application displays a grid of photos in portrait mode.
When the orientation changes to landscape, each tile in the grid expands to include a description.
The HTML that creates the gallery interface resembles the following markup.


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

Which data store should you use?

You are designing a distributed banking application that handles multiple customers. A user may log
on to the site to perform activities such as checking balances, performing transactions, and other
activities that must be done securely.
The application must store secure information that is specific to an individual user. The data must be
automatically and securely purged when the user logs off.
You need to save transient information in a secure data store.
Which data store should you use?


Page 8 of 14« First...678910...Last »