A developer runs the following anonymous code block:List<Account> acc = [SELECT Id FROM Account LIMIT 10];Delete acc;Database.emptyRecycleBin(acc);system.debug(Limits.getDMLStatements()+ ', '
+Limits.getLimitDMLStatements());What is the result?
Suggested Answer: D
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
JO
Jonelle
12 months ago
I thought deleting accounts would count as more DML statements.
LO
Louisa
12 months ago
Yeah, I agree with 150, 2!
TR
Truman
12 months ago
Wait, are we sure about that? Seems off.
CR
Craig
1 year ago
I think it's actually 150, 11.
SO
Son
1 year ago
It's definitely 150, 2.
MA
Margart
1 year ago
I’m confused about how the limits work here. I thought deleting records counted as one DML statement, but does emptying the recycle bin count too?
AN
Annelle
1 year ago
This reminds me of a practice question where we had to track DML limits. I feel like the answer is C, but I could be wrong.
GE
Georgeanna
1 year ago
I'm not entirely sure, but I remember something about emptying the recycle bin not counting towards DML limits.
DA
Darnell
1 year ago
I think the DML statements count should include the delete operation, so maybe it's 11?
TW
Twana
1 year ago
I've got this! Based on my understanding of the Pega Robotic Coding Standards, the three components that should be placed in the _GC_CRM project item are ForLoop, stringUtils, and dateTimeUtils. I'm feeling good about this one.
JO
Joanne
1 year ago
This seems like a straightforward question about monitoring forecast deviations. I think the answer is real-time adherence, as that would allow you to quickly identify and address any discrepancies between the forecast and actual performance.