Question

Difficulty: EasyObject Relationships (Lookup, Master-Detail, Many-to-Many)

An administrator is configuring object relationships between custom objects in Salesforce. Which two capabilities or behaviors are specific to Master-Detail relationships compared to Lookup relationships? (Select 2 answers)

  1. Deleting a master record automatically deletes all associated detail records.Answer
  2. Roll-up summary fields can be created on the master object to aggregate values from child records.Answer
  3. C
    Roll-up summary fields can be configured on parent records linked through a standard Lookup relationship.
  4. D
    Detail records are automatically retained and disassociated when their master record is deleted.

Answer

In Salesforce, Master-Detail relationships enforce cascading deletion of detail records when the master record is deleted and allow roll-up summary fields to be created on the master object to aggregate detail record values.
Master-Detail relationships feature cascading deletion of detail records upon master deletion and support roll-up summary fields on the master object to calculate aggregate data from child records.

Step-by-Step Solution

1
Analyze relationship deletion behavior
Identify that Master-Detail relationships perform cascading deletes on detail records when the master is deleted.
Detail record ownership and lifecycle are tightly coupled to the master record.
2
Evaluate roll-up summary field capabilities
Determine that roll-up summary fields are exclusively available on the master object in Master-Detail relationships.
Lookup relationships do not natively support roll-up summary fields.

Key Concept

Master-Detail Relationship Capabilities and Lifecycle Behaviors
Estimated Time:1m 0s
Rate this question