Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam Certified Platform Developer II topic 1 question 202 discussion

Actual exam question from Salesforce's Certified Platform Developer II
Question #: 202
Topic #: 1
[All Certified Platform Developer II Questions]

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.)

  • 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
  • C. Use the private keyword in the controller for variables
  • D. Refine any SOQL queries to return only data relevant to the page
  • E. Use filters and pagination to reduce the amount of data
Show Suggested Answer Hide Answer
Suggested Answer: BDE 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Soliton321
Highly Voted 3 years, 3 months ago
its ADE. ViewState = Trasient or RemoteObject/@remoteAction
upvoted 11 times
...
AppleDash
Most Recent 10 months, 4 weeks ago
Selected Answer: ADE
ADE is correct answer.
upvoted 1 times
...
OmShantiVeg
1 year, 9 months ago
Ans is ADE
upvoted 2 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 ...