Salesforce Certified Sharing and Visibility Architect — Question 45

Universal Containers (UC) is implementing Sales Cloud. During the last quarter of the financial year, sales agents help each other close deals. They requested a solution in Salesforce to allow them to specify an assistant agent on the opportunity record. When the sales agent changes the assistant field, the system should automatically remove access from the previous assistant and grant access to the new assistant.
What is the optimum solution to meet the requirements?

Answer options

Correct answer: B

Explanation

The correct answer is B because apex sharing allows for programmatic control over sharing, enabling the system to efficiently remove access from the previous assistant and grant it to the new one. Options A and C do not provide the necessary automation for changing access based on the assistant field, while option D does not fit the requirement as share groups do not allow for dynamic changes based on field updates.