Claude Certification Guides
CCAR-F262 questions in the bank

Claude Certified Architect, Foundations practice questions with answers

Ten questions in the format of the CCAR-F exam, with the correct answer and the reasoning for each. Read the situation, weigh the options, then open the answer. Two from each domain where the blueprint allows, so you see the full spread of what the exam asks.

Exam questions
60
Time
120 min
Pass mark
720 / 1000
Domains
5
  1. Question 1 · Domain 1 · Agentic Architecture & Orchestration

    A Dublin fintech runs a reconciliation agent that compares ledger entries against bank statements. The agent has two read-only tools, fetch_ledger_batch and fetch_statement_batch, and early on the model usually requested both in the same response. The engineer who wrote the loop handled this by executing the first tool, sending its result back as a user message, waiting for the next response, then executing the second tool and sending another user message. Nothing errored, so the pattern shipped. Six weeks later an analyst notices that reconciliation runs take almost twice as long as in the pilot, and the traces show the model now asks for one tool, waits, then asks for the other, even when both inputs are obviously needed from the start.

    Which change to the loop correctly fixes the problem?

    1. ASet disable_parallel_tool_use so Claude only ever requests one tool per turn, which avoids the ordering problem
    2. BExecute both tools and return both tool_result blocks in a single user message, each carrying the matching tool_use_id
    3. CReturn the two results as plain text inside one assistant message so the model sees them in the order they ran
    4. DInsert a short 'continue' user message between the two results so each turn boundary stays valid
    Show the answer and why

    Correct answer: B. Execute both tools and return both tool_result blocks in a single user message, each carrying the matching tool_use_id

    When Claude issues several tool_use blocks in one response, all the corresponding tool_result blocks must be returned together in one user message. Splitting them across messages is accepted but implicitly teaches the model that parallel calls are not honoured, so it stops making them. Disabling parallel tool use sacrifices latency rather than fixing the bug; tool results belong in user messages, not assistant messages; and adding filler user messages corrupts the turn structure.

    Read the lesson: Agentic Loops and Stop Reasons

  2. Question 2 · Domain 1 · Agentic Architecture & Orchestration

    A market-research agency in Copenhagen uses Anthropic's server-side web search tool inside a research agent that compiles competitor briefings for consumer-goods clients. Some runs come back with stop_reason pause_turn and a server_tool_use block at the end of the assistant content. The engineer handling the loop treated this like any other unfinished turn, appending a user message that reads Please continue and re-sending the conversation. Results are erratic: sometimes the search picks up where it left off, sometimes the model restarts its research from scratch, and one briefing cited sources that were never actually fetched. A board pack for a retail client is due in three days and the team needs the continuation to behave predictably every time.

    Which loop design is correct for handling these paused turns?

    1. ATreat pause_turn like end_turn: the server-side loop has finished and the content is final
    2. BRemove the web search tool from the tools array on the retry so the server-side loop cannot pause again
    3. CConvert the pause into a tool_result with is_error true so the model re-plans its search strategy
    4. DRe-send the conversation with the assistant content appended as-is and the same tools, without adding a new user message, and cap the number of continuations
    Show the answer and why

    Correct answer: D. Re-send the conversation with the assistant content appended as-is and the same tools, without adding a new user message, and cap the number of continuations

    pause_turn means the server-side sampling loop hit its iteration limit mid-task. To continue, append the assistant response unchanged and call the API again with the same tools; the API detects the pending server_tool_use and resumes. Adding a 'continue' user message breaks that detection, removing the tool causes a 400 because the waiting server tool is no longer defined, and pause_turn is not a completed turn or a client tool error. A maximum number of continuations guards against infinite loops.

    Read the lesson: Agentic Loops and Stop Reasons

  3. Question 3 · Domain 2 · Tool Design & MCP Integration

    A university library in Leuven is building a research assistant that calls a catalogue search tool and then summarises the results for students. When the developer returns the tool results, they append a text block reading 'Here are the results, now summarise them' after the tool_result blocks in the same user message. Most of the time this works, but in about 4 per cent of sessions Claude returns an empty response with stop_reason end_turn and the student sees a blank screen. The librarians running the pilot have logged this as a blocking defect, and the developer is unsure whether the instruction belongs somewhere else or simply in a different order.

    What does the documentation recommend?

    1. AText must precede the tool_result blocks within the same message
    2. BPut the extra instruction in an assistant message instead
    3. CChange the system prompt on that turn to include the instruction
    4. DThe user message that returns tool results should contain only tool_result blocks; put additional instructions elsewhere (in the original prompt, or as a mid-conversation system message on models that support it) rather than text after the results
    Show the answer and why

    Correct answer: D. The user message that returns tool results should contain only tool_result blocks; put additional instructions elsewhere (in the original prompt, or as a mid-conversation system message on models that support it) rather than text after the results

    The stop-reason guidance states that the message carrying tool results must contain only tool_result blocks; adding text after them can end the turn unexpectedly and produce empty responses. Instructions about what to do with results belong in the task prompt or an operator-level system message, not in an assistant turn (which would be putting words in Claude's mouth) and not by rewriting the cached system prompt.

    Read the lesson: The Tool Use Request/Result Cycle

  4. Question 4 · Domain 2 · Tool Design & MCP Integration

    A telecom operator in Warsaw runs an IT-operations agent that has grown to eighty tools spanning ticketing, monitoring, inventory, HR lookups and network changes. Every request carries all eighty schemas, which now account for a large share of input tokens, and the quarterly review shows tool-selection accuracy has slipped from 91 to 78 per cent as tools were added. Finance wants the per-request cost brought down, while the operations lead refuses any change that makes behaviour less predictable from one request to the next. The platform team also relies heavily on prompt caching and does not want to lose those savings. The architect must propose one approach that improves both cost and accuracy.

    Which architectural approach addresses both the context cost and the drop in tool-selection accuracy?

    1. AMove all tool descriptions into the system prompt and shorten the schemas
    2. BShorten every description to a single word to save tokens
    3. CRandomly drop half of the tools on each request
    4. DKeep the tool set focused per task, and for large libraries use the tool search tool with defer_loading so only relevant schemas are loaded on demand (appended rather than swapped, which preserves caching)
    Show the answer and why

    Correct answer: D. Keep the tool set focused per task, and for large libraries use the tool search tool with defer_loading so only relevant schemas are loaded on demand (appended rather than swapped, which preserves caching)

    Too many tools in context both costs tokens and degrades selection. Anthropic recommends keeping the tool set focused and, for large libraries, marking tools defer_loading so Claude discovers and loads only the ones it needs via tool search; discovered definitions are appended, so the cache prefix survives. Moving descriptions elsewhere or truncating them destroys the information Claude needs, and random removal makes behaviour non-deterministic and breaks the cache.

    Read the lesson: Designing Tool Schemas and Descriptions

  5. Question 5 · Domain 3 · Claude Code Configuration & Workflows

    A public broadcaster in Copenhagen organises its streaming backend as repo/services/api and repo/services/web, with shared libraries elsewhere. CLAUDE.md files exist in the repository root, in services, in services/api and in services/web, each written by a different team over the years. A new engineer opens a terminal in repo/services/api and launches Claude Code. During a pairing session one colleague claims only the nearest file applies, another insists everything in the repository is read because it is one project, and a third thinks the web team's file must be loading too. Nobody has checked the documentation, and the team wants to settle the matter before writing more guidance.

    Which CLAUDE.md files load at launch in this situation, and how are they combined?

    1. AOnly repo/services/api/CLAUDE.md, because the nearest file wins
    2. BEvery CLAUDE.md in the repository, including repo/services/web, since the repository is one project
    3. COnly the nearest file; files higher up are overridden by it
    4. DCLAUDE.md (and CLAUDE.local.md) from the working directory and every parent directory are concatenated, root-most first; CLAUDE.md files in subdirectories load on demand when Claude works with files there
    Show the answer and why

    Correct answer: D. CLAUDE.md (and CLAUDE.local.md) from the working directory and every parent directory are concatenated, root-most first; CLAUDE.md files in subdirectories load on demand when Claude works with files there

    Claude Code walks up the directory tree and concatenates all CLAUDE.md and CLAUDE.local.md files it finds, ordered from the filesystem root down so the closest file is read last. Files in subdirectories below the working directory are not loaded at launch but when Claude reads or edits a file in that subdirectory; repo/services/web is a sibling, so it is neither a parent nor a subdirectory and does not load.

    Read the lesson: CLAUDE.md and the Settings Hierarchy

  6. Question 6 · Domain 3 · Claude Code Configuration & Workflows

    A Stockholm e-commerce platform runs a monorepo with a React storefront, a set of Go services and Terraform modules. Over eighteen months its project CLAUDE.md has swollen to around 900 lines: naming rules for components, database migration etiquette, Terraform tagging policy and more. In recent code reviews, engineers noticed Claude ignoring conventions that are clearly written in the file, and the infrastructure lead counted three pull requests where the tagging policy was simply skipped. Frontend developers also complain that most of the file is irrelevant to their work yet loads in every session. The architect is asked to restructure the guidance without losing any of it.

    What is the best restructuring?

    1. AMove the whole file to ~/.claude/CLAUDE.md so it loads for every project
    2. BConvert the instructions into a single settings.json
    3. CKeep CLAUDE.md concise (around 200 lines) and move area-specific guidance into .claude/rules/*.md files with a paths frontmatter so they load only when matching files are worked on
    4. DSplit the content into ten CLAUDE.md files all placed in the repository root
    Show the answer and why

    Correct answer: C. Keep CLAUDE.md concise (around 200 lines) and move area-specific guidance into .claude/rules/*.md files with a paths frontmatter so they load only when matching files are worked on

    Long instruction files consume context and reduce adherence; the documentation recommends targeting under about 200 lines and using path-scoped rules for guidance that only matters for part of the codebase. Moving it to user scope or settings.json changes nothing about length, and only one CLAUDE.md per directory is read.

    Read the lesson: CLAUDE.md and the Settings Hierarchy

  7. Question 7 · Domain 4 · Prompt Engineering & Structured Output

    A public broadcaster in Ireland runs a listener-facing chatbot that answers programme and licence questions. Its system prompt is about six thousand tokens of editorial guidelines, followed by a line that interpolates today's date and the listener's first name. Prompt caching has been enabled for a month, yet the usage logs show cache read tokens of zero on every single request, and the monthly bill has not moved. Separately, the newsroom wants duty editors to be able to switch a live conversation into a breaking-news mode with stricter sourcing rules, but every attempt to change the instructions mid-session throws away whatever had been cached. The platform lead has asked for a redesign rather than more tuning.

    Which redesign of the prompt structure addresses both the zero cache reads and the mid-conversation mode switch?

    1. AMove the date and user name into the tools array
    2. BDisable prompt caching since the prompt is inherently dynamic
    3. CShorten the system prompt so the cache miss is cheaper
    4. DKeep the system prompt frozen (static instructions, cached) and inject dynamic context later in messages, for example as a block in the user turn or as a role 'system' message appended to messages on models that support it
    Show the answer and why

    Correct answer: D. Keep the system prompt frozen (static instructions, cached) and inject dynamic context later in messages, for example as a block in the user turn or as a role 'system' message appended to messages on models that support it

    Caching is a prefix match, so any per-request value at the front of the system prompt invalidates everything after it. The fix is architectural: stable content first, volatile content after the breakpoint. Mid-conversation system messages (where supported) are also the cache-preserving way to change operator instructions mid-session. Tools render before system and would make things worse.

    Read the lesson: System Prompts, Roles and Clear Instructions

  8. Question 8 · Domain 4 · Prompt Engineering & Structured Output

    A Swiss bank's platform team runs Claude Code headlessly in a nightly pipeline that drafts release notes from merged pull requests. Compliance requires that every run follows the bank's internal wording rules and never mentions internal ticket numbers, so the team needs to add about thirty lines of organisation-specific instructions to the model's system prompt. A first attempt replaced the whole prompt, after which the agent stopped reading the repository state and behaved erratically, so that change was reverted. The team wants Claude Code's own built-in behaviour preserved intact, with their rules layered on top, and they need the mechanism to work for the non-interactive pipeline and, ideally, for engineers using the tool interactively as well.

    Which option should the team use to add their instructions?

    1. A--system-prompt, which merges the text into the default prompt
    2. B--append-system-prompt (or CLAUDE.md for persistent instructions); --system-prompt replaces the default prompt entirely
    3. CEditing the Claude Code binary's embedded prompt
    4. DA systemPrompt key in settings.json
    Show the answer and why

    Correct answer: B. --append-system-prompt (or CLAUDE.md for persistent instructions); --system-prompt replaces the default prompt entirely

    --append-system-prompt adds instructions while preserving Claude Code's default behaviour, and CLAUDE.md is the persistent equivalent. --system-prompt fully replaces the default (and drops things like the git status snapshot), there is no settings.json key for it, and the built-in prompt is not user-editable.

    Read the lesson: System Prompts, Roles and Clear Instructions

  9. Question 9 · Domain 5 · Context Management & Reliability

    A healthcare scheduling platform in Munich serves clinics with very different permissions, so its agent assembles the tools array at request time from each user's entitlements: receptionists get four tools, physicians get nine, administrators get fourteen, and the list is built from a dictionary whose iteration order is not fixed. The system prompt is 15,000 tokens and carries a cache_control breakpoint. Costs are over budget, and the usage data shows cache_read_input_tokens almost always zero, even for the same clinic calling repeatedly within a minute. The team has confirmed that the system prompt bytes are identical across requests and that the traffic pattern falls well inside the default cache lifetime.

    Why are cache reads near zero, and what is the appropriate fix?

    1. ATools render at the very start of the prefix, so any change in the set or order invalidates the whole cache; use a stable, deterministically ordered tool set (or tool search with deferred loading) and gate access elsewhere
    2. BSwitch to the one-hour TTL so the entries survive the variation
    3. CMove the tools array after the messages so it is outside the cached prefix
    4. DAdd more cache_control breakpoints to the system prompt
    Show the answer and why

    Correct answer: A. Tools render at the very start of the prefix, so any change in the set or order invalidates the whole cache; use a stable, deterministically ordered tool set (or tool search with deferred loading) and gate access elsewhere

    Because tools are rendered first, a different tool list means a different prefix from byte zero, and no later breakpoint can be hit. The architecture fix is to keep tools identical and sorted across users and enforce entitlements in the harness (or use tool search, which appends rather than swaps). TTL and extra breakpoints do not help when the prefix itself differs, and the render order cannot be changed.

    Read the lesson: Prompt Caching

  10. Question 10 · Domain 5 · Context Management & Reliability

    The risk team at a Zurich bank runs an agent that reconciles trade records across three systems overnight, calling query tools hundreds of times. Around the fourth hour a run approaches the context limit. A trace shows that most of the window is occupied by raw tool results from the first hour: large query outputs that were already reconciled and are no longer referenced. The recent turns, where the agent is working through the final exceptions, must remain exactly as they are, and the run has to finish before the morning sign-off. The team wants the cheapest change that keeps the conversation's structure intact rather than throwing away hours of progress.

    Which approach preserves the conversation's structure most cheaply?

    1. ARestart the session from scratch and lose the progress
    2. BUse context editing to clear old tool results (and stale thinking) or compaction to summarise earlier context, while keeping recent turns verbatim
    3. CIncrease max_tokens so the model can respond despite the full context
    4. DSwitch to a smaller model with a cheaper per-token price
    Show the answer and why

    Correct answer: B. Use context editing to clear old tool results (and stale thinking) or compaction to summarise earlier context, while keeping recent turns verbatim

    Context editing prunes stale tool results without rewriting the transcript, and compaction summarises when the window is nearly full; both are designed for long-running agents. Restarting discards state, max_tokens does nothing about input size, and a cheaper model does not create more room.

    Read the lesson: The Context Window and Token Budgeting

Now try it at exam pace.

Twenty questions across every domain in forty minutes, no account needed. You get a score per domain and the two domains to read first.

Practise one domain at a time

Weights follow the official blueprint. Each drill is untimed and explains every answer.

  • Domain 1: Agentic Architecture & Orchestration 27%

    Design agentic systems with the Claude API and Agent SDK: loops, orchestration, guardrails and state.

  • Domain 2: Tool Design & MCP Integration 18%

    Design tool schemas, build MCP servers and clients, and integrate external services safely.

  • Domain 3: Claude Code Configuration & Workflows 20%

    Configure Claude Code: settings, CLAUDE.md, hooks, permissions, subagents, skills and CI/CD.

  • Domain 4: Prompt Engineering & Structured Output 20%

    Craft production prompts: system prompts, examples, XML structure, structured output and prefills.

  • Domain 5: Context Management & Reliability 15%

    Manage the context window, prompt caching, long conversations and production reliability.

Questions about the CCAR-F exam

How many questions are on the Claude Certified Architect, Foundations exam?
60 multiple-choice questions in 120 minutes. Results are reported on a scaled range of 100 to 1000 and 720 is the pass mark. The exam is proctored by Pearson VUE, online or at a test centre.
Are these real CCAR-F exam questions?
No. Every question here is original and written from Anthropic's public documentation, the Anthropic Academy courses and the published exam guide. The real exam is confidential. What is the same is the format: a situation to analyse, four options, one best answer.
How realistic is the format?
Each question on the CCAR-F exam describes a situation and asks for the best decision. Use-case mode here does the same: a scenario of 60 to 130 words, the question asked at its end, and four plausible options. The diagnostic and mock exams run at the real pace of two minutes per question.
Can I practise without an account?
Yes. The diagnostic, the drills and the full mock exam run without signing in and show your score per domain. Signing in with an email shows the correct answer and explanation for every question, saves your attempts and puts your best mock score on the leaderboard.
Where do I find more CCAR-F questions?
The bank behind this page holds 262 questions across 5 domains, plus questions submitted and voted on by the community. Drill mode lets you pick domains; the mock exam samples 60 questions in blueprint proportion.

30 lessons cover the whole blueprint. More answers in the exam FAQ. Not affiliated with Anthropic.