Exam PDI Topic 1 Question 31 Discussion
Actual exam question for Salesforce's PDI exam
Question #: 31
Topic #: 1
Question #: 31
Topic #: 1
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?
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?
Suggested Answer: C Vote an answer
Why Lightning Data Service?
Enforces Salesforce's security model, including:
Sharing rules.
Field-level security (FLS).
This eliminates the need for additional manual security checks.
Why Not Other Options?
A: Incorrect, LDS enforces FLS.
B:with sharingapplies to Apex, not Lightning Data Service.
D:isAccessible()is unnecessary for LDS because it already enforces FLS.
References:Lightning Data Service:https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning
/data_service.htm
Enforces Salesforce's security model, including:
Sharing rules.
Field-level security (FLS).
This eliminates the need for additional manual security checks.
Why Not Other Options?
A: Incorrect, LDS enforces FLS.
B:with sharingapplies to Apex, not Lightning Data Service.
D:isAccessible()is unnecessary for LDS because it already enforces FLS.
References:Lightning Data Service:https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning
/data_service.htm
by Gordon at Jun 24, 2026, 05:02 AM
0
0
0
10
Comments
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.
Report Comment
Commenting
You can sign-up / login (it's free).