PLAT-ADMN-201 · Question #26
PLAT-ADMN-201 Question #26: Real Exam Question with Answer & Explanation
The correct answer is C: Shipments should have a lookup to Account.. When relating two objects where the child records must persist even if the parent record is deleted, a Lookup Relationship is the correct choice. In this scenario, the Shipment object should have a lookup field pointing to the Account. Unlike a Master-Detail relationship (Option
Question
Cloud Kicks has a custom object called Shipments. The company wants to see all the shipment items from an Account page. When an Account is deleted, the shipments should remain. Which type of relationship should a Platform Administrator make between Shipments and Accounts?
Options
- AAccounts should have a lookup to Shipments.
- BShipments should have a master detail to Accounts.
- CShipments should have a lookup to Account.
- DAccounts should have a master detail to Shipments.
Explanation
When relating two objects where the child records must persist even if the parent record is deleted, a Lookup Relationship is the correct choice. In this scenario, the Shipment object should have a lookup field pointing to the Account. Unlike a Master-Detail relationship (Option B), which automatically deletes child records (cascade delete) when the master is deleted, a Lookup relationship allows the child record to remain in the system, either by clearing the lookup field or simply leaving it as is. Option A and D are architecturally incorrect because the relationship field is always created on the "child" or "many" side of the relationship (Shipments) to point to the "parent" (Account). Using a Lookup relationship ensures data retention for historical shipment tracking while still allowing the shipment items to be visible via a related list on the Account page.
Topics
Community Discussion
No community discussion yet for this question.