Exam Plat-Admn-202 Topic 2 Question 204 Discussion
Actual exam question for Salesforce's Plat-Admn-202 exam
Question #: 204
Topic #: 2
Question #: 204
Topic #: 2
An app builder is creating a custom object called Testimonial_c and wants to connect Testimonial_c records with both the submitter's Contact record and Account record If the Account is deleted, the Testimonial_c records should also be delete If the Contact is deleted, but the Account remains, the Testimonial_c records should remain. How should this be accomplished?
Suggested Answer: C Vote an answer
The correct design is to create a master-detail relationship from Testimonial__c to Account and a lookup relationship from Testimonial__c to Contact.
The Account relationship must be master-detail because Salesforce deletes related detail records when the master record is deleted. That matches the requirement that if the Account is deleted, the related Testimonial__c records are also deleted. The Contact relationship must be lookup because the Testimonial__c record must remain when the Contact is deleted. Salesforce lookup relationships can keep the child record and clear the lookup value when the referenced record is deleted.
Why the other options are wrong:
A reverses the required behavior. B would delete the testimonial if either master side caused deletion behavior, which does not fit the Contact requirement. D uses lookup for Account, so it does not guarantee Account deletion will also delete Testimonial__c record
The Account relationship must be master-detail because Salesforce deletes related detail records when the master record is deleted. That matches the requirement that if the Account is deleted, the related Testimonial__c records are also deleted. The Contact relationship must be lookup because the Testimonial__c record must remain when the Contact is deleted. Salesforce lookup relationships can keep the child record and clear the lookup value when the referenced record is deleted.
Why the other options are wrong:
A reverses the required behavior. B would delete the testimonial if either master side caused deletion behavior, which does not fit the Contact requirement. D uses lookup for Account, so it does not guarantee Account deletion will also delete Testimonial__c record
by Claude at Sep 29, 2026, 07:07 AM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).