Claude Certified Architect — Foundations (CCAR-F) practice exam and study guide
231 exam-style questions, 37 lessons and timed mocks at the real exam's length. Free, with no sign-up.
Sitting this exam currently requires access through an Anthropic partner or programme, and it cannot be booked publicly. The syllabus is still worth learning; check eligibility before planning a sitting.
The exam at a glance
- 60questions
- 120 minduration
- 720/1000to pass
- 5domains
- $125 USDexam fee
- 12 monthsvalid for
Official source. Details last checked 2026-08-03; confirm them with Anthropic before booking.
What it covers
| Domain | Weight | Lessons |
| Agentic Architecture & Orchestration | 27% | 7 |
| Tool Design & MCP Integration | 18% | 6 |
| Claude Code Configuration & Workflows | 20% | 7 |
| Prompt Engineering & Structured Output | 20% | 6 |
| Context Management & Reliability | 15% | 11 |
Try three questions
From the bank you will practise with. Harder questions here are long scenarios where two or more options are almost right, as on the real exam.
Domain 1: Agentic Architecture & Orchestration
Halyard resolves returns and billing disputes through four MCP tools. Its loop posts the conversation to the Messages API once per turn and reads a single response back. A first cut that stopped as soon as the response carried a text block closed 23% of disputes without ever reaching process_refund, and capping the loop at six iterations only turned those into truncated answers. The latency budget forbids a second confirming request, so the loop has to decide from the response it already holds whether to execute a tool and continue or to return the final answer. Which field of that response should it check?
- Read
stop_reason: execute each requested tool and loop while it is "tool_use", and return the answer once it reads "end_turn". - Add a custom stop sequence such as
FINAL to the request and end the loop once the response's stop_sequence field is non-null. - Check whether the response carries a
tool_result block, run the tool it names, and keep looping until no such block comes back. - Scan the text blocks for a closing phrase such as "final answer" and stop the loop the first time one appears.
Show the answer
Answer: A.
The loop runs on stop_reason. While it reads "tool_use", Claude has requested a tool: execute each tool_use block, append the matching tool_result blocks in the next user message, and iterate. When it reads "end_turn", or another terminal value such as max_tokens or stop_sequence, the turn is finished and the answer goes back.
Halyard's first cut is the anti-pattern in miniature. Text can accompany a tool_use block, so prose is not a termination contract, and an iteration cap bounds the damage rather than deciding anything. Claude requests tools and does not execute them, so the client both runs the call and reads the one field that says whether another pass is due.
Why the close options are wrong:
- A stop sequence halts generation the moment the string appears, so if Claude writes it before the tool_use block the refund is never requested: the first cut's failure again. It also depends on the model choosing to emit the string, whereas stop_reason is set by the API on every response.
- A tool_result is what your own code writes into the next user message after the tool has run, so it never arrives on Claude's response. Claude asks for work with tool_use blocks, and stop_reason is what says whether another pass is due.
- Claude can emit text in the same turn as a tool_use block, which is exactly how the first cut closed disputes with process_refund still uncalled. A completion signal read out of prose has no contract behind it, so termination has to come from the structured field.
Domain 3: Claude Code Configuration & Workflows
Your team's compliance policy is absolute: Claude Code must never run git push to the main branch, no matter what a developer prompts. You add a clearly worded rule to the project's ./CLAUDE.md: "NEVER push to main under any circumstances." During testing, a developer phrases a request in a way that leads Claude to attempt the push anyway.
What is the correct explanation and fix?
- Add the instruction as a path-scoped rule under .claude/rules/ with a paths frontmatter matching the repo; path-scoped rules are enforced deterministically when the matching files are touched.
- CLAUDE.md is loaded as context that Claude tries to follow but is not enforced; to block the action regardless of what Claude decides, use a PreToolUse hook.
- The rule failed because ./CLAUDE.md has the lowest precedence; moving it to ~/.claude/CLAUDE.md (user scope) will give it higher priority and enforce the ban.
- CLAUDE.md instructions only take effect after /compact re-reads them, so the rule was simply not loaded yet; re-running the session fixes it.
Show the answer
Answer: B.
CLAUDE.md (and .claude/rules/) is delivered as context Claude tries to follow, not enforced configuration, so a strongly worded instruction cannot guarantee compliance. For a hard, deterministic ban that holds regardless of what Claude decides, Anthropic points to a PreToolUse hook (or managed permissions.deny) - a client-side gate that runs as a shell command at a fixed lifecycle event and can return permissionDecision: deny to block the tool call.
Why the close options are wrong:
- Wrong. The docs state rules (path-scoped or not) load into context with the same non-enforced status as CLAUDE.md; they shape behavior but do not hard-block a tool call. Only client-enforced mechanisms like a PreToolUse hook or managed permissions.deny actually prevent the action.
- Wrong on two counts. Per the docs, CLAUDE.md files load 'from broadest scope to most specific,' so user scope (~/.claude/CLAUDE.md) is loaded earlier and is less specific than the project file, not higher priority. More importantly, no CLAUDE.md location is enforced at all; relocating it never creates a hard guarantee.
Domain 4: Prompt Engineering & Structured Output
You build an extraction endpoint that must return a JSON object matching an extract_invoice tool's input_schema on every call. To guarantee the tool is invoked, you set tool_choice: {"type": "tool", "name": "extract_invoice"}. Product also wants Claude to prepend a short natural-language summary ("Here's what I found...") before the structured data, and asks you to add "Explain your reasoning first, then call the tool" to the prompt. In testing, no summary text ever appears - the response contains only a tool_use block. What is the correct explanation and fix?
- The prompt instruction is being ignored because it is in the system prompt rather than a user turn; moving "Explain first" to a user message will make the summary appear while keeping the forced tool call.
- Forcing a specific tool prefills the assistant turn with the tool call, so no leading text is emitted even when asked; use
tool_choice: {"type": "auto"} and instruct the model in a user message to call the tool, accepting that the call is no longer guaranteed. - This is a schema violation: because the tool has required fields, the model suppresses text to avoid an invalid response; adding a nullable
summary string field to the tool's input_schema will restore the natural-language output as free text. - The model is emitting the text but the SDK is dropping it; iterate over all content blocks (both
text and tool_use) instead of reading only content[0] to recover the summary.
Show the answer
Answer: B.
Anthropic's docs state that when tool_choice is 'any' or a specific 'tool', the API prefills the assistant message to force a tool call, so the model 'will not emit a natural language response or explanation before tool_use content blocks, even if explicitly asked to do so.' The documented remedy: to get both natural-language context and a tool call, use tool_choice: {"type": "auto"} (the default) and add explicit instructions in a user message to use the tool - which restores leading text at the cost of the hard guarantee that the tool is always called.
Why the close options are wrong:
- Message placement is not the cause. With tool_choice set to a specific tool, the assistant turn is prefilled to a tool_use block and no leading text is emitted regardless of whether the instruction sits in system or user content. Moving it to a user message does not restore text while the tool is still forced.
- There is no text block to recover. Forced tool_choice prevents the model from generating any leading text, so no amount of content-block parsing will surface a summary that was never produced.
What learners say
Written by learners and reviewed before publishing. Exam results are self-reported and not verified.
Exam tips
- Control the agent loop with stop_reason — never parse natural-language text to decide when to stop.
- For high-stakes rules use deterministic hooks, not prompts. Prompts are probabilistic.
- If Claude picks the wrong tool, fix the tool description first — not a routing layer.
What you get
- Timed mocks drawn to the exam's domain weights, with the real exam's length and time limit.
- A report after every sitting: score by domain, the concepts to revisit, and which misses were close calls.
- Spaced review of what you got wrong, until it sticks.
- A guided lesson for each concept, in a calm editorial mode or a pixel-art game mode.
Questions
How long is the CCAR-F exam?
60 questions in 120 minutes. The passing score is 720 out of 1000.
Are these the real exam questions?
No. They are written for this guide from the published exam objectives, and they are not copies of real exam items. They follow the same style: realistic scenarios where at least two options are almost right.
Is it free, and do I need an account?
It is free and needs no account. Signing in is optional and only syncs your progress across devices.
Who is the CCAR-F for?
Engineers and architects who design agentic Claude systems: the tool-use loop, multi-agent orchestration, Claude Code configuration, prompt and context strategy, and production reliability.
Can I book the CCAR-F exam?
Sitting this exam currently requires access through an Anthropic partner or programme, and it cannot be booked publicly. The syllabus is still worth learning; check eligibility before planning a sitting.
Other certifications