PrepAway - Latest Free Exam Questions & Answers

Which of the following actions should you take?

Topic 1, Scenario 1
Background
You are making use of Visual Studio 2012 to create an ASP.NET MVC application to log training
information for a cycling club.
Business Requirements
The application needs to host data regarding training dates, distances, and duration. Application
users must be able to view and modify data. The application itself should be highly accessible.
The application should also allow for times to be presented in the user’s native time.
Technical Requirements
A public class, named CyclistLog.DataAccess.CyclistLogDb, deals with database access. HTTP
GET should be used for all data retrieval. HTTP POST should be used for all data updates.
A master layout file, named \Views\Shared\_Layout.cshtml, is used by all pages in the application.
The application makes use of the \Models\LogModel.cs model.
The Razor view engine is used for all views in the application. The \Views\CyclingLog includes the
_CalculateSpeed.cshtml, EditLog.cshtml, GetLog.cshtml, and InsertLog.cshtml views. The
application, however, includes a \Views\Home\Index.cshtml view.
The controller included in the application is \Controllers\CyclingLogController.cs. You have also
included a timer.png image in the \Images folder.
When a user examines a cycling log, the user’s trail map is accessible. This map is configured as
a video and an Adobe Flash application. The browser should using H264, Ogg, or WebM formats
(in this order) to present the video natively. The Flash application should be used In the event that
the video cannot be presented.
Security:
The application should make use of forms authentication, and requires user logon for entering
information. The editing or deleting of cyclist information requires a user to be a member of the
Admin role.
Users must be members of the Admin role to.
You need to the application should be defended against cross-site request forgery. The SHA1
algorithm should be used to hash passwords.
A custom role provider must be included in CyclistLog.Providers.CyclingLogRoleProvider.es.
*************************************

You want to make sure that the application exhibits the text, “Cycling 2013”. The text should be
exhibited in the footer in the last part of the _Layout.cshtml file, and should be formatted by
JavaScript.
You want to make sure that, based on browser support, the text is exhibited as plain text or
formatted text.
Which of the following actions should you take?

PrepAway - Latest Free Exam Questions & Answers

A.
You should consider changing the InsertLog.cshtml view.

B.
You should consider changing the EditLog.cshtml view.

C.
You should consider changing the layout.

D.
You should consider changing the _CalculateSpeed.cshtml view.


Leave a Reply