nerdexam
Salesforce

PDII · Question #225

There are user complaints about slow render times of a custom data table within a Visualforce page that loads thousands of Account records at once. What can a developer do to help alleviate such…

The correct answer is C. Use the standard Account List controller and implement pagination. See the full explanation below for the reasoning.

Question

There are user complaints about slow render times of a custom data table within a Visualforce page that loads thousands of Account records at once. What can a developer do to help alleviate such issues?

Options

  • AUse the transient keyword in the Apex code when querying the Account records
  • BUse JavaScript remoting to query the accounts
  • CUse the standard Account List controller and implement pagination
  • DUpload a third-party data table library as a static resource

How the community answered

(50 responses)
  • A
    4% (2)
  • B
    8% (4)
  • C
    70% (35)
  • D
    18% (9)

Community Discussion

No community discussion yet for this question.

Full PDII Practice