QUESTION 1
Drag and Drop Question
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, 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.)
QUESTION 2
You are developing an ASP.NET MVC web application for viewing a list of contacts. The application is designed for devices that support changes in orientation, such as tablets and smartphones. The application displays a grid of contact tiles in portrait mode. When the orientation changes to landscape, each tile in the grid expands to include each contact’s details. The HTML that creates the tiled interface resembles the following markup.
The CSS used to style the tiles in landscape mode is as follows.
If this CSS is omitted, the existing CSS displays the tiles in portrait mode. You need to update the landscape-mode CSS to apply only to screens with a width greater than or equal to 500 pixels. Which code segment should you use?
A. @media screen and (width >= 500px) { . . . }
B. @media screen and (min-width: 500px) { . . . }
C. @media screen (min-width: 500px, max-width: 1000px) { . . . }
D. @media resolution (min-width: 500px) { . . . }
Answer: B
QUESTION 3
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: B
QUESTION 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: B
QUESTION 5
Drag and Drop Question
You are developing an ASP.NET MVC application that authenticates a user by using claims-based authentication. The application must:
– Use Windows Identity Foundation 4.5.
– Support the Windows Azure Access Control Service.
You need to implement authentication. How should you build the class constructor? (To answer, drag the appropriate code segment to the correct location or locations in the answer area. 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.)
QUESTION 6
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
QUESTION 7
You are developing an ASP.NET MVC web application that includes the following method.
You need to test the GoldMined method. Which unit test should you use?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: D
QUESTION 8
Hotspot Question
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.)
QUESTION 9
You are developing an ASP.NET MVC application by using Visual Studio 2012. The application throws and handles exceptions when it runs. You need to examine the state of the application when exceptions are thrown. What should you do?
A. From the Debug menu in Visual Studio 2012, select Exceptions. Enable the Thrown check box for Common Language Runtime Exceptions.
B. From the DEBUG menu in Visual Studio 2012, select Attach to Process. Select the IIS process.
C. From the Debug menu in Visual Studio 2012, select Exceptions. Disable the User-unhandled check box for Common Language Runtime Exceptions.
D. From the TOOLS menu in Visual Studio 2012, click Customize. C!ic< tie Commands tab and select Debug.
Answer: A
QUESTION 10
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
New Version Free Pass4sure Microsoft 70-486 Exam Dumps Download