Salesforce Certified Platform App Builder — Question 1

A junction object has two Master-Detail relationships, a primary and a secondary master object.
What happens to a junction object record when both associated master records are deleted?

Answer options

Correct answer: A

Explanation

When both master records in a master-detail relationship are deleted, the junction object record is also permanently deleted and cannot be recovered. This is due to the nature of master-detail relationships where the child record's lifecycle is tightly coupled with its parent records. The other options are incorrect as they either misrepresent the behavior of deletions in master-detail relationships or pertain to unrelated scenarios.