Salesforce Certified Platform App Builder — Question 455
Cloud Kicks (CK) wants to set up a custom child object to track gift cards issued to a customer. A key requirement is to track the total number of gift cards opened and gift cards issued on an Account. CK wants to permanently ensure the gift cards are unable to be moved across any other Account once it is created.
On the gift card object, what type of field should be created to support this requirement?
Answer options
- A. Formula
- B. Master-detail relationship
- C. Poll-up summary
- D. Lookup relationship
Correct answer: B
Explanation
A Master-detail relationship is the correct choice because it tightly binds the gift card object to the Account, ensuring that gift cards cannot be reassigned to another Account once created. In contrast, a Lookup relationship would allow for more flexibility, permitting changes to the linkage of the gift card to different Accounts, which does not meet the requirement.