Salesforce Certified Platform App Builder — Question 115
What is true about Junction objects?
Answer options
- A. Junction object records are deleted when either associated master record is deleted and placed in the Recycle Bin.
- B. If both associated master records are deleted, the junction object record is deleted permanently and can't be restored.
- C. The first master-detail relationship you create on your junction object becomes the primary relationship.
- D. All of the above.
Correct answer: D
Explanation
All provided statements about Junction objects are correct. Option A explains the behavior of records in the Recycle Bin, Option B clarifies the permanent deletion of records when both masters are removed, and Option C highlights the primary relationship aspect. Therefore, D, which states that all of the above are true, is the correct answer.