New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce DEX-450 Exam - Topic 7 Question 39 Discussion

Actual exam question for Salesforce's DEX-450 exam
Question #: 39
Topic #: 7
[All DEX-450 Questions]

A developer has to Identify a method in an Apex class that performs resource intensive actions in memory by iterating over the result set of a SOQL statement on the account. The method also performs a DML statement to save the changes to the database. Which two techniques should the developer implement as a best practice to esure transaction control and avoid exceeding governor limits? Choose 2 answers

Show Suggested Answer Hide Answer
Suggested Answer: A, B

Contribute your Thoughts:

0/2000 characters
Wynell
4 months ago
Wait, can you really bypass row limits with @ReadOnly? That’s surprising!
upvoted 0 times
...
Arlette
4 months ago
Partial DML statements sound interesting, but do they really help?
upvoted 0 times
...
Long
4 months ago
@ReadOnly annotation? Not sure that’s the right approach.
upvoted 0 times
...
Rene
4 months ago
I think monitoring with System.Limit is a must too.
upvoted 0 times
...
Shenika
4 months ago
Definitely need to use Database.Savepoint for integrity!
upvoted 0 times
...
Isabelle
5 months ago
Partial DML statements sound familiar, but I can't recall if they really help with governor limits or just data integrity.
upvoted 0 times
...
Marsha
5 months ago
I’m a bit confused about the @ReadOnly annotation. I thought it was more about performance rather than limiting rows returned.
upvoted 0 times
...
Terrilyn
5 months ago
I think we practiced a question about monitoring governor limits with System.Limit, which seems relevant for this scenario.
upvoted 0 times
...
Sherita
5 months ago
I remember discussing the importance of using Database.Savepoint for transaction control, but I'm not sure if it's the best choice here.
upvoted 0 times
...
Cheryll
5 months ago
This question seems pretty straightforward. I'll carefully read through the options and try to eliminate the ones that are clearly false.
upvoted 0 times
...
Pamella
5 months ago
Option D looks good to me. Checking the recommended firmware levels in the HP SAN Design Reference Guide is probably the best way to ensure everything is compatible.
upvoted 0 times
...
Farrah
5 months ago
I remember practicing with questions about CPM, and I feel pretty confident it's true that it's about paying for a million views, like in this question.
upvoted 0 times
...

Save Cancel