PLAT-ADMN-201 · Question #4
PLAT-ADMN-201 Question #4: Real Exam Question with Answer & Explanation
The correct answer is A: Create a junction with a custom object.. In Salesforce, a true many-to-many relationship between two objects requires a junction object - a third custom object that sits between the two. (A) The administrator must create this new custom object to serve as the junction. (B) On the junction object, two master-detail relat
Question
Universal Containers' Platform Administrator has been asked to create a many-to-many relationship between two existing custom objects. Which two steps should the administrator take when enabling the many-to-many relationship?
Options
- ACreate a junction with a custom object.
- BCreate two master-detail relationships on the new object.
- CCreate URL fields on a custom object.
- DCreate two lookup relationships on the new object.
Explanation
In Salesforce, a true many-to-many relationship between two objects requires a junction object - a third custom object that sits between the two. (A) The administrator must create this new custom object to serve as the junction. (B) On the junction object, two master-detail relationship fields must be created - one pointing to each of the original objects. Master-detail (not lookup) relationships are required so the junction records are owned by their parent records and are deleted when a parent is deleted, which is the standard Salesforce pattern. URL fields (C) and lookup relationships (D) alone are not the correct mechanism for a standard many-to-many relationship.
Topics
Community Discussion
No community discussion yet for this question.