Salesforce
CRT-450 · Question #240
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?
Sign in or unlock CRT-450 to reveal the answer and full explanation for question #240. The question stem and answer options stay visible for context.
Advanced Developer Fundamentals
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?
Exhibit
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 CRT-450 to see the answer
You've previewed enough free CRT-450 questions. Unlock CRT-450 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#stripInaccessible#Apex security#with sharing
