we provide Breathing Microsoft 70 486 exam dumps free exam which are the best for clearing exam 70 486 pdf test, and to get certified by Microsoft Developing ASP.NET MVC 4 Web Applications. The exam 70 486 Questions & Answers covers all the knowledge points of the real 70 486 exam exam. Crack your Microsoft microsoft 70 486 Exam with latest dumps, guaranteed!
Q21. HOTSPOT - (Topic 4)
You are developing an ASP.NET MVC application that has pages for users who browse the site with Windows Phone 7.
The pages for Windows Phone 7 include the following files:
. _Layout.WP7.cshtml
. Index.WP7.cshtml
You need to update the application so that it renders the customized files correctly to Windows Phone 7 users.
How should you update the Application_Start method? (To answer, select the appropriate option from the drop-down list in the answer area.)
Answer:
Q22. - (Topic 4)
You are developing a new ASP.NET MVC application that will be hosted on Microsoft Azure. You need to implement caching.
The caching solution must support the following:
The cache must be able to store out-of-process ASP.NET session state.
The cache must be able to store a variety of data types.
The cache must offer a large amount of space for cached content.
You must be able to share output cache content across web server instances.
You need to select a cache solution.
Which caching solution should you choose?
A. ASP.NET Caching
B. Azure In-Role Cache
C. Azure Redis Cache
D. Azure Managed Cache Service
Answer: C
Reference: How to Use Azure Redis Cache
https://azure.microsoft.com/sv-se/documentation/articles/cache-dotnet-how-to-use-azure-redis-cache/
Q23. - (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: D
Q24. - (Topic 2)
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?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: A
Q25. - (Topic 2)
You updated the web.config file with the HTTP run-time value required to display an alternative version of the site.
You need to ensure that the correct page displays to the users.
Which code segment should you use to update the controller?
A. If (Request.IsTabletDevice)
B. If (Request.Browser.IsBrowser("Mobile"))
C. If (Request.UserAgent["Tablet"])
D. If (Request.Browser.IsMobileDevice)
Answer: D
Q26. - (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. Aspnet_regbrowsers.exe
C. Aspnet_setreg.exe
D. Aspnet_compiler.exe
Answer: A
Q27. - (Topic 3)
You need to maximize performance of video delivery.
Which code segment should you use as the body of the GetVideoStream function in the Video-Controller class?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: D
Q28. - (Topic 4)
You are designing a distributed application.
The application must store a small amount of insecure global information that does not change frequently.
You need to configure the application to meet the requirements.
Which server-side state management option should you use? (Each correct answer presents a complete solution. Choose all that apply.)
A. Application state
B. Session state
C. Database support
D. Profile properties
Answer: A,C
Q29. HOTSPOT - (Topic 4)
You are developing an ASP.NET MVC web application that enables users to open Microsoft Excel files.
The current implementation of the ExcelResult class is as follows.
You need to enable users to open Excel files.
How should you implement the ExecuteResult method? (To answer, select the appropriate options in the answer area.)
Answer:
Q30. - (Topic 4)
You are preparing for the deployment of an ASP.NET MVC application. You need to generate a deployment manifest.
Which command-line tool should you use?
A. Mage.exe
B. Ngen.exe
C. ALexe
D. Resgen.exe
Answer: C
Explanation: Al.exe generates a file with an assembly manifest from one or more files that are either resource files or Microsoft intermediate language (MSIL) files.