exam questions

Exam 70-486 All Questions

View all questions & answers for the 70-486 exam

Exam 70-486 topic 1 question 21 discussion

Actual exam question from Microsoft's 70-486
Question #: 21
Topic #: 1
[All 70-486 Questions]

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
Show Suggested Answer Hide Answer
Suggested Answer: AC 🗳️
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.
References:
https://msdn.microsoft.com/en-us/library/azure/bf9xhdz4(v=vs.85).aspx

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
apostolin
Highly Voted 5 years, 9 months ago
The correct answer is: AC
upvoted 8 times
...
majco333
Highly Voted 5 years, 4 months ago
A is incorrect: Disadvantages of using application state are: Application scope The scope of application state can also be a disadvantage. Variables stored in application state are global only to the particular process the application is running in, and each application process can have different values. Therefore, you cannot rely on application state to store unique values or update global counters in Web-garden and Web-farm server configurations.
upvoted 5 times
tiger25
5 years, 3 months ago
How does the conclusion follow by the statement?
upvoted 1 times
...
...
kar12
Most Recent 4 years, 8 months ago
Couldn't be session while session is different for every user and the information is not user specific so profile won't suit.
upvoted 1 times
...
MaMa12345
5 years, 3 months ago
A state server would work, but is not mentioned in the question text so that does not apply. Also Azure does not apply since it is not mentioned. The explanation also references .NET 3.0 from 2014, which is not up to date.
upvoted 1 times
...
francis
5 years, 8 months ago
Can application state share the data for distributed apps?
upvoted 2 times
tiger25
5 years, 3 months ago
why not, if it provided by state server
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...