Certified Platform Developer II Exam QuestionsBrowse all questions from this exam

Certified Platform Developer II Exam - Question 1


A Visualforce page loads slowly due to the large amount of data it displays.

Which strategy can a developer use to improve the performance?

Show Answer
Correct Answer: C

To improve the performance of a Visualforce page that loads slowly due to a large amount of data, a developer can use lazy loading to load the data on demand, instead of in the controller's constructor. This approach ensures that the page only loads necessary data initially, thereby reducing the initial load time and improving performance.

Discussion

5 comments
Sign in to comment
RogueandroidOption: C
Jul 24, 2021

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

shatrughnaOption: C
Oct 27, 2021

C is the right answer

SappaulOption: C
Jun 8, 2021

C is the right Answer

TitisOption: B
May 28, 2021

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

ParuvOption: C
Jun 26, 2024

Ans: C