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

Exam Certified Platform Developer II All Questions

View all questions & answers for the Certified Platform Developer II exam

Exam Certified Platform Developer II topic 1 question 1 discussion

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

A Visualforce page loads slowly due to the large amount of data it displays.
Which strategy can a developer use to improve the performance?

  • A. Use Javascript to move data processing to the browser instead of the controller.
  • B. Use the transient keywords for the List variables used in the custom controller.
  • C. Use lazy loading to load the data on demand, instead of the controller's constructor.
  • D. Use an <apex:actionPoller> in the page to load all of the data asynchronously.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Rogueandroid
Highly Voted 3 years, 3 months ago
It is C. Your talking about the viewstate which is different .https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_best_practices_performance.htm
upvoted 11 times
...
shatrughna
Highly Voted 3 years ago
C is the right answer
upvoted 7 times
...
Paruv
Most Recent 4 months, 2 weeks ago
Ans: C
upvoted 1 times
...
Sappaul
3 years, 5 months ago
C is the right Answer
upvoted 5 times
...
Titis
3 years, 5 months ago
B. Use transient keyword https://developer.salesforce.com/docs/atlas.en-us.salesforce_visualforce_best_practices.meta/salesforce_visualforce_best_practices/pages_best_practices_perf_code_view_state.htm
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 ...