Salesforce Platform Developer I (legacy) — Question 49
Which situation prevents a developer from setting sharing rules for a custom object?
Answer options
- A. The object's Sharing Settings is set to Public Read/Write.
- B. The object is on the detail side of a Master-Detail relationship.
- C. The developer is not a System Administrator.
- D. The object is referenced in an Owner field of a Master-Detail relationship.
Correct answer: B
Explanation
The correct answer is B because sharing rules cannot be applied to the detail side of a Master-Detail relationship, as access is determined by the master object. Option A does not apply because Public Read/Write settings do not require sharing rules. Option C is incorrect since sharing rules are not restricted by the developer's role, and option D is not relevant as it pertains to ownership rather than sharing rules.