exam questions

Exam 70-486 All Questions

View all questions & answers for the 70-486 exam

Exam 70-486 topic 1 question 10 discussion

Actual exam question from Microsoft's 70-486
Question #: 10
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 state information.
You need to persist the application state during the session.
What should you implement?

  • A. A state server
  • B. Cookieless sessions
  • C. A web garden on the web servers
  • D. An InProc session
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
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.
Incorrect:
Not D: The InProc option is particularly dangerous in a web farm environment. For example imagine one farm machine which stores the session state but not the other. Subsequent web requests from the same user may not read the correct session state.
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
apostolin
Highly Voted 5 years, 9 months ago
The correct answer is: A
upvoted 8 times
...
markcowell
Most Recent 4 years, 8 months ago
A is correct.
upvoted 2 times
...
eggzamtaker
4 years, 9 months ago
A is correct.
upvoted 2 times
...
hungry_ape9000
5 years, 1 month ago
FINAL ANSWER: A is correct
upvoted 3 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 ...