
SalesforceCertified Sharing and Visibility Architect
Domain 3Objective 3
Demonstrate How to Properly Design Unit Tests to Verify Programmatic Security Solutions. SHARING-AND-VISIBILITY-ARCHITECT Practice Questions (Page 4)
Part of the PROGRAMMATIC SHARING domain, which accounts for 25% of the SHARING-AND-VISIBILITY-ARCHITECT exam.
21questions here
5free pages
9concepts
25%of the exam
Questions 16–20
- 16
A developer is testing a method that uses the role hierarchy to grant access to a custom object. The test must verify that a user in a subordinate role can see a record owned by a user in a higher role. Which test setup is correct?
Select an answer first - 17
A developer is writing a test for a batch Apex job that creates sharing records for thousands of custom object records. The test must verify that the sharing is applied correctly at scale. Which approach is best?
Select an answer first - 18
After removing a user from a public group, what should you assert to confirm that group-based sharing is no longer effective?
Select an answer first - 19
What is the primary purpose of using System.runAs in a sharing test?
Select an answer first - 20
In a unit test for user-based sharing, what should you assert to confirm that a record is shared with a user via the role hierarchy?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by Salesforce. “SHARING-AND-VISIBILITY-ARCHITECT” is a trademark of its owner, used for identification only.