A Salesforce administrator is designing a custom data model to link a parent object, Event_Project__c, to a child object, Deliverable__c. The business requires that deleting an Event_Project__c record automatically deletes all associated Deliverable__c records. Which two statements correctly describe the capabilities and behavior of configuring a Master-Detail relationship for this requirement? (Choose 2 answers)
- Deleting an Event_Project__c record automatically deletes all related Deliverable__c records.Answer
- Roll-up summary fields can be created on Event_Project__c to aggregate data from Deliverable__c records.Answer
- CDeliverable__c records will remain in the system as orphaned records when the parent Event_Project__c record is deleted.
- DRoll-up summary fields can only be created on a Lookup relationship and cannot be used on Master-Detail relationships.
Answer
The correct statements are that deleting an Event_Project__c record automatically deletes all related Deliverable__c records, and roll-up summary fields can be created on Event_Project__c to aggregate data from Deliverable__c records.
In a Master-Detail relationship, the detail record's lifecycle is tied to the master record, so deleting the master automatically deletes all detail records. Furthermore, Master-Detail relationships enable roll-up summary fields on the master object to aggregate child values.
Step-by-Step Solution
Key Concept
Master-Detail Relationship Behavior and Roll-Up Summary Capabilities