nerdexam
Salesforce

PDII · Question #2

A developer created and tested a Visualforce page in their developer sandbox, but now receives reports that users are encountering ViewState errors when using it in Production. What should the develop

The correct answer is B. Ensure properties are marked as Transient.. See the full explanation below for the reasoning.

Question

A developer created and tested a Visualforce page in their developer sandbox, but now receives reports that users are encountering ViewState errors when using it in Production. What should the developer ensure to correct these errors?

Options

  • AEnsure queries do not exceed governor limits.
  • BEnsure properties are marked as Transient.
  • CEnsure properties are marked as private.
  • DEnsure profiles have access to the Visualforce page.

How the community answered

(21 responses)
  • A
    5% (1)
  • B
    86% (18)
  • D
    10% (2)

Community Discussion

No community discussion yet for this question.

Full PDII Practice