Salesforce
PDI · Question #140
A developer is migrating a Visualforce page into a Lightning web component. The Visualforce page shows information about a single record. The developer decides to use Lightning Data Service to access
Sign in or unlock PDI to reveal the answer and full explanation for question #140. The question stem and answer options stay visible for context.
Submitted by anna_se· Apr 18, 2026User Interface
Question
A developer is migrating a Visualforce page into a Lightning web component. The Visualforce page shows information about a single record. The developer decides to use Lightning Data Service to access record data. Which security consideration should the developer be aware of?
Options
- ALightning Data Service handles sharing rules and field-level security.
- BLightning Data Service ignores field-level security.
- CThe with sharing keyword must be used to enforce sharing rules.
- DThe isAccessible ( ) method must be used for field-level access checks
Unlock PDI to see the answer
You've previewed enough free PDI questions. Unlock PDI for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#Lightning Data Service#Lightning Web Components#Security#Field-Level Security