Weekend Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

Exam Sharing-and-Visibility-Architect All Questions
Exam Sharing-and-Visibility-Architect All Questions

View all questions & answers for the Sharing-and-Visibility-Architect exam

Salesforce Architect Exams Sharing-and-Visibility-Architect Question # 3 Topic 1 Discussion

Sharing-and-Visibility-Architect Exam Topic 1 Question 3 Discussion:
Question #: 3
Topic #: 1

Universal Containers (UC) has a custom Apex class that enforces a business process and updates opportunities. UC has noticed that fields with Field-Level Security permission of Read-Only on certain users’ profiles are being updated by this class.

How should the architect fix this problem?


A.

Add the With Sharing keyword to the class.


B.

Put the code in an inner class that uses the With Sharing keyword.


C.

Use the IsUpdateable() Apex method to test each field prior to allowing update.


Get Premium Sharing-and-Visibility-Architect Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.