exam questions

Exam 70-486 All Questions

View all questions & answers for the 70-486 exam

Exam 70-486 topic 1 question 22 discussion

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

You are developing an ASP.NET MVC application. The application is deployed in a web farm and is accessed by many users.
The application must handle web server failures gracefully. The servers in the farm must share the short-term state information.
You need to persist the application state during the session.
What should you implement?

  • A. ASP.NET session state
  • B. A local database
  • C. A state server
  • D. Profile properties
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
ASP.NET session state service provides a somewhat slower service than the in-process variant as we need to make calls to a remote server. All session data is stored in memory so shutting down the state machine will wipe out all session data as well.
References:
https://dotnetcodr.com/2013/07/01/web-farms-in-net-and-iis-part-5-session-state-management/

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
eggzamtaker
4 years, 1 month ago
To play devil's advocate: what's wrong with B?
upvoted 1 times
murat12345
4 years, 1 month ago
Well you wouldn't have a local webfarm normally so it has to be on the Cloud.
upvoted 1 times
...
...
apostolin
5 years, 3 months ago
The correct answer is: C.
upvoted 4 times
soni
4 years, 11 months ago
Irangi poda
upvoted 1 times
soni
4 years, 11 months ago
who r u
upvoted 1 times
...
...
...
Josph920
5 years, 8 months ago
Please disregard my previous comment, I re-read the question and C is the correct answer.
upvoted 3 times
nimmy
4 years, 11 months ago
it's ok dude
upvoted 2 times
...
...
Josph920
5 years, 8 months ago
Should the answer be A or C... since It is saying C but then give an explanation on A
upvoted 2 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago