nerdexam
Salesforce

CRT-450 · 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…

The correct answer is D. Schena, sobjectType, Account, isDeletetable (). See the full explanation below for the reasoning.

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 ()

How the community answered

(46 responses)
  • A
    7% (3)
  • B
    4% (2)
  • C
    15% (7)
  • D
    74% (34)

Community Discussion

No community discussion yet for this question.

Full CRT-450 Practice