Halloween Special 2026! Get Up to 25% OFF Practice Questions! Limited Time - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce DEX-450 Exam - Topic 6 Question 38 Discussion

Posted by Mollie on May 08, 2022 at 03:05 PM

A developer must write an Apex 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 succesfully perform deletions?

Suggested Answer: B

Get Premium DEX-450 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
11 comments · newest first
VE
Venita 12 months ago
Can someone explain why A wouldn't work?
MA
Malcolm 12 months ago
I agree, B is definitely the standard approach!
SH
Sherrell 12 months ago
Wait, is D even a real method? Sounds off.
LA
Lauran 1 year ago
I think C is actually the right choice here.
LO
Louvenia 1 year ago
Option B is the way to go for checking deletable permissions.
KA
Kate 1 year ago
I don't recall seeing option D in our practice tests. It seems like a typo, but I can't remember if it's supposed to be something else.
KE
Kenneth 1 year ago
I’m a bit confused about the difference between options B and C. I thought both could work, but I’m leaning towards B for some reason.
CO
Cordelia 1 year ago
I remember practicing a question about checking permissions, and I feel like option A might be the right choice since it uses the specific record type.
IN
Inocencia 1 year ago
I think the method should check if the Account object is deletable, so maybe it's option B? But I'm not entirely sure.
KA
Katy 1 year ago
I'm pretty sure the first step is securing and evaluating the crime scene, so I'll go with option A.
CR
Cristina 1 year ago
I think I've got this! The key is to follow the steps carefully - first hide the A column, then select the range of columns O through R and hide those. Shouldn't be too tricky.
0/2000 characters

Save Cancel