Salesforce Certified Sharing and Visibility Architect — Question 36
Universal Containers requested to leverage Lightning Web Components (LWC) to improve support reps' user experience. LWC will be used as view layer, and Apex classes will have the business logic.
Which attention points should the development team consider when implementing this solution?
Answer options
- A. Once that Apex runs on system mode, the development team needs to enforce record visibility.
- B. Create test classes including runAs to test different users accessing the data.
- C. Use isShareable, isEditable, and isCreatable to enforce field permissions.
Correct answer: B
Explanation
The correct answer is B because creating test classes with runAs allows the team to verify that different user profiles can access data appropriately. Option A is incorrect because while record visibility is important, it is not the primary focus for testing user access. Option C is also wrong as isShareable, isEditable, and isCreatable are not specific to testing user access but rather to field-level security.