SHARING-AND-VISIBILITY-ARCHITECT practice question 14 of 15

A banking company uses a VIP Flag in the Contact Object that they want only Private Banking Reps to see. Which approach is recommended to meet this requirement?

Full set: 78 questions

Domain Declarative Sharing

Answer options
A: Change the type of VIP Flag field to a picklist, define a new record type for the Contact Object and make the picklist field available for Editing.
B: Define a page layout for Contact Object and add the VIP Flag field for that layout. Remove the VIP Flag field from other layouts.
C: Set the Field Level Security for the VIP Flag field so that it is visible to Private Banking Rep Profile. Correct answer
Correct Answer:
C. Set the Field Level Security for the VIP Flag field so that it is visible to Private Banking Rep Profile.
Explanation

Field-Level Security (FLS) is the most direct and appropriate mechanism for controlling user access to view or edit specific fields. By setting the FLS for the "VIP Flag" field to be visible only for the "Private Banking Rep Profile" (or an equivalent permission set), access is restricted at the data layer. This ensures that only authorized users can see the field's data, regardless of whether they are viewing it on a page layout, in a report, a list view, or through an API call. This method enforces the principle of least privilege securely and efficiently.

Why Incorrect

A. Record types are designed to control business processes, page layouts, and picklist values. They do not provide a direct security control for field visibility.
B. Page layouts only control the visibility of a field on a record's detail and edit pages. Users could still see the field's data in reports, list views, or via the API.

References

1. Salesforce Help, "Field-Level Security": "Field-level security settings let you restrict what fields users can view and edit based on their profiles and permission sets... Field-level security is the simplest way to control user access to a particular field." This document establishes FLS as the primary control for field visibility.

2. Salesforce Help, "Control Access to Fields": "You can control which fields users can access in profiles and permission sets. Field permissions control the visibility of fields in any part of the app, including related lists, list views, reports, and search results." This explicitly contrasts FLS with page layouts, which only control UI on record pages.

3. Salesforce Architects, "Record Access: Under the Hood": In the "Salesforce Security" section, the guide outlines the layers of data access. It clearly places Field-Level Security as the control for "Which fields can a user see on a record?", distinct from page layouts which are described as a UI-level control.

4. Salesforce Security Guide, PDF: In the chapter "Controlling Access to Your Data," this guide details the hierarchy of security controls. It specifies that "Field-level security settings control whether a user can see, edit, and delete the value for a particular field on an object... These settings override field properties set in page layouts." (See section: "Object, Field, and Record-Level Security").

Scroll to Top