SHARING-AND-VISIBILITY-DESIGNER practice question 12 of 30
Universal Containers (UC) has implemented Customer Community with customer community plus license for its distributors. Retail distributors have part-time agents who work for multiple distributors. Those agents should have access to other distributor accounts as well. What can be configured to grant agents access to different distributor accounts?
Full set: 212 questionsThe scenario describes a many-to-many relationship where an agent (User/Contact) needs access to multiple, specific distributor accounts. Standard declarative sharing tools like sharing rules or sharing sets are not designed for this granular, relationship-based access model for Customer Community Plus users. A sharing rule would be too broad, and sharing sets are for high-volume users. Therefore, Apex sharing is the appropriate solution to programmatically create AccountShare records, granting specific agents access to specific distributor accounts based on custom logic or a relationship object.
B. Share groups are used to share records owned by high-volume community users with other users. They do not grant access to records for Community Plus users in this manner.
C. Sharing rules grant access based on record ownership or criteria. They cannot enforce the specific "agent-to-distributor" relationship required, which would lead to over-sharing records.
D. Sharing sets are specifically for granting access to high-volume community users (Customer Community license), not users with the role-based Customer Community Plus license.
1. Salesforce Developer Documentation, Apex Developer Guide, Section: "Using Apex Managed Sharing". "Apex managed sharing provides developers with the ability to support their application’s particular sharing requirements programmatically... Use Apex managed sharing to... implement a custom sharing solution."
2. Salesforce Help, What is a Sharing Set?. "A sharing set grants high-volume community users access to records that are associated with their accounts or contacts." (This confirms it's not for Community Plus).
3. Salesforce Help, What is a Share Group?. "A share group is used to share records owned by high-volume community users with internal and external users." (This confirms it's for sharing from high-volume users).
4. Salesforce Documentation, A Guide to Sharing Architecture, Page 33. "Use programmatic sharing when sharing is based on a custom object or a complex set of rules that can’t be implemented with declarative sharing."
Keep practicing
Take the free SHARING-AND-VISIBILITY-DESIGNER practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other SHARING-AND-VISIBILITY-DESIGNER practice questions
- Question 1Universal Containers is a fast-growing company that sells containers globally. It has tho…
- Question 2Universal Containers uses 75,000 distributors that have close to 1 million total users. D…
- Question 3Universal Containers would like to create a custom team solution that can be used on a cu…
- Question 4Universal Containers has a private sharing model on Accounts. Apex Managed Sharing is req…
- Question 5Universal Containers keeps product brochures in Salesforce as files. Sarah shares a publi…
- Question 6What is the best practice for testing sharing and visibility changes?
