ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 299 - Certified Platform Developer II discussion

Report
Export

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 3 answers

A.
Use the transient keyword in the Apex controller for variables that do not maintain state.
Answers
A.
Use the transient keyword in the Apex controller for variables that do not maintain state.
B.
Use the final keyword In the controller for variables that will not change.
Answers
B.
Use the final keyword In the controller for variables that will not change.
C.
Refine any SQQL queries to return only data relevant to the page.
Answers
C.
Refine any SQQL queries to return only data relevant to the page.
D.
Use the private keyword in the controller for variables
Answers
D.
Use the private keyword in the controller for variables
E.
Use filters and pagination to reduce the amount of data.
Answers
E.
Use filters and pagination to reduce the amount of data.
Suggested answer: C, D, E
asked 23/09/2024
Kurt Onal
43 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first