Question

Difficulty: EasyStandard and Custom Object Management

A non-profit organization tracks community outreach using a custom object named Volunteer Assignment, which has a Master-Detail relationship with a parent custom object named Community Event. What happens to the related Volunteer Assignment records when a Community Event record is deleted?

  1. The related Volunteer Assignment records are automatically deleted along with the parent record.Answer
  2. B
    The related Volunteer Assignment records remain intact with their parent lookup field cleared.
  3. C
    The parent Community Event record cannot be deleted until all related Volunteer Assignment records are removed first.
  4. D
    The related Volunteer Assignment records are automatically reassigned to the default System Administrator.

Answer

When a parent master record in a Master-Detail relationship is deleted, Salesforce automatically deletes all associated child detail records.
In Salesforce custom object administration, a Master-Detail relationship tightly couples the detail object to the master object. A core feature of this architecture is cascading deletion: deleting the master record automatically deletes all linked detail records.

Step-by-Step Solution

1
Identify the relationship type between the two objects.
The relationship is defined as Master-Detail between Community Event (Master) and Volunteer Assignment (Detail).
Relationship type dictates record lifecycle, security inheritance, and deletion behavior.
2
Determine cascading deletion rules for Master-Detail relationships.
Deleting a master record automatically cascades deletion to all child detail records.
Child detail records depend entirely on the parent master record for their existence and security access.

Key Concept

Master-Detail Cascading Deletion
Rate this question