PrepAway - Latest Free Exam Questions & Answers

Category: 70-486 (v.4)

Exam 70-486: Developing ASP.NET MVC 4 Web Applications (update July 13th, 2017)

Which code segment should you use?

You are developing an ASP.NET MVC application that uses forms authentication. The user database contains
a user named OrderAdmin.
You have the following requirements:
You must allow all users to access the GetOrders method.
You must restrict access to the EditOrder method to the user named OrderAdmin.
You need to implement the controller to meet the requirements.
Which code segment should you use? (Each correct answer presents a complete solution. Choose all that apply.)

Which caching solution should you choose?

You are developing a new ASP.NET MVC application that will be hosted on Microsoft Azure. You need to
implement caching.
The caching solution must support the following:
The cache must be able to store out-of-process ASP.NET session state.
The cache must be able to store a variety of data types.
The cache must offer a large amount of space for cached content.
You must be able to share output cache content across web server instances.
You need to select a cache solution.
Which caching solution should you choose?

How should you complete the relevant code?

HOTSPOT
You develop an ASP.NET MVC application. The application includes a feature that allows users to reset their
passwords. The feature is enabled by a ForgotPassword controller method and a corresponding Razor view.
You need to prevent Cross-Site Request Forgery (CSRF) attacks.
How should you complete the relevant code? To answer, select the appropriate code segment from each list in
the answer area.
Hot Area:

Which markup segments should you include in Target 1, T…

DRAG DROP
You are developing an ASP.NET MVC application in Visual Studio.
The application contains an area that is defined as shown in the following graphic.

The ActionLink method must invoke the GetOrders() action in ExternalOrderController.
You need to configure the parameters of the ActionLink method.
You have the following markup.

Which markup segments should you include in Target 1, Target 2 and Target 3 to complete the markup? To
answer, drag the appropriate markup segment to the correct targets. Each markup 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.
Select and Place:

Which code segments should you include in Target 1, Tar…

HOTSPOT
You are developing an ASP.NET MVC application.
Before an action is executed, information about the action must be written to a log. After results are returned,
information about the results also must be written to the log.
You need to log the actions and results.
You have the following code:

Which code segments should you include in Target 1, Target 2 and Target 3 to implement the LogActionFilter
class? (To answer, select the appropriate option from the drop-down list in the answer area.)
Hot Area:


Page 4 of 15« First...23456...10...Last »