PrepAway - Latest Free Exam Questions & Answers

Tag: Exam 70-486 (update July 13th, 2017)

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

You need to diagram the structural relationship between…

DRAG DROP
You plan a new ASP. NET MVC application.
The application uses the Model-View Controller (MVC) pattern to separate the modeling of the domain, the
presentation, and the actions. This separation is based on user input into three separate classes.
You need to diagram the structural relationship between the three classes.What should you do? To answer, drag the appropriate class to the correct location or locations. Each class
name 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:

How should you complete the relevant code?

HOTSPOT
You are developing an ASP.NET MVC application that will be hosted on Microsoft Azure. The application
includes the StackExchange.Redis client package. A variable named CacheConnectionConfiguration stores the
cache endpoint URL and the password to connect to the cache.
The application must store a user’s color selection by using the Azure Redis cache. The cached value must
expire after 90 minutes. You need to cache the user’s color selection.
How should you complete the relevant code? To answer, choose the appropriate code segment from each list
in the answer area.
Hot Area:

You need to develop the custom business logic

You deploy an ASP.NET MVC Web application to Internet Information Services (IIS). The application has a
secure area that provides access to custom reports.
You must develop custom business logic to support the reports. The custom business logic has the following
requirements:
It must run each time that a report is requested.
It must not run for other IIS requests.
It must be mapped to the request extension of the report.
It must be written by using a managed language that is supported by the .NET framework.
You must be able to quickly modify and deploy updates to the business logic.
You need to develop the custom business logic.
What should you do?

Which two changes should you make to the code?

You are developing an ASP.NET MVC application that delivers real-time game results to sports fans. The
application includes the following code. Line numbers are included for reference only.

The source data for the game results is updated every 30 seconds.
Testers report the following issues with the application:
They report seeing other user’s name when they sign in to the application.
They report delays in seeing the latest game results.
You need to correct the performance issues.
Which two changes should you make to the code? Each correct answer presents part of the solution.

How should you complete the relevant code?

HOTSPOT
You are preparing to test an ASP.NET application. The application includes the following class. Line numbers
are included for reference only.

Data will be imported from another system into the current application. Before importing data, you must run unit
tests to validate the data. To be considered valid, the data must meet the following requirements:
The value passed into the GetResults method must be greater than or equal to zero.
The value passed into the GetUserInfo method must not be null.
You need to create unit tests that fail if the requirements are not met.
How should you complete the relevant code? To answer, select the appropriate code segment from each list in
the answer area.
Hot Area:


Page 3 of 1512345...10...Last »