Salesforce Certified Platform Foundations free question 8 / 10 · Domain 3: Data Model
A company doesn't want temporary agency staff to know the Opportunity object exists at all. They shouldn't see the tab or be able to create, read, edit, or delete any opportunity. Which control in the Help article on data access fits this goal?
- Don't give the staff object permissions on Opportunities in a profile or permission set
- Set the organization-wide default for opportunities to Private and leave the staff out of sharing rules
- Create an opportunity page layout for the staff with no fields and assign it to them
- Hide the opportunity fields from the staff with field-level security
Show the answer and explanation
Answer: A
Why this is correct
The Help article "Control Who Sees What" describes object permissions, or object-level security, as the broadest way to control access to data. Object permissions can stop a user from viewing, creating, editing, or deleting any record of a type such as leads or opportunities, and can hide the tab and the object so the user doesn't even know that type of data exists. You specify object permissions in profiles and permission sets.
Why the other options are wrong
"Set the organization-wide default for opportunities to Private and leave the staff out of sharing rules" … Organization-wide defaults and sharing rules decide which records users can see. They don't hide the object, and a user with the Create permission can still create opportunities of their own.
"Hide the opportunity fields from the staff with field-level security" … Field-level security protects individual fields while access to the object stays. It doesn't hide the object itself.
"Create an opportunity page layout for the staff with no fields and assign it to them" … A page layout decides which fields appear on a page. It doesn't control whether a user can create or delete records.
The order of the layers
Access is designed by narrowing from the object to the field to the record. Objects and fields are set by profiles and permission sets, and records by organization-wide defaults, roles, and sharing rules.