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 2 answers.
This question asks for 2 answers, but our data marks only 1. Compare with the community discussion below for the full answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
A & D makes more sense. You can't have a rating without an employee. Tested in a Dev Sandbox when creating a master detail on a custom object to Employee object: "Sharing Setting - Select the minimum access level required on the Master record to create, edit, or delete related Detail records: Read Only: Allows users with at least Read access to the Master record to create, edit, or delete related Detail records. Read/Write: Allows users with at least Read/Write access to the Master record to create, edit, or delete related Detail records."
I think B is not best option because Rating object has no sense without Employee object. In MD only read access to the parent is obligatory for detail object. Create/Edit/Delete permissions can be separate for master and detail record.
I I would vote for A & D: A because as already explained by others there is no AVG function in roll-up summary fields. D because you just need read access to the parent to be able to create child records and, to me, it wouldn't make sense a rating record without an associated employee; of course you can enforce requirement for a lookup relationship but it could also be optional and in B it's not stated that the lookup relationship should be marked as required..