Question 1
Topic: Developer Fundamentals
Skill tested: Choose Salesforce data-model relationships that preserve ownership and sharing behavior.
A logistics company tracks reusable shipping containers and individual inspection events. Each inspection belongs to exactly one container, and users should see an inspection whenever they can see its container. The company also needs inspections to retain a container reference only while the container exists; inspections have no independent lifecycle and should be deleted when a container is deleted. Which data-model design best meets these requirements?
A master-detail relationship fits a child record whose lifecycle and access should follow its parent. The inspection inherits the container's sharing, cannot exist without its parent, and is deleted when the container is deleted. A lookup does not provide the same cascade deletion and inherited record access, while independent ownership conflicts with the stated lifecycle. A junction object is unnecessary because each inspection has one parent, and duplicating container records would distort the data model.