exam questions

Exam Certified Sharing and Visibility Architect All Questions

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

Exam Certified Sharing and Visibility Architect topic 1 question 82 discussion

Actual exam question from Salesforce's Certified Sharing and Visibility Architect
Question #: 82
Topic #: 1
[All Certified Sharing and Visibility Architect Questions]

Which functionality does the system method “runAs()” verify when writing test methods?

  • A. Enforcement of a user's record sharing
  • B. Enforcement of a user's permissions
  • C. Enforcement of a user's Field-Level Security
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Ooson
Highly Voted 11 months, 3 weeks ago
A. Enforcement of a user's record sharing B is wrong answer
upvoted 6 times
...
7a34b0e
Highly Voted 11 months, 1 week ago
Selected Answer: A
Answer should be A. As per: https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_testing_tools_runas.htm
upvoted 6 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...