SalesforceSalesforce
PDI · Question #240
PDI Question #240: Real Exam Question with Answer & Explanation
Sign in or unlock PDI to reveal the answer and full explanation for question #240. The question stem and answer options stay visible for context.
Submitted by katya_ua· Apr 18, 2026Logic and Process Automation
Question
The code below deserializes input into a list of Accounts. Which code modification should be made to insert the Accounts so that field-level security is respected?
Options
- A01: Public with sharing class AcctCreator
- B05: If (SobjectType.Account, isCreatable())
- C05: Accts = database.stripinaccesible (accts, Database. CREATEABLE);
- D05: SobjectAcessDecision sd= Security,stripINaccessible(AccessType,CREATABLE,
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
#Field-Level Security (FLS)#Apex Security#Sharing Keywords#DML Operations