Courseiva
Claude Code →hardMultiple Select

CCDV-F Claude Code Practice Question

A developer is working on a large refactoring task with Claude Code. They want to ensure the agent has sufficient context about the project's architecture and coding standards. Which TWO of the following are recommended ways to provide this context? (Choose two.)

⚠ Common exam trap

The trap here is thinking that Claude Code has special commands like `/context` or `--add-context` for loading documents, when in fact `CLAUDE.md` and direct file references are the intended mechanisms.

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

✓

During the session, explicitly reference key files like `src/core/engine.ts` and ask Claude to read them for context.

The recommended ways to provide project context are using a `CLAUDE.md` file at the root and explicitly referencing key files during the session. `CLAUDE.md` offers persistent, project-wide guidance, while on-demand file references allow the agent to focus on specific areas. Other options like `/context` command, `--add-context` flag, or relying solely on comments are not supported or effective.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✓

    During the session, explicitly reference key files like `src/core/engine.ts` and ask Claude to read them for context.

    Why this is correct

    Claude Code can read files on demand when prompted. By explicitly referencing important files, you direct the agent to incorporate their contents into its working context. This is useful for targeted context, especially when not all files are relevant. It complements `CLAUDE.md` for dynamic needs.

  • ✗

    Run `claude --add-context architecture.md` to load the architecture document into the session.

    Why it's wrong here

    Claude Code does not have an `--add-context` flag. Context is typically provided via `CLAUDE.md` or by mentioning files in the conversation. This command does not exist, so it would fail. Developers should use supported methods like `CLAUDE.md` or referencing files directly.

  • ✓

    Place a `CLAUDE.md` file at the repository root with an overview of the architecture and coding conventions.

    Why this is correct

    `CLAUDE.md` is automatically read by Claude Code at the start of a session. It can contain project-specific instructions, architectural notes, and style guidelines. This ensures the agent has persistent context without repeating instructions. It is the primary recommended method for providing project-wide context.

  • ✗

    Include detailed comments in each source file describing the overall system design.

    Why it's wrong here

    While comments can be helpful, they are not a recommended way to provide high-level context to Claude Code. The agent may not read all files, and comments are scattered. A centralized `CLAUDE.md` is more effective. Relying on comments alone is inefficient and may lead to inconsistent understanding.

  • ✗

    Use the `/context` command to manually upload a PDF of the architecture diagram.

    Why it's wrong here

    Claude Code does not have a `/context` command for uploading PDFs. While you can share files by referencing them in the conversation, there is no built-in command to ingest PDFs as context. The agent can read text files, but binary formats like PDFs are not directly supported.

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 →

How Courseiva writes practice questions · Editorial policy

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.