Free Practice Exam - MCPD 70-562
Control Panel
Exam Progress
Move on to the next question
Links
Home
Microsoft Exams
Question 4
You are creating a page that shows currency exchange rate for markets around the world. The search results are based on criteria that users have selected, including country and currency. To help users understand the data, users can also sort and filter the data as they wish. This page will be used worldwide will almost certainly come under heavy load during peak periods. As part of the page design, all sort and filter values selected by the user must be persisted across page postbacks. Which state management technique will allow you to store the values and not consume unnecessary memory or hinder performance.
Session
None of these
Application
ViewState
That was the correct answer, well done!
Sorry, that was the wrong answer
The best choice is ViewState. This state is stored in hidden values within the page and does not consume any server resources. Session state would work but it would increase the memory usage for the application. Application state is not a valid choice because values would be shared by all users and hence wouldn’t be of any use for personalized sorting or filtering of data.
Sponsored
Free practice exams are provided free of charge by Accelerated Ideas. Please respect our exams and do not reproduce our material or abuse the testing system. Thank you. Microsoft exams for MCPD, MCTS, MCP, MCSE, MCSA, MCAD, MCSD