Salesforce
PDI · Question #109
A developer must write anApex method that will be called from a lightning component. The method may delete an Account stored in the accountRec variable. Which method should a developer use to ensure o
Sign in or unlock PDI to reveal the answer and full explanation for question #109. The question stem and answer options stay visible for context.
Submitted by manish99· Apr 18, 2026Logic and Process Automation
Question
A developer must write anApex method that will be called from a lightning component. The method may delete an Account stored in the accountRec variable. Which method should a developer use to ensure only users that should be able to delete Accounts can successfully perform deletion?
Options
- AaccountRec., isDeletable()
- BAccount, isDeletable ()
- CAccountRec, ObjecType, ieDeletable ()
- DSchena, sobjectType, Account, isDeletetable ()
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
#Apex Security#CRUD/FLS#Schema Methods