CCAR-F practice › Claude Code Configuration & Workflows · Question 57 of 105

Claude Code Configuration & Workflows

A production error's stack trace points to a missing null check on line 88 of invoice_formatter.py. The fix is a single condition in one function, and the expected behavior is clear. How should you approach this in Claude Code?

Show answer and explanation

Answer: B — Use direct execution to add the check, then run the formatter's tests

Direct execution fits simple, well-scoped changes such as a single-file fix with a clear stack trace. There is one obvious approach and nothing to explore, so planning adds overhead without reducing risk. (A), (C), and (D) apply investigation and design steps meant for architectural or multi-file work.