Salesforce
PDII · Question #183
PDII Question #183: Real Exam Question with Answer & Explanation
Sign in or unlock PDII to reveal the answer and full explanation for question #183. The question stem and answer options stay visible for context.
Question
A company recently deployed a Visualforce page with a custom controller that has a data grid of information about Opportunities in the org. Users report that they receive a
Maximum view state size limit error message under certain conditions. According to Visualforce best practice, which three actions should the developer take to reduce the view state? (Choose three.)Options
- AUse the transient keyword in the Apex controller for variables that do not maintain state
- BUse the final keyword in the controller for variables that will not change
- CUse the private keyword in the controller for variables
- DRefine any SOQL queries to return only data relevant to the page
- EUse filters and pagination to reduce the amount of data
Unlock PDII to see the answer
You've previewed enough free PDII questions. Unlock PDII for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.