
SalesforceCertified Platform Developer II
Domain 4Objective 2
Describe the Considerations When Creating Custom Controllers and Controller Extensions. PLATFORM-DEVELOPER-II Practice Questions (Page 3)
Part of the USER INTERFACE domain, which accounts for 20% of the PLATFORM-DEVELOPER-II exam.
24questions here
5free pages
10concepts
20%of the exam
Questions 11–15
- 11
What is view state in a Visualforce page?
Select an answer first - 12
A developer is writing a custom controller for a Visualforce page that queries a large number of records and performs complex calculations. The page is expected to be used by many users concurrently. What is a best practice to avoid hitting governor limits?
Select an answer first - 13
What is a common use of the constructor in a custom controller or extension?
Select an answer first - 14
A developer is optimizing a Visualforce page that uses a custom controller. The page displays a list of records and has a search form. The developer wants to reduce view state while maintaining functionality. Which combination of techniques is most effective?
Select an answer first - 15
A custom controller has an action method that saves a record and then redirects to a Visualforce page that displays a success message. The developer wants to avoid the success message appearing if the user refreshes the page. What is the best approach?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by Salesforce. “PLATFORM-DEVELOPER-II” is a trademark of its owner, used for identification only.