Salesforce-Platform-Sharing-and-Visibility-Architect Practice Test

Salesforce Spring 25 Release -
Updated On 10-Nov-2025

77 Questions

Universal Containers (UC) has affiliates who sell containers in countries where UC does not have a local office. UC uses a Partner Community to manage thesales cycle in those countries. One of its affiliates has grown substantially and restructured its internal sales team with the following structure: Sales VP —> Directorof Sales —> Sales Manager —>Sales Reps. Sales Reps should not see each others’opportunities, and visibility of deals should open up within a Sales Rep's hierarchy.
What is the main problem an architect should address in this situation?

A. The Channel Manager role cannot be shared with Partner Community.

B. Partner User roles arelimited to three Ievels.

C. Partner Community does not support Role Hierarchy.

B.   Partner User roles arelimited to three Ievels.

Summary:
The business requirement is to replicate a four-tier internal sales hierarchy (Sales VP -> Director -> Sales Manager -> Sales Reps) within a Partner Community to control opportunity visibility. The core architectural constraint is that the role hierarchy available to Partner Community users has a predefined and limited depth, which may not support the required number of levels for this complex structure.

Correct Option:

B. Partner User roles are limited to three levels.
This is the main problem. The standard role hierarchy for Partner Community users is constrained. While the exact number can vary, it is typically limited and less than the four-level structure required (VP, Director, Manager, Rep). This limitation prevents the architect from modeling the full hierarchy, which is necessary to achieve the cascading record visibility through the role hierarchy.

Incorrect Options:

A. The Channel Manager role cannot be shared with Partner Community.
This is not a standard limitation. Roles can be created and assigned to partner users as needed. The issue is not the sharing of a specific role but the structural limitation of the hierarchy's depth itself.

C. Partner Community does not support Role Hierarchy.
This statement is false. Partner Communities do support a role hierarchy to manage data sharing between partner users. The problem is not the absence of a hierarchy, but its inherent limitation in the number of supported levels, which is a key architectural consideration.

Reference:
Salesforce Help: Partner Role Hierarchy
The documentation typically states the limitation, e.g., "The partner role hierarchy can contain up to five levels of partner roles." However, the specific limit and whether it meets the requirement is the critical point. For a 4-level requirement, a standard 3-level limit would be the problem. Always check the most current documentation for the latest limits.

To grant Universal Containers sales managers access to shipment records properly, it was necessary to leverage Apex managed sharing. The IT team is worriedabout improper access to records.
What should an architect recommend to mitigate this risk?

A. Use isSharesble keyword in Apex classes to assure record visibility will be followed.

B. Use runAs system method in test classes to test using different users and profiles.

C. Use isAccesible keyword in Apex classes to assure record visibility will be followed.

B.   Use runAs system method in test classes to test using different users and profiles.

Summary:
The concern is about the quality and reliability of the custom Apex sharing logic. Since Apex runs in system context and bypasses sharing, a coding error could grant access to the wrong users. The primary mitigation for this risk is rigorous, automated testing that verifies the sharing logic behaves as expected under different user contexts and data scenarios before being deployed to production.

Correct Option:

B. Use runAs system method in test classes to test using different users and profiles.
This is the correct and most critical recommendation. The runAs method in an Apex test class allows the developer to simulate the code executing as a specific user with a specific profile and permission set. By writing comprehensive tests that use runAs for both users who should and should not get access, the IT team can automatically validate that the Apex sharing logic is correct and does not grant improper access, ensuring its reliability.

Incorrect Options:

A. Use isShareable keyword in Apex classes to assure record visibility will be followed.
The isShareable keyword in a SOQL query is used to return sharing information about why a user has access to a record. It is a diagnostic tool, not a preventative one. It does not enforce or validate that the correct sharing is in place; it only explains existing sharing.

C. Use isAccessible keyword in Apex classes to assure record visibility will be followed.
The correct method is isAccessible(), but it is used to check a user's Field-Level Security (FLS) or object-level read permission before querying or displaying that data. It is unrelated to enforcing or testing the record-level sharing rules created by Apex managed sharing. It does not mitigate the risk of incorrect record access.

Reference:
Salesforce Help: Using the runAs Method

Universal Containers (UC) is in a legal dispute regarding several orders. UC has found out these records were removed from the system. The VP of Sales has asked to ensure this cannot happen in the future.
Which approach should meet this requirement?

A. Change the Record Type/Page Layout assignment for Orders to be Read-Only.

B. Remove the Delete button from the Order Page Layout.

C. Remove Order Delete permission from profiles and permission sets.

C.   Remove Order Delete permission from profiles and permission sets.

