SHARING-AND-VISIBILITY-DESIGNER practice question 20 of 30

Universal Containers would like to track defects within Salesforce. A defect need to have the following fields: • Severity • Type • Status • Description There will be multiple Defects related to the standard Case object. Defects will be assigned to different owners which will often be different to the Case owner. Which option should the Architect choose to meet the requirement?

Full set: 212 questions
Answer options
A: Create a relationship between the standard defect object and the standard case object.
B: Create a custom object for defects and relate it to cases using lookup Correct answer
C: Create all defect fields on the case object to track the defect and lookup.
D: Create a custom object for defects and relate it to cases using master –detail
Correct Answer:
B. Create a custom object for defects and relate it to cases using lookup
Explanation

The requirements call for a new object to track Defects, a one-to-many relationship with the standard Case object, and the ability for Defects to have a different owner than the related Case. Creating a custom object for Defects and relating it to Cases via a lookup relationship meets all these needs. A lookup relationship is a loosely coupled link that allows the child record (Defect) to have its own owner and independent sharing settings, which is a key requirement.

Why Incorrect

A. Salesforce does not include a standard object named "Defect," so a relationship cannot be created with a non-existent object.
C. Adding fields to the Case object cannot model a one-to-many relationship where multiple distinct Defect records are linked to a single Case.
D. A master-detail relationship is unsuitable because the detail (Defect) record inherits its owner from the master (Case) and cannot be owned separately.

References

1. Salesforce Object Reference Guide. A review of the guide confirms there is no standard "Defect" object.

2. Salesforce Help, "Overview of Relationships." This document compares relationship types, stating for master-detail, "The Owner field on the detail object is not available and is automatically set to the owner of its associated master record." For lookup relationships, it clarifies that objects have their own owners and sharing settings.

3. Salesforce Platform Developer I Certification Study Guide, "Data Modeling," section on "Describe the characteristics of the various relationship types." This section contrasts the ownership models of lookup and master-detail relationships.

Scroll to Top