Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Salesforce Certified Platform Developer I (PDI) · Salesforce
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
The type of code that represents the Model in the MVC architecture when using Apex and Visualforce pages is: C. A list of Account records returned from a Controller Extension method. In the MVC (Model-View-Controller) architecture, the Model represents the data and business logic of the application. In this context, the Model would be the list of Account records returned from the Controller Extension method. The Controller is responsible for handling the logic and data manipulation, and the View is responsible for displaying the data to the user.
It is C, as it is a list of Records.
The Model in MVC usually stands for the Data structure. One certainty is that sObjects in Salesforce are part of the Model in the MVC. Therefore, I am thinking C indeed is the correct answer.