A developer wants Claude Code to propose a multi-file refactor and get approval before anything changes on disk. What should they use?
- Exam domain
- Claude Code Configuration & Workflows20% of the exam
- Difficulty
- Easy
- In this mock
- 13 questions on this domainPractise this domain
Why the exam asks this
Determine when to use plan mode vs direct execution
Objective in the exam guide: Determine when to use plan mode vs direct execution
Plan versus direct execution is a named task statement.
Why B is the answer
Plan mode, so Claude plans first and edits only after approval
Plan mode is for changes you want to review before they touch disk; switch to it with --permission-mode plan or Shift+Tab.
How it works
Plan mode lets Claude plan before editing.
It suits changes you want to review before they touch disk.
Start it with --permission-mode plan, or press Shift+Tab mid-session.
Clues in the question
The words that point to the answer, and what each one tells you.
- Approval before anything changes
- Plan mode.
In detail
- Direct execution suits small, clear changes.
- Review the plan for scope and risk.
Side by side with look-alikes
| Mode | Review before edits? |
|---|---|
| Plan mode | Yes |
| Direct with auto-accept | No |
| Careful prompt | No |
| Headless JSON | No |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Headless mode with --output-format jsonWrong
Headless mode is for scripts.
B. Plan mode, so Claude plans first and edits only after approvalRight
Plan mode is for changes you want to review before they touch disk; switch to it with --permission-mode plan or Shift+Tab.
C. Direct execution with auto-accept onWrongMost tempting
Auto-accept skips review.
Why it tempts: It is fast. But changes happen before review.
D. A longer prompt asking Claude to be carefulWrong
Prompts do not prevent edits.
In practice
- Use direct execution for small, well-understood edits.