exam questions

Exam 70-486 All Questions

View all questions & answers for the 70-486 exam

Exam 70-486 topic 1 question 9 discussion

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

You are developing an ASP.NET MVC news aggregation application that will be deployed to servers on multiple networks.
The application must be compatible with multiple browsers. A user can search the website for news articles. You must track the page number that the user is viewing in search results.
You need to program the location for storing state information about the user's search.
What should you do?

  • A. Store search results and page index in Session.
  • B. Use Application state to store search terms and page index.
  • C. Use QueryString to store search terms and page index.
  • D. Store search results and page index in TempData
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
apostolin
Highly Voted 5 years, 8 months ago
The correct answer is: C.
upvoted 8 times
...
rortegax2
Most Recent 4 years, 4 months ago
C??? You are not storing the data, you are sending the data. Very ambiguous question and answer... If you actually want to store the data I would choose A.
upvoted 2 times
...
markcowell
4 years, 7 months ago
Not a great question given the answers available. More than one answers could be achieved. But C
upvoted 4 times
...
eggzamtaker
4 years, 7 months ago
C is the least worst answer. Although, ideally, the page number could be passed on to the server in the payload of the HTTP call itself, instead of the query string.
upvoted 3 times
...
hungry_ape9000
4 years, 12 months ago
FINAL ANSWER: C 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago