Cloud Kicks has the following setup and requirements: A strict software architecture for their custom Apex code. All SOQL queries must be contained within reusable classes. Depending on the context of the Apex transaction, the queries should be able to run either “With Sharing” or “Without Sharing”. What are two methods for meeting these requirements? (Choose two.)
Select 2 answers.
Marked answer: A
This question asks for 2 answers, but our data marks only 1. Compare with the community discussion below for the full answer.
Community Discussion
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
1
B & C are the correct answers.
1
as for me it's only D - inherit sharing will happen then
1
Correct ans should be A,C ? Please correct me if wrong.