Question 140
After correcting this Salesforce problem: A subscription record can reference either an Account or a Contact using an arbitrary text ID and orphan records proliferate, what long-term governance control is most relevant?
Explanation
Correct Answer
Avoid plain-text record IDs when a native relationship can enforce integrity. This safeguard tests the failure mode: Relationship references are not enforced through supported Salesforce relational fields.
Incorrect Answers
This control would use relationship-backed lifecycle checks instead of free-text references; it responds to the risk in which an app requires users to view every child invoice before the parent contract can be archived but invoice links are stored as text. It would not address the current root cause: relationship references are not enforced through supported Salesforce relational fields.
The proposed check would review related-list navigation alongside object relationship design, helping with cases where a financial review screen needs related transactions displayed beneath an Account but the records were built as unrelated objects. The recurring exposure described here is that relationship references are not enforced through supported Salesforce relational fields.
This control would include invalid boundary data in every new field acceptance test; it responds to the risk in which a numeric warranty term field accepts negative months even though the business policy forbids them. It would not address the current root cause: relationship references are not enforced through supported Salesforce relational fields.