Salesforce Platform Developer I (legacy) — Question 133
Universal Containers is building a recruiting app with an Applicant object that stores information about an individual person and a Job object that represents a job. Each applicant may apply for more than one job.
What should a developer implement to represent that an applicant has applied for a job?
Answer options
- A. Lookup field from Applicant to Job
- B. Junction object between Applicant and Job
- C. Master-detail field from Applicant to Job
- D. Formula field on Applicant that references Job
Correct answer: C
Explanation
The correct answer is C, as a master-detail relationship allows for a strong association between the Applicant and Job objects, enabling features like cascading deletes and roll-up summary fields. The other options do not provide the same level of relationship management; a lookup field (A) is more loosely connected, a junction object (B) is unnecessary since there is only one direction of relationship needed, and a formula field (D) does not establish a relationship but merely calculates data.