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 12 Question 2 Discussion

Posted by Myra on May 09, 2022 at 07:30 PM

A developer encounters APEX heap limit errors in a trigger.

Which two methods should the developer use to avoid this error? (Choose two.)

Suggested Answer: A, 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
13 comments · newest first
CR
Cristina 12 months ago
Not sure about the transient keyword, does it really help that much?
XE
Xenia 12 months ago
Totally agree, collections can bloat quickly!
GL
Glory 12 months ago
Wait, can you really avoid heap limits with SOQL for loops?
MA
Marcos 1 year ago
I think removing collections after use is a must too.
AL
Alecia 1 year ago
Definitely use the transient keyword!
XU
Xuan 1 year ago
I practiced a similar question where querying related objects in a collection helped manage heap size. That might be a good option here too.
CH
Cherry 1 year ago
I think the transient keyword is useful, but I can't recall if it applies to collections in triggers.
CE
Ceola 1 year ago
I'm not entirely sure, but I feel like setting collections to null after use might also be a good practice to avoid heap limits.
LA
Latricia 1 year ago
I remember studying the heap limit errors, and I think using SOQL for loops could help reduce memory usage.
CH
Chara 1 year ago
This seems like a straightforward question about best practices for managing the Valid To date for Knowledge articles. I think I know the answer, but I'll double-check the options to be sure.
BE
Beula 1 year ago
This seems pretty straightforward. I'd go with option C - using PowerShell to deploy the additional stores should be the most efficient approach.
CO
Corrie 1 year ago
Hmm, this seems like a tricky one. I'll need to carefully review the details about the LTM device configuration and the specific issue with the HTTPS sessions.
MO
Moon 1 year ago
I think deploying HA pairs in clustering mode is an advanced setup we went over. It might be option D, but I feel like there's more nuance to it.
0/2000 characters

Save Cancel