Skip to content
Sharp

Memory · interview question

Which move is the best default when long-lived objects becomes part of this workflow?

Multiple choiceHardchapter-16-curatedpremiummemorylong-lived-objects
Choose one answer
Answer and explanation

Correct answer

B. Inspect caches, buffers, and retained rows to find why data lives past its useful moment.

Why

Inspect caches, buffers, and retained rows to find why data lives past its useful moment. That is the stronger engineering move because interviewers respect candidates who can explain object lifetime as well as allocation. If everything is kept 'just in case', memory usage becomes a design problem rather than a garbage collector problem.

Test yourself on Memory

A free test with instant, explained results. No account needed.

Start free test
All Memory questions →