Salesforce Certified Platform App Builder — Question 59

Universal Containers needs to create a roll-up summary field on a custom object that counts the number of related records on another custom object.
What type of field must exist before the roll-up summary can be created, and where should it be located?

Answer options

Correct answer: D

Explanation

The correct answer is D because a roll-up summary field can only be created on a master-detail relationship, where the parent object controls the child records. Options A and B are incorrect because lookup relationships do not allow for roll-up summary fields, and option C is wrong as it references the parent object instead of the child object.