
SalesforceCertified Platform Developer II
Domain 4Objective 5
Describe Techniques to Maximize Code Re-Use with Visualforce. PLATFORM-DEVELOPER-II Practice Questions (Page 1)
Part of the USER INTERFACE domain, which accounts for 20% of the PLATFORM-DEVELOPER-II exam.
19questions here
4free pages
9concepts
20%of the exam
Questions 1–5
- 1
What is a key trade-off when deciding to create a reusable custom component instead of page-specific code?
Select an answer first - 2
A developer is designing a Visualforce page that will be used in multiple Salesforce orgs with different customizations. The page needs to display a list of records and a custom action. The developer is deciding whether to use a custom component or write the code directly in the page. What is the most important consideration in this decision?
Select an answer first - 3
A developer wants to reuse a block of Visualforce markup and its associated controller logic across multiple pages. Which approach best promotes code reuse?
Select an answer first - 4
A developer is writing a controller that will be used by a Visualforce page and also by a custom component. The controller has a method to get a list of records. The developer wants to ensure the controller is not tightly coupled to a specific page. What should the developer do?
Select an answer first - 5
A developer has a custom component 'AddressForm' that collects address fields. The component is used on a page that needs to save the address to a custom object. How should the component communicate the entered address data back to the page's controller?
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.