Salesforce Certified Platform App Builder — Question 122
Universal Containers created a custom object called Component to capture details about products sold.
What approach should an app builder take to show Component as a related list on Product?
Answer options
- A. Create a master-detail relationship on Product to Component. Add the Component related list to the Product page layout
- B. Create a lookup relationship on Component to Product. Add the Component related list to the Product page layout
- C. Create a junction object to relate Component and Product. Add the Component related list to the Product page layout
- D. Create a roll-up on Product. Add the Component related list to the Product page layout
Correct answer: B
Explanation
The correct answer is B, as creating a lookup relationship from Component to Product allows for the Component records to be associated with the Product while still being independently managed. Option A is incorrect because a master-detail relationship would not allow for the desired independent management of Component records. Options C and D are unnecessary complexities for simply displaying a related list.