aiotestking uk

70-486 Exam Questions - Online Test


70-486 Premium VCE File

Learn More 100% Pass Guarantee - Dumps Verified - Instant Download
150 Lectures, 20 Hours

Q1. - (Topic 4) 

You are developing an ASP.NET MVC application. 

You need to authenticate clients by using NT LAN Manager (NTLM). 

Which authentication method should you implement? 

A. Basic 

B. Windows 

C. Forms 

D. Kerberos 

Answer:

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

Q2. - (Topic 4) 

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? 

A. @media resolution(max-width: 500px) { 

. . . 

B. @media screen(min-width: Opx, max-width: 500px) { 

. . . 

C. @media screen and (width <= 500px) { 

. . . 

D. @media screen and (max-width: 500px) { 

. . . 

Answer:

Q3. DRAG DROP - (Topic 1) 

You need to implement the Views\RunLog\_CalculatePace.cshtml partial view from Views\Runlog \GetLog.cshtml to display the runner's average mile pace. 

How should you implement the view? (To answer, drag the appropriate code segments to the correct location or locations. 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.) 

Answer:  

Q4. - (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 

Q5. - (Topic 4) 

You are developing an ASP.NET MVC application. 

You need to authenticate clients by using an ASP.NET membership database. 

Which authentication method should you implement? 

A. Kerberos 

B. Forms 

C. Basic 

D. Windows 

Answer:

Q6. - (Topic 4) 

You are developing an application that uses many small images for various aspects of the interface. 

The application responds slowly when additional resources are being accessed. 

You need to improve the performance of the application. 

What should you do? 

A. Preload all the images when the client connects to ensure that the images are cached. 

B. Combine all the images into a single image and use CSS to create sprites. 

C. Host all images on an alternate server and provide a CDN. 

D. Convert the images to .png file format and stream all images on a single connection. 

Answer:

Q7. 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:  

Q8. DRAG DROP - (Topic 4) 

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, drag the appropriate code segments to the correct targets. 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.) 

Answer:  

Q9. HOTSPOT - (Topic 4) 

You develop a new ASP.NET MVC web application. The application is hosted in an Azure Web Role. It includes the following code. Line numbers are included for reference only. 

For each of the following statements, select Yes if the statement is true. Otherwise, select No. 

Answer:  

Q10. HOTSPOT - (Topic 4) 

You are developing an ASP.NET MVC 4 application. You are using IntelliTrace to debug the application. You configure IntelliTrace as shown in the screenshot below. 

To answer, make the appropriate selections in the answer area. 

Answer: