Salesforce Certified Platform App Builder — Question 361
Universal Containers uses the Asset object to track products that are installed at customer locations. A new object, Asset Inventory, has been created to capture details about the asset.
Which approach should the app builder take to show Asset Inventory as a related list on Asset?
Answer options
- A. Create a roll-up on Asset. Add the Asset Inventory related list to the Asset page layout.
- B. Create a master-detail relationship on Asset to Asset Inventory. Add the Asset Inventory related list to the Asset page layout.
- C. Create a junction object to relate Asset Inventory and Asset. Add the Asset Inventory related list to the Asset page layout.
- D. Create a lookup relationship on Asset Inventory to Asset. Add the Asset Inventory related list to the Asset page layout.
Correct answer: D
Explanation
The correct answer is D because establishing a lookup relationship on Asset Inventory to Asset enables the related list to be displayed on the Asset page layout. Options A and B suggest roll-up and master-detail relationships, which are not necessary for this scenario since a lookup relationship suffices. Option C introduces a junction object, which is not required for a simple one-to-many relationship.