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
Explanation:
Application state is a data repository available to all classes in an ASP.NET application. Application state is
stored in memory on the server and is faster than storing and retrieving information in a database. Unlike
session state, which is specific to a single user session, application state applies to all users and all sessions.
Therefore, application state is a useful place to store small amounts of often-used data that does not change
from one user to another. The topics in this section provide information on how application state works and how
to use it.
SQL Database provides a relational database management system for Windows Azure and is based on SQL
Server technology. With a SQL Database instance, you can easily provision and deploy relational database
solutions to the cloud, and take advantage of a distributed data center that provides enterprise-class availability,
scalability, and security with the benefits of built-in data protection and self-healing.
https://msdn.microsoft.com/en-us/library/azure/bf9xhdz4(v=vs.85).aspx
In the question: The application must store a [small amount] of [insecure] global information that [does not change] frequently.
I think the best choice is (A) [Application state] only
The answer is correct:
A: Since we are not in an Azure environment, we can use the Application State.
B: SQL server despite being slower than the application state, it is still a good second option.
ups I meant C instead of B. correct answer is A and C. 😛