Courseiva

CCDV-F · topic practice

Claude Code practice questions

This domain covers Claude Code as an agentic terminal tool: how it plans multi-step work, runs tools, reacts to failures, and keeps a human in the loop. Questions are scenario-based, asking you to pick the right developer action, judge safe versus unsafe operations, and describe how execution flow and error recovery actually work.

Courseiva uses original exam-style practice questions designed for learning and revision. The goal is to understand the concepts, recognise exam patterns, and improve through explanations — not memorise copied exam dumps.

Editorial oversight:Johnson Ajibi· MSc IT Security, IEEE Senior Member
20 questionsDomain: Claude Code

What the exam tests

What to know about Claude Code

Be able to supervise an agentic loop: give a clear goal, let Claude Code plan, run tools, and self-correct on failures, and approve risky actions. The key is knowing when to intervene with context versus when to let the agent iterate on its own.

How Claude Code plans and sequences multi-step tasks, tracking progress toward completion across tool calls.

Using CLAUDE.md project memory and /init to give the agent persistent context and conventions.

Guiding failure recovery: reading test output, forming a hypothesis, and letting the agent edit and re-run.

Safe standard actions like reading files, running tests, and searching, versus destructive or network operations.

Watch out for

Common Claude Code exam traps

  • ▸Assuming the agent needs step-by-step manual instructions instead of letting it plan and iterate on its own.
  • ▸Pasting raw error text without context rather than pointing the agent at the failing test and letting it investigate.
  • ▸Treating every file write or command as safe; destructive actions like force-push or mass deletion still need approval.

Practice set

Claude Code questions

20 questions · select your answer, then reveal the explanation

Question 1mediummultiple choice
Read the full Claude Code explanation →

A developer is using Claude Code and wants to ensure that specific sensitive directories are never accessed or indexed by the tool. Which mechanism should the developer use to enforce this restriction?

Question 2mediummultiple choice
Read the full Claude Code explanation →

Refer to the exhibit. A developer encounters this error while running Claude Code. What is the most immediate and effective way to restore functionality for high-volume tasks?

Exhibit

ERROR: Request limit reached for model claude-3-5-sonnet-20241022.
CURRENT_PLAN: Free Tier
ACTION: Upgrade to Pro for higher throughput.
Question 3mediummulti select
Read the full Claude Code explanation →

Which THREE actions should a developer take to prepare a repository for optimal performance with Claude Code?

Question 4easymultiple choice
Read the full Claude Code explanation →

Refer to the exhibit. What is the primary purpose of running this command in the terminal?

Network Topology
claudeversion
Question 5mediummultiple choice
Study the full Python automation breakdown →

A developer is using Claude Code to refactor a legacy Python module. They want to ensure the agent only modifies files within the 'src/core' directory and avoids touching sensitive configuration files. Which command or configuration approach best enforces these boundaries?

Question 6mediummulti select
Read the full Claude Code explanation →

Which TWO of the following are valid ways to provide feedback or context to Claude Code during an active coding session?

When configuring Claude Code for a new project, which THREE of the following practices are recommended to ensure optimal performance and security?

Question 8easymultiple choice
Read the full Claude Code explanation →

Which of the following is the standard way to exit a Claude Code session cleanly?

Question 9mediummulti select
Read the full Claude Code explanation →

Which TWO of the following capabilities are built into Claude Code to assist developers during the coding lifecycle?

Question 10mediummultiple choice
Study the full Python automation breakdown →

You are utilizing Claude Code to refactor a legacy Python codebase. After running a complex refactoring task, you realize Claude Code has created several unintended side effects in your project structure. What is the most efficient way to revert these changes while maintaining your current session context?

Question 11mediummultiple choice
Read the full Claude Code explanation →

A developer is using Claude Code in a monorepo. They want to ensure that the agent never modifies files in the `legacy/` directory, which contains deprecated code. They also want to allow the agent to run any command in the `src/` directory. Which configuration approach best achieves this?

Question 12easymultiple choice
Read the full Claude Code explanation →

A developer wants Claude Code to run a series of commands to set up a new development environment, but they are unsure which commands are safe to execute automatically. Which feature allows the developer to control which commands Claude Code can run without prompting?

Question 13hardmultiple choice
Read the full Claude Code explanation →

During a refactor, Claude Code proposes a broad edit that touches twelve files, including generated protobuf stubs under `gen/`. The developer wants to let Claude Code proceed on the hand-written source files but must ensure the generated stubs are never modified by the agent in this or any later session. Which approach best satisfies this requirement?

Question 14mediummulti select
Read the full Claude Code explanation →

A developer is using Claude Code to implement a new feature. They want to ensure that Claude Code adheres to the project's coding standards and avoids modifying certain files. Which TWO of the following practices help achieve this? (Choose two.)

Question 15mediummultiple choice
Read the full Claude Code explanation →

A developer is about to let Claude Code modify a production-critical configuration file. They want to review each individual edit as a diff and approve or reject it before it is written to disk. Which Claude Code behavior or setting supports this workflow?

Which TWO of the following capabilities are native to Claude Code when operating in a repository?

Question 17easymultiple choice
Read the full Claude Code explanation →

What is the primary purpose of the 'claude' command-line interface tool?

Question 18hardmultiple choice
Read the full Claude Code explanation →

When Claude Code executes a shell command that requires user intervention (such as an interactive prompt), how does the agent typically handle this situation?

Which THREE of these actions are considered safe and standard for Claude Code to perform during an interactive session?

Question 20mediummultiple choice
Read the full Claude Code explanation →

How does Claude Code maintain context over a long-running conversation in the terminal?

Free account

Track your progress over time

Create a free account to save your results and see which topics improve across sessions.

Focused Claude Code sessions

Start a Claude Code only practice session

Every question in these sessions is drawn from the Claude Code domain — nothing else.

Related practice questions

Related CCDV-F topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the CCDV-F exam test about Claude Code?
Be able to supervise an agentic loop: give a clear goal, let Claude Code plan, run tools, and self-correct on failures, and approve risky actions. The key is knowing when to intervene with context versus when to let the agent iterate on its own.
How should I use these practice questions?
Select your answer before revealing the explanation. Then read why each option is right or wrong — this active recall approach builds retention far faster than re-reading notes.
Can I practise just Claude Code questions in a focused session?
Yes — the session launcher on this page draws every question from the Claude Code domain. Use a 10-question session first to gauge your baseline, then move to 20 or 30 once the weak spots are clear.
Where can I practise other CCDV-F topics?
Use the topic links above to move to related areas, or go back to the CCDV-F question bank to see all topics.
Are these real exam questions or dumps?
These are original practice questions written to test the same concepts the CCDV-F exam covers. They are not copied from any real exam or dump site.