CCDV-F Claude Code Practice Question
Exhibit
Agent: 'I will now rename the 'user' object across 45 files to 'account'. Proceed?' Developer: 'Wait, don't touch the test directory.'
Refer to the exhibit. How does Claude Code handle this interruption, and what is the expected outcome?
⚠ Common exam trap
Candidates often believe the agent will continue its original plan despite new constraints. They fail to realize the agent will halt and re-plan, which is a feature to ensure safety.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The agent updates the plan and skips the 'test' directory.
Claude Code is built to handle mid-task updates to instructions. When the user provides a constraint update (like excluding a folder), the agent halts its planned execution to incorporate this new requirement into its plan. This allows for safe, interactive corrections to mass-refactoring tasks, ensuring that the developer remains in control and preventing accidental modifications to sensitive or critical parts of the codebase during large-scale operations.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The agent proceeds with the original plan to ensure consistency.
Why it's wrong here
Ignoring user instructions is unacceptable for a coding assistant. Claude Code is designed to process and act on user feedback immediately. Persisting with a plan that the user has explicitly requested to change would violate the collaborative nature of the tool and lead to undesired code states.
- ✓
The agent updates the plan and skips the 'test' directory.
Why this is correct
The agent acknowledges the new constraint and re-evaluates its execution plan. By dynamically filtering out the 'test' directory from its list of target files, it demonstrates its ability to incorporate user guidance in real-time, effectively mitigating the risk of inadvertent changes to critical test code.
- ✗
The agent crashes and requires a session restart.
Why it's wrong here
Claude Code is built for robustness and does not crash due to user constraint updates. It manages state transitions gracefully. Requiring a restart would indicate a fundamental failure in the tool's design, which is not the case for standard, logical updates to the task scope.
- ✗
The agent asks the user to manually perform the file changes.
Why it's wrong here
Passing the task back to the user defeats the purpose of an autonomous agent. The agent is capable of filtering its own task list based on new constraints. It should be able to continue its work autonomously while respecting the updated scope provided by the human developer.
About these practice questions
Courseiva writes every CCDV-F question from scratch — 257 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Anthropic exam blueprint
This CCDV-F practice question is part of Courseiva's free Anthropic certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CCDV-F exam.