exam questions

Exam 70-486 All Questions

View all questions & answers for the 70-486 exam

Exam 70-486 topic 1 question 121 discussion

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

You are designing a distributed application.
The application must store a small amount of information that is shared across all users and does not change frequently.
You need to configure the application to meet the requirements.
Which server-side state management options will achieve the goal? Each correct answer presents a complete solution. Choose all that apply.

  • A. Database support
  • B. Profile properties
  • C. Session state
  • D. Application state
Show Suggested Answer Hide Answer
Suggested Answer: AD 🗳️
A: 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.
D: 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 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.
Incorrect Answers:
B: Profile properties stores personal, not global, information.
C: Session state is not global. Session states handles user information such as cookies, hidden fields, and query strings are some client-side options to tracking user state
D: Application State does not exist in Azure.
References:
https://msdn.microsoft.com/en-us/library/ms178594.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
Waleed
Highly Voted 5 years, 11 months ago
correct answer is A only
upvoted 6 times
...
Gods_Kenny
Highly Voted 5 years, 3 months ago
AD is correct
upvoted 6 times
...
LewisFrom39191005
Most Recent 4 years, 5 months ago
A distributed application does not mean that you are using a web farm or a web garden. The question does not mention web farm or web garden. Therefore, application state can be used.
upvoted 3 times
...
edmondme
4 years, 9 months ago
Kind of confusing, it states AD, but then it states D cannot be an option?
upvoted 1 times
...
zozox
4 years, 10 months ago
Answer is only A : According to https://www.codeproject.com/Questions/611972/State-Management-in-WCF "The above code is using the Application object of ASP.NET to maintain state. Application object is not available in WCF." Regarding Web farms & Web forms application state will not work as well. so Only database.
upvoted 2 times
...
Paulo1
5 years, 1 month ago
A D are correct
upvoted 1 times
...
aousos
5 years, 1 month ago
A D correct
upvoted 1 times
...
Paulo1
5 years, 2 months ago
A D are correct
upvoted 1 times
...
SirRocko
5 years, 3 months ago
Ignore the others AD is correct
upvoted 2 times
...
mmk1991
5 years, 3 months ago
The correct answer should be A only. Question states it's a distributed application environment while application state will not work in this scenario: Scalability Application state is not shared among multiple servers serving the same application, as in a Web farm, or among multiple worker processes serving the same application on the same server, as in a Web garden. https://docs.microsoft.com/en-us/previous-versions/dotnet/netframework-3.0/ms178594(v=vs.85)?redirectedfrom=MSDN
upvoted 1 times
fagdfgsg
5 years, 3 months ago
it doesn't need to be shared because it's not updated frequently. it can only be used for reading if available
upvoted 1 times
...
LewisFrom39191005
4 years, 5 months ago
I think A and D are correct answers here. A distributed application does not mean that you are using a web farm or a web garden. The question does not mention web farm or web garden. Therefore, application state can be used.
upvoted 2 times
...
...
Ekovalev
5 years, 7 months ago
Indeed, the database records won't be affected if the application stops for whatever reason.
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 ...