Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam CRT-450 All Questions

View all questions & answers for the CRT-450 exam

Exam CRT-450 topic 1 question 428 discussion

Actual exam question from Salesforce's CRT-450
Question #: 428
Topic #: 1
[All CRT-450 Questions]

While developing an Apex class with custom search functionality that will be launched from a Lightning Web Component, how can the developer ensure only records accessible to the currently logged in user are displayed?

  • A. Use the WITH SECURITY_ENFORCED clause within the SOQL.
  • B. Use the inherited sharing keyword.
  • C. Use the with sharing keyword.
  • D. Use the without sharing keyword.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
FungFam
3 months, 4 weeks ago
Selected Answer: C
Because this is record-level permission, "with sharing" is a correct answer.
upvoted 1 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 ...