exam questions

Exam 70-486 All Questions

View all questions & answers for the 70-486 exam

Exam 70-486 topic 1 question 141 discussion

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

You are designing an ASP.NET Core MVC application that handles multiple customers. A user may log on to the site to perform activities such as checking balances, performing transactions, and other activities that must be done securely.
The application must store secure information that is specific to an individual user. The data must be automatically and securely purged when the user logs off.
You need to save transient information in a secure data store.
Which data store should you use?

  • A. ASP.NET session state
  • B. ASP.NET profile properties
  • C. shared database
  • D. ASP.NET application state
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
SG
Highly Voted 5 years, 11 months ago
the correct answer is A
upvoted 52 times
...
supersunny
Highly Voted 5 years, 10 months ago
I thumb up for A as well.
upvoted 18 times
...
northgaterebel
Most Recent 4 years, 5 months ago
Question states "You need to save transient information in a secure data store." Session state will not save data but database will.
upvoted 1 times
...
wel
4 years, 6 months ago
https://stackoverflow.com/questions/3354360/storing-user-variables-in-database-vs-session-in-asp-net
upvoted 1 times
...
Witcher
4 years, 9 months ago
Don't store sensitive data in session state. The user might not close the browser and clear the session cookie. Some browsers maintain valid session cookies across browser windows. A session might not be restricted to a single user. The next user might continue to browse the app with the same session cookie. Question asked for transient info to be stored : Only possible option is a database then
upvoted 1 times
Witcher
4 years, 9 months ago
so wrong..... Session state always
upvoted 3 times
...
...
DB1984
4 years, 11 months ago
Is session state available inasp.net core and Iam sure application state is not available. ?
upvoted 2 times
...
zimzimzimma
5 years, 1 month ago
A shared database? Are you kidding? It should be A, as others already pointed out, but I found this supposed answer so ridiculous that I just HAD to comment.
upvoted 10 times
mr_
5 years ago
Yeah, that is funny. It needs to be purged automatically so let's persist it in DB xD.
upvoted 5 times
...
...
soufou
5 years, 3 months ago
A is correct
upvoted 3 times
...
israelquiroz93
5 years, 3 months ago
Definately is A
upvoted 3 times
...
Gods_Kenny
5 years, 3 months ago
A should be the correct answer
upvoted 4 times
...
soufou
5 years, 3 months ago
i agree it should be A
upvoted 4 times
...
basha
5 years, 5 months ago
The answer should be A
upvoted 9 times
...
Jeffry
5 years, 9 months ago
It should be A ... Session
upvoted 11 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 ...