What are two functions of a resource model? (Choose two.)
A. It executes create, retrieve, update and delete actions for an entity
B. It loads lists of entity models
C. It is made available in the Magento API for the purpose of data manipulation
D. It maps an entity to one or more database rows
Correct Answer: A & D
Correct Answer : A and D
Correct Answer :- A & D
Answer:- A and D
as per https://devdocs.magento.com/guides/v2.3/architecture/archi_perspectives/persist_layer.html
Magento uses an active record pattern strategy for persistence. In this system, the model object contains a resource model that maps an object to one or more database rows. A resource model is responsible for performing functions such as:
Executing all CRUD (create, read, update, delete) requests. The resource model contains the SQL code for completing these requests.
Correct Answer is A & D
C and D are the correct answers.
madrchod tere ko bataya kisne
A and D
Answer = A & D
according to https://devdocs.magento.com/guides/v2.4/architecture/archi_perspectives/persist_layer.html
I can’t trust on this answer. For me answer is A & B
A & D are correct answers
Seems the answers are wrong according to the docs https://devdocs.magento.com/guides/v2.4/architecture/archi_perspectives/persist_layer.html
Seems answers are wrong.