ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 65 - Certified Sharing and Visibility Architect discussion

Report
Export

Universal Containers (UC) has a custom Apex class that enforces a business process and updates opportunity field-level security permissions of read only certain user's profiles are being updated by their class.

How should the architect fix this problem?

A.
Put the code in an class that uses the With Sharing keyword.
Answers
A.
Put the code in an class that uses the With Sharing keyword.
B.
Use the IsUpdateable() Apex method to test each field prior to allowing updates.
Answers
B.
Use the IsUpdateable() Apex method to test each field prior to allowing updates.
C.
Use the with SECURYT_ENFORCED keyword in the SOQL statement.
Answers
C.
Use the with SECURYT_ENFORCED keyword in the SOQL statement.
D.
Add with Sharing keyword to the class.
Answers
D.
Add with Sharing keyword to the class.
Suggested answer: B
asked 23/09/2024
Paul Tierney
41 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first