ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 168 - Certified Sharing and Visibility Architect discussion

Report
Export

Universal Containers has a strict security model enforced through object, field, and row-based security mechanisms. The Architect would like to ensure the security model is being thoroughly tested using Apex automated tests. Which three considerations should be made when using the runAs() method to design Apex until tests?

A.
runAs() does not enforce user permissions or field-level permissions in test classes
Answers
A.
runAs() does not enforce user permissions or field-level permissions in test classes
B.
runAs() can be used inside of test classes to validate record-level security
Answers
B.
runAs() can be used inside of test classes to validate record-level security
C.
runAs() can be used inside of test classes to validate field-level permissions
Answers
C.
runAs() can be used inside of test classes to validate field-level permissions
D.
runAs() can be used outside of test classes to bypass record-level security
Answers
D.
runAs() can be used outside of test classes to bypass record-level security
E.
runAs () counts towards total DML statements issued within transaction
Answers
E.
runAs () counts towards total DML statements issued within transaction
Suggested answer: A, B, E
asked 23/09/2024
Oscar Luis Garza Ruiz
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first