Microsoft 70-486 Developing ASP.NET MVC 4 Web Applications Exam Practice Test

Page: 1 / 14
Total 231 questions
Question 1

You need to ensure that all the MVC controllers are secure.

Which code segment should you use as the body for the CreateController method in AdminVerifierFactory.es?



Answer : C


Question 2

You need to ensure that developers can connect to a Windows Azure role by using RDP.

What should you do?



Answer : D


Question 3

You need to configure session storage in the web.config file to meet the technical requirements for scalability.

Which SessionState mode should you use? (Each correct answer presents a complete solution. Choose all that apply.)



Answer : A, D

ASP.NET session state supports several different storage options for session data. Each option is identified by a value in the SessionStateMode enumeration. The following list describes the available session state modes:

* StateServer mode, which stores session state in a separate process called the ASP.NET state service. This ensures that session state is preserved if the Web application is restarted and also makes session state available to multiple Web servers in a Web farm.

* SQLServer mode stores session state in a SQL Server database. This ensures that session state is preserved if the Web application is restarted and also makes session state available to multiple Web servers in a Web farm.

* InProc mode, which stores session state in memory on the Web server. This is the default.

* Custom mode, which enables you to specify a custom storage provider.

* Off mode, which disables session state.

References: https://msdn.microsoft.com/en-us/library/ms178586.aspx


Question 4

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



Answer : A, D

From scenario: Information about the first product on the product page must fade out over time to encourage the user to continue browsing the catalog.


Question 5

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



Answer : B, C

From scenario: Information about the first product on the product page must fade out over time to encourage the user to continue browsing the catalog.


Question 6

You need to configure session storage in the web.config file to meet the technical requirements for scalability.

Which SessionState mode should you use? (Each correct answer presents a complete solution. Choose all that apply.)



Answer : A, D


Question 7

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



Answer : A, D


Page:    1 / 14   
Total 231 questions