Question 1 of 30
In a Salesforce application, you are tasked with creating a Visualforce page that displays a list of accounts and allows users to edit the account details directly on the page. You need to ensure that the data binding between the Visualforce components and the Apex controller is correctly established. Which approach would best facilitate two-way data binding for the account fields while ensuring that changes are reflected in the underlying data model?
Use the `` component bound to a property in the controller that is marked with the `@AuraEnabled` annotation.
Utilize the `` component to display the account name and bind it to a transient property in the controller.
Implement the `` component linked to a standard controller for the Account object, ensuring that the controller's properties are not modified directly.
Create a custom controller that uses the `` component for each field, but do not implement any getter or setter methods for the properties.

Preparing for SalesForce DEV-501 Apex and Visualforce Controllers? Now land the interview.

73% of qualified candidates get rejected because of weak resumes. Build an ATS-optimized, recruiter-ready resume in under 5 minutes - free to start.

Build My Resume Free