Debugging · interview question
If logging fails in production, what handling philosophy is strongest?
Multiple choiceMediumchapter-5-curatedpremiumdebugginglogging
Answer and explanation
Correct answer
B. Fail in a way that preserves the reason, keeps the boundary honest, and avoids hiding the real source of the problem.
Why
Reliable systems preserve context. Silent failure makes the next debugging round slower and riskier.
Test yourself on Debugging
A free test with instant, explained results. No account needed.
More Debugging questions
- When is logging being used in the wrong way?
- Which move is the best default when logging becomes part of this workflow?
- Which explanation would sound strongest in an interview when discussing logging?
- What assumption should be made explicit when working with logging?
- Which move is the best default when tracebacks and root cause becomes part of this workflow?
- A bug appears around tracebacks and root cause. What is the strongest first debugging move?