Vendor: Microsoft
Certifications: Microsoft SharePoint Applications
Exam Name: Developing ASP.NET MVC 4 Web Applications
Exam Code: 70-486
Total Questions: 136 Q&As
QUESTION 1
You are developing an Azure worker role. You enable crash dump collection for the role.
When the role starts, an external application stops responding.
You need to download the crash dump to determine why the application stops responding.
From which two locations can you download the crash dump? Each correct answer presents a complete solution.
A. Azure Blob storage
B. the temp folder on the virtual machine that is running the role instance
C. Azure file storage
D. the DiagnosticStore local resource folder on the virtual machine that is running the role instance
Correct Answer: AD

QUESTION 2
You are developing an ASP.NET MVC application to be used on the Internet. The environment uses Active Directory with delegation to access secure resources. 70-486 dumps
Users must be able to log on to the application to maintain their personal preferences.
You need to use the least amount of development effort to enable users to log on.
What should you do?
A. Enable Forms authentication
B. Enable Windows authentication
C. Generate server SSL certificates and install them in IIS
D. Enable Digest authentication
Correct Answer: B

QUESTION 3
You are developing an ASP.NET MVC web application in Visual Studio 2012. The application requires several thousand content files. All content is hosted on the same IIS instance as the application.
You detect performance issues when the application starts.
You need to resolve the performance issues.
What should you do?
A. Enable compression in IIS.
B. Move the content to a second server.
C. Combine the content files by using ASP.NET MVC bundling.
D. Implement HTTP caching in IIS.
Correct Answer: C

QUESTION 5
You are testing an ASP.NET application.
The test plan requires that tests run against the application’s business layer.
You need to use the test project template that meets this requirement.
Which template should you use?
A. Web Test ProjectB. Load Test Project
C. Unit Test Project
D. Coded Test Project
Correct Answer: C

QUESTION 6
An advertising campaign was recently launched. Some of the ads contain a link to products that no longer exist or have IDs that have changed.
You need to ensure that all product links display a product.
Which code segment should you use to configure the route?
Correct Answer: A

QUESTION 8
You are developing an ASP.NET MVC application. The application is deployed in a web farm and is accessed by many users.
The application must handle web server failures gracefully. The servers in the farm must share the state information.
You need to persist the application state during the session.
What should you implement?
A. A state server
B. Cookieless sessions
C. A web garden on the web servers
D. An InProc session
Correct Answer: A

QUESTION 9
If the canvas element is supported by the client browser, the application must display “London 2012” in the footer as text formatted by JavaScript at the end of the _Layout.cshtml file.
You need to modify the layout to ensure that “London 2012″ is displayed as either formatted text or as plain text, depending on what the client browser supports.
Which code segment should you add?
A. <canvas id=”myFooter”>
@(Request,Browser.JavaApplets ? new HtmlString(“London 2012″) : null)
</canvas>
B. <canvas id=”myFooter”>London 2012</canvas>
C. <canvas id=”myCanvas”>London 2012</canvas>
D. <canvas id=”myCanvas”></canvas>
<p>London 2012</p>
Correct Answer: C

QUESTION 10
You are designing a data-oriented application that features a variety of storage schemas.
The application object model must be mapped to the various storage schemas.You need to enable developers to manipulate the data.
Which ADO.NET data access strategy should you use? (Each correct answer presents a complete solution. Choose all that apply.)
A. LINQ to SQL
B. Entity Framework
C. DataAdapter
D. DataReader
Correct Answer: ABC

QUESTION 11
You are designing a Windows Communication Foundation (WCF) service that uses the Product class. You need to update the class to meet the storage requirement.
What should you do? 70-486 dumps (Each correct answer presents part of the solution. Choose all that apply.)
A. Mark the Product class with the DataContract attribute.
B. Mark the public members of the Product class with the DataContractFormat attribute.
C. Mark the Product class with the CollectionDataContract attribute.
D. Mark the public members of the Product class with the DataMember attribute.
Correct Answer: AD

QUESTION 12
You need to implement the business requirements for managing customer data.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)
A. Add a class named Customer-Controller to the Controllers folder. Then add a method named Edit to the class.
B. Create a new controller named Administration in the Controllers folder. Add an action named EditCustomer to the controller.
C. Add a folder named Customer to the Views folder. Then create a view inside this folder named Edit.aspx.
D. Create a new folder named EditCustomer to the Views folder. In the new folder, create a new file named Administration.aspx.
Correct Answer: AC