Get Smart with exam 70 486

Testking offers free demo for 70 486 study guide exam. “Developing ASP.NET MVC 4 Web Applications”, also known as exam 70 486 exam, is a Microsoft Certification. This set of posts, Passing the Microsoft exam ref 70 486 exam, will help you answer those questions. The 70 486 book Questions & Answers covers all the knowledge points of the real exam. 100% real Microsoft exam 70 486 dumps exams and revised by experts!

2017 NEW RECOMMEND

Free VCE & PDF File for Microsoft 70-486 Real Exam
(Full Version!)

Pass on Your First TRY 100% Money Back Guarantee Realistic Practice Exam Questions

Free Instant Download NEW 70-486 Exam Dumps (PDF & VCE):
Available on:
http://www.certleader.com/70-486-dumps.html

Q21. Topic 1, Olympic Marathon 

Background 

You are developing an ASP.NET MVC application in Visual Studio 2012 that will be used by Olympic marathon runners to log data about training runs. 

Business Requirements 

The application stores date, distance, and duration information about a user's training runs. The user can view, insert, edit, and delete records. 

The application must be optimized for accessibility. 

All times must be displayed in the user's local time. 

Technical Requirements 

Data Access: 

Database access is handled by a public class named 

RunnerLog.DataAccess.RunnerLogDb. 

All data retrieval must be done by HTTP GET and all data updates must be done by HTTP 

POST. 

Layout: 

All pages in the application use a master layout file named \\Views\\Shared\\_Layout.cshtml. 

Models: 

The application uses the \\Models\\LogModel.cs model. 

Views: 

All views in the application use the Razor view engine. 

Four views located in \\Views\\RunLog are named: _CalculatePace.cshtml EditLog.cshtml GetLog.cshtml InsertLog.cshtml 

The application also contains a \\Views\\Home\\Index.cshtml view. 

Controllers: 

The application contains a \\Controllers\\RunLogController.cs controller. 

Images: 

A stopwatch.png image is located in the \\Images folder. 

Videos: 

A map of a runner's path is available when a user views a run log. The map is implemented 

as an Adobe Flash application and video. The browser should display the video natively if possible, using H264, Ogg, or WebM formats, in that order. If the video cannot be displayed, then the Flash application should be used. 

Security: 

You have the following security requirements: The application is configured to use forms authentication. Users must be logged on to insert runner data. Users must be members of the Admin role to edit or delete runner data. There are no security requirements for viewing runner data. You need to protect the application against cross-site request forgery. Passwords are hashed by using the SHA1 algorithm. 

RunnerLog.Providers.RunLogRoleProvider.cs contains a custom role provider. 

Relevant portions of the application files follow. (Line numbers are included for reference only.) 

Application Structure 

– (Topic 1) 

You need to ensure that the application uses RunLogRoleProvider custom role provider. 

How should you modify the web.config file? (To answer, drag the appropriate line of code to the correct location or locations. Each line of code 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.) 

Answer: 

Q22. – (Topic 4) 

You are developing an ASP.NET MVC application that uses forms authentication against an Oracle database. 

You need to authenticate the users. Which code segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Explanation: When implementing a custom membership provider, you are required to inherit the MembershipProvider abstract class. There are two primary reasons for creating a custom membership provider. You need to store membership information in a data source that is not supported by the membership providers included with the .NET Framework, such as a FoxPro database, an Oracle database, or other data source. You need to manage membership information using a database schema that is different from the database schema used by the providers that ship with the .NET Framework. A common example of this would be membership data that already exists in a SQL Server database for a company or Web site. 

Reference: MembershipProvider Class 

https://msdn.microsoft.com/en-us/library/system.web.security.membershipprovider(v=vs.110).aspx 

Q23. DRAG DROP – (Topic 4) 

You are building an ASP.NET MVC web application. 

The application will be viewed by users on their mobile phones. 

You need to ensure that the page fits within the horizontal width of the device screens. 

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 segments to the correct targets. Each line of code 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.) 

Answer: 

Q24. – (Topic 2) 

You need to implement client-side animations according to the business requirements. 

Which line of code should you use? (Each correct answer presents a complete solution. Choose all that apply.) 

A. $ ("h1: first") .animate ({ opacity: 0 }); 

B. $("h1:first").fadeIn(1000); 

C. $("h1:first").animate({ opacity: 1 }); 

D. $("h1:first").fadeOut(1000); 

Answer: A,D 

Topic 3, Video Transcoding Service 

Background 

You are developing a video transcoding service. This service is used by customers to upload video files, convert video to other formats, and view the converted files. This service is used by customers all over the world. 

Business Requirements 

The user-facing portion of the application is an ASP.NET MVC application. It provides an interface for administrators to upload video and schedule transcoding. It also enables administrators and users to download the transcoded videos. 

When videos are uploaded, they are populated with metadata used to identify the video. The video metadata is gathered by only one system when the video upload is complete. 

Customers require support for Microsoft Internet Explorer 7 and later. 

The application contains a header that is visible on every page. 

If the logged-on user is an administrator, then the header will contain links to administrative functions. This information is read from a cookie that is set on the server. The administrative links must not be present if an error condition is present. 

Technical Requirements 

User Experience: 

The front-end web application enables a user to view a list of videos. 

The main view of the application is the web page that displays the list of videos. 

HTML elements other than the list of videos are changed with every request 

requiring the page to reload. 

Compatibility: 

Some customers use browsers that do not support the HTTP DELETE verb. 

These browsers send a POST request with an HTTP header of X-Delete when the intended action is to delete. 

Transcoding: 

The video transcoding occurs on a set of Windows Azure worker roles. The transcoding is performed by a third-party command line tool named transcode.exe. When the tool is installed, an Environment variable named transcode contains the path to the utility. A variable named license contains the license key. The license for the transcoding utility requires that it be unregistered when it is not in use. The transcoding utility requires a significant amount of resources. A maximum of 10 instances of the utility can be running at any one time. If an instance of the role cannot process an additional video, it must not prevent any other roles from processing that video. 

. The utility logs errors to a Logs directory under the utilities path. 

. A local Azure directory resource named perf is used to capture performance data. 

Development: 

. Developers must use Microsoft Remote Desktop Protocol (RDP) to view errors generated by the transcode.exe utility. 

. An x509 certificate has been created and distributed to the developers for this purpose. 

. Developers must be able to use only RDP and not any other administrative functions. 

Application Structure 

Q25. – (Topic 4) 

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.) 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer: A,C 

Reference: Examining the Details and Delete Methods 

http://www.asp.net/mvc/overview/getting-started/introduction/examining-the-details-and-delete-methods 

Q26. – (Topic 4) 

You are designing a distributed application. 

The application must store secure information that is specific to an individual user. The data must be automatically purged when the user logs off. 

You need to save transient information in a secure data store. 

Which data store should you use? 

A. Session state 

B. Database storage 

C. Profile properties 

D. Application state 

Answer:

Q27. HOTSPOT – (Topic 1) 

You need to implement the map of the runners' paths. 

How should you build the video viewer? (To answer, select the appropriate options in the answer area.) 

Answer: 

Q28. – (Topic 1) 

The RunLog/Views/InsertLog.cshtml view must display the /Images/stopwatch.png image and the “Insert Run Data” header text below the image. The view should resemble the exhibit. (Click the Exhibit button.) 

The application must display the image above the field set. 

You need to add the HTML code to /Runlog/Views/InsertLog.cshtml to display the image 

and header text. 

Which code segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Explanation: Example: 

<div style="background-image: url(../images/test-background.gif); height: 200px; width: 

400px; border: 1px solid black;">Example of a DIV element with a background 

image:</div> 

<div style="background-image: url(../images/test-background.gif); height: 200px; width: 

400px; border: 1px solid black;"> </div> 

Reference: DIV BACKGROUND-IMAGE in the STYLE element 

http://www.w3.org/WAI/UA/TS/html401/cp0301/0301-CSS-DIV-BACKGROUND-IMAGE.html 

Q29. – (Topic 4) 

You are developing an ASP.NET MVC application that uses forms authentication. The user database contains a user named LibraryAdmin. 

You have the following requirements: 

. You must allow all users to access the GetBook method. 

. You must restrict access to the EditBook method to the user named LibraryAdmin. 

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.) 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer: A,C 

Q30. – (Topic 4) 

You are developing an ASP.NET MVC application that will be deployed on a web farm. 

Passwords must be stored in the web.config file and must not be readable or in a format 

that is easily decodable 

You need to encrypt the passwords that are stored in the web.config file. 

Which command-line tool should you use? 

A. Aspnet_regiis.exe 

B. Ngen.exe 

C. Aspnet_merge.exe 

D. EdmGen.exe 

Answer:

Explanation: http://msdn.microsoft.com/en-us/library/zhhddkxy(v=vs.100).aspx 

Certleader Dumps
Certleader is a company specialized on providing high quality IT exam materials and fully committed to assist our respected clients crack any IT certification tests on their 1st efforts.