Summary:
The requirement is to permanently and universally prevent the deletion of Order records to ensure legal data preservation. This is a strict security and compliance mandate. The solution must be enforced at the foundational security layer to prevent deletion through any means, including the UI, API, or other tools, not just by hiding a single button on a page.

Correct Option:

C. Remove Order Delete permission from profiles and permission sets.
This is the only correct and secure approach. Object-level "Delete" permissions are the primary control for this action. By removing this permission from all relevant profiles and permission sets, you prevent users from deleting Order records anywhere in Salesforce—through the record page, list views, mass delete tools, or the API. This is a systemic enforcement of the policy.

Incorrect Options:

A. Change the Record Type/Page Layout assignment for Orders to be Read-Only.
This is incorrect. Page layouts and read-only settings only control the user interface. They do not remove the underlying "Delete" permission. A user could still delete the record via a list view, the API, the mobile app, or a related list on another object. This does not provide the required guarantee.

B. Remove the Delete button from the Order Page Layout.
This is also incorrect and provides a false sense of security. While this hides the button from the specific record detail page, it does not remove the user's ability to delete. The user could still delete the record using the same methods listed in option A (list views, API, etc.). This is a UI-level change, not a security-level change.

Reference:
Salesforce Help: Object Permissions

A sales coach at Universal Containers wants to create and share a report folder with other sales coaches.
Which two permissions are required to accomplish this?

A. Create Report Folders and manage Reports in Public Folders

B. Create and customize Reports and Report Folders

C. Manage Reports in Public Folders and edit My Reports

A.   Create Report Folders and manage Reports in Public Folders

Summary:
The requirement is for a user to both create a new report folder and then manage sharing and content within public folders. These are two distinct administrative permissions in Salesforce. One permission grants the ability to create the container (the folder), while the other grants the authority to manage content within public containers, which is necessary for sharing the folder and its reports effectively with a group.

Correct Option:

A. Create Report Folders and manage Reports in Public Folders.
This is the correct pair of permissions.

"Create Report Folders": This permission allows the sales coach to create the new folder itself.

"Manage Reports in Public Folders": This permission allows the user to control the sharing settings of the folder (making it public and sharing it with other roles/groups) and to add, edit, or remove reports within any public folder, including the one they created.

Incorrect Options:

B. Create and customize Reports and Report Folders:
This option is incorrect. "Create and Customize Reports" is about building the report's logic and columns, not about folder management. "Report Folders" is not a standard permission; the correct permission is "Create Report Folders." This set lacks the critical "Manage Reports in Public Folders" permission needed to share the folder.

C. Manage Reports in Public Folders and edit My Reports:
This option is incorrect because it is missing the "Create Report Folders" permission. "Edit My Reports" only allows a user to modify reports in their personal "My Reports" folder, not to create a new, shareable public folder. Without the ability to create the folder, the user cannot accomplish the first step of the task.

Reference:
Salesforce Help: Grant Permissions for Reports and Dashboards

Universal Containers has expanded to sell virtual containers for data storage. Virtual container work orders are provisionedimmediately by the system andtherefore cannot be changed by a sales rep.
What is an optimal approach to implement these requirements?

A. Implement a sharingrule that changes access for all Work Orders to Read.

B. Change the Record Type/Page Layout assignment for Work Orders to Read Only.

C. Remove the Work Order Edit permission from the Sales Representative profile.

C.   Remove the Work Order Edit permission from the Sales Representative profile.

Summary:
The requirement is to prevent sales representatives from making any changes to Work Order records after they are provisioned. This is a security and data integrity requirement that must be enforced universally, not just through the user interface. The solution must remove the ability to edit at the object permission level to ensure it is effective everywhere in Salesforce.

Correct Option:

C. Remove the Work Order Edit permission from the Sales Representative profile.
This is the optimal and most secure approach. Object-level permissions are the foundation of security. By removing the "Edit" permission for the Work Order object from the Sales Rep profile, you prevent them from editing any Work Order records through the UI, API, or any other means. This is a global, foolproof enforcement of the business rule.

Incorrect Options:

A. Implement a sharing rule that changes access for all Work Orders to Read.
Sharing rules control record-level access, not object-level permissions. A sharing rule can grant "Read" access, but if the user's profile has the "Edit" permission on the object, they will still be able to edit records they own. Sharing rules cannot be used to remove edit permissions that exist at the profile level.

B. Change the Record Type/Page Layout assignment for Work Orders to Read Only.
This is an insecure and incomplete solution. Page layouts only control the user interface. While setting fields to read-only on a layout prevents editing from that page, a determined user could still edit the records using the API, a different page layout, a list view, or inline editing. It does not remove the underlying edit capability.

Reference:
Salesforce Help: Object Permissions

Page 1 out of 16 Pages