Skip to content

← Tutorials

Claude Certified Architect – Foundations (CCAR-F): Preparation Guide and Cheatsheets

How I prepared for and passed CCAR-F: the exam at a glance, the decision rules behind the questions, cheatsheets for each domain, and four timed practice exams.

16 min read claude · certification · ccar-f

I passed the Claude Certified Architect – Foundations (CCAR-F) exam in December 2026. This guide covers how I prepared: what the exam looks like, the rules I used to choose between answers that both sound right, the cheatsheets I revised from, and the timed mock exams I practised with.

Unofficial study material. Everything here comes from the official exam guide (v1.0, July 2026), the Claude documentation and my own notes. None of it is real exam content: candidates accept a non-disclosure agreement covering the questions, answer options and scenarios, so no honest guide can share them. I’m not affiliated with or endorsed by the exam provider. Product details reflect the documentation as of December 2026, so check the current docs if something has changed.

Read the official guide in full first. It lists every task statement the questions are written against, and it is the authoritative reference. This page organises the same material into rules and cheatsheets that are easier to revise from. More posts and videos in this series will go deeper into each domain.

The exam at a glance

Items60 multiple-choice and multiple-response. Each item says how many answers to pick
Structure4 scenarios, picked at random from a bank of 6, with about 15 items each
Time120 minutes, so about 2 minutes per item
Passing score720 on a scaled range of 100 to 1,000. You are measured against a fixed standard, not other candidates
Score reportPass or fail, the scaled score, and your percentage correct in each domain
Fee and delivery$125, proctored online or at a test centre
Validity12 months. Renewing on time is a free, non-proctored assessment; a lapsed credential means retaking the full exam
#DomainWeightAbout
1Agentic Architecture & Orchestration27%16 items
2Tool Design & MCP Integration18%11 items
3Claude Code Configuration & Workflows20%12 items
4Prompt Engineering & Structured Output20%12 items
5Context Management & Reliability15%9 items

Four of these six scenarios appear in each exam. Read the scenario text carefully once, because it frames the next 15 questions.

ScenarioWhat you’re buildingMain domains
Customer Support Resolution AgentAn Agent SDK agent with MCP tools for customers, orders, refunds and escalation, targeting 80%+ first-contact resolution1, 2, 5
Code Generation with Claude CodeTeam workflows with slash commands, CLAUDE.md and plan mode3, 5
Multi-Agent Research SystemA coordinator delegating to search, analysis, synthesis and report subagents, producing cited reports1, 2, 5
Developer Productivity with ClaudeAn agent that explores codebases with the built-in tools and MCP servers2, 3, 1
Claude Code for Continuous IntegrationAutomated reviews, test generation and PR feedback with few false positives3, 4
Structured Data ExtractionExtraction validated against JSON schemas, feeding downstream systems4, 5

How the exam thinks

The exam tests judgement about trade-offs, not recall. Most questions offer two or three options that would all “work”. The right one is the one that matches a small set of design rules. These are the ones I relied on.

Rule 1: guarantee or guidance?

The single most useful question to ask of any stem: does this have to happen every time, or should it usually happen?

The requirementUseNot
Must happen every time: identity checks before refunds, spending limits, never merging with failing tests, never running destructive commandsA hook that intercepts the tool call, a programmatic gate that blocks the next tool until a prerequisite has succeeded, a forced tool_choice, or a JSON schemaA prompt instruction or few-shot examples, however emphatic
Should usually happen: tone, preferred ordering of offers, wording, judgement on borderline casesA clear prompt instruction with explicit criteria, plus few-shot examples where judgement is involvedA hook. That’s over-engineering for something where occasional variation is fine

Prompts and examples are probabilistic. They lower the failure rate but never to zero, so “it fails 2% of the time, let’s improve the wording” is always the wrong answer when the rule involves money, identity or safety.

Rule 2: prompt, few-shot or schema?

Each tool fixes a different kind of problem. Match the tool to the problem.

The problemThe fix
Results vary because the instruction is vague (“check comments are accurate”, “offer compensation when appropriate”)Explicit criteria in the prompt: say exactly what to report and what to skip
Detailed instructions still give inconsistent format or qualityFew-shot examples of the exact output you want
Borderline cases are judged differently each time2 to 4 few-shot examples of ambiguous cases, each showing why one action beat the alternatives
A prose description of a transformation is interpreted differently each time2 or 3 concrete input and output examples
Output must be valid JSON with the right fields and typesTool use with a JSON schema. It fixes form, not truth
The model invents values for information the document doesn’t containMake those fields nullable. A required field forces a value
An enum doesn’t cover every real caseAdd "other" (or "unclear") plus a detail string
A specific tool must be called firstForced tool_choice for that request

“Be conservative”, “only report high-confidence findings” and “be thorough” do not improve precision. Specific categories of what to report do.

Rule 3: what a schema can and can’t do

A strict schema through tool use guarantees form: valid JSON, required fields present, correct types, permitted enum values. It cannot tell whether a value is true: whether line items add up to the total, whether a value sits in the right field, whether it came from the document at all, or whether a cited line number points at the right code. Those need separate validation in code, with self-check fields such as calculated_total against stated_total, or a conflict_detected flag.

Rule 4: retries fix format, not missing information

Retry with the original input, the failed output and the specific validation error when the information is in the source and the output is wrong. When the information isn’t there, a retry can’t produce it: return null and route the item to human review.

More rules worth knowing cold

RuleIn one line
Fix the root causeThe answer is the component the evidence in the stem implicates, not a downstream workaround
Proportionate first stepBetter descriptions or prompts come before classifiers, routing layers or new infrastructure
Tool descriptions drive selectionMisrouting between similar tools: rewrite, rename or split them
Confidence and sentiment are poor proxiesNot escalation triggers, and not proof of accuracy until calibrated on labelled data
Least privilegeGive each agent only the tools its role needs; add a narrow tool for a frequent cross-role need
Big context is not good attentionMany files: per-file passes plus an integration pass, not a bigger window
Subagents start emptyPass everything they need in the prompt, as structured data that keeps sources attached
Independent review beats self-reviewA fresh instance without the generator’s reasoning catches more
Never hide a failureNo empty result reported as success, no “valid” label when validation didn’t run

Cheatsheet: agents and orchestration (D1)

  • Agentic loop: continue while stop_reason is "tool_use" (run the tools, append the results, send the full conversation again); stop on "end_turn". Text alongside a tool call is not a completion signal.
  • Anti-patterns: stopping when the reply contains text, scanning for phrases like “I’m done”, or an iteration cap as the main stop condition. A generous cap is fine as a safety net.
  • Hub and spoke: the coordinator decomposes, delegates, aggregates and routes all communication between subagents. No direct subagent-to-subagent messaging, no shared memory store.
  • Spawning subagents: the Task tool, so "Task" must be in the coordinator’s allowedTools. Newer docs may call it the Agent tool; it’s the same thing.
  • Parallel subagents: several Task calls in one response. Dependent work (synthesis needs findings) runs in a later turn.
  • AgentDefinition: description, system prompt and tool restrictions. Write descriptions that say what each subagent is for, because the coordinator chooses from them.
  • Delegation prompts: state the goal and quality criteria, not step-by-step procedures.
  • Decomposition: a fixed prompt chain for predictable work (outline, draft, cite, format); an adaptive plan for open-ended investigation.
  • Multi-issue requests: split into items, investigate them with shared context, give one combined answer.
  • Escalation handoff: a structured summary (customer ID, root cause, amount, recommended action) for a human who can’t see the transcript.
  • Coverage: a coordinator that splits a broad topic too narrowly produces a well-written but incomplete report. Fix the decomposition, not the subagents. Use an iterative loop: check the synthesis for gaps, re-delegate targeted queries, synthesise again.
  • Pick subagents per query: a simple lookup doesn’t need the whole pipeline. Partition work by subtopic or source type so parallel subagents don’t duplicate each other.
  • Hooks: PostToolUse to normalise results (mixed date formats, status codes) before the model sees them; tool-call interception to block and redirect policy violations.
  • Sessions: --resume <name> when earlier context is still valid (tell it which files changed); start fresh with a structured summary when most results are stale; fork_session to try two approaches from the same baseline.

Cheatsheet: tools and MCP (D2)

tool_choice

SettingBehaviourUse it when
"auto"The model may answer in text or call a toolA conversational assistant that sometimes needs a tool
"any"Must call some tool, its choiceEvery request must produce a tool call, but which tool varies
Forced, by nameMust call that toolA mandatory first step, such as classifying a document before extraction

Tool errors. Return isError with structured details, never a “success” whose text says “Error”.

CategoryExampleRetryable?
TransientTimeout, service unavailableYes
ValidationMalformed ID, branch name with spaces. Say which rule was brokenNo, fix the input
BusinessRefund outside the return window, pull request already closedNo, explain the policy
PermissionAccess denied to a confidential folderNo

An empty result from a query that worked is an answer, not an error, and the two must be reported differently. A timeout reported as “no results” makes the agent tell customers with real orders that they have none. Subagents should recover locally from transient errors and pass up only what they can’t resolve, together with what they tried and any partial results.

  • Good tool descriptions are the main thing the model uses to choose a tool. State the expected input with an example, what the tool returns, edge cases, and when to use it instead of a similar tool.
  • System prompt wording can override good descriptions. A keyword-triggered instruction (“for any message that mentions a refund, check the account”) creates unintended tool calls. Reword it around the situation, not the word.
  • One generic tool doing several jobs (analyze_document, do_git with an “action” argument): split it into purpose-specific tools with defined inputs and outputs. Replace broad tools (fetch_url, run_sql) with constrained ones that only do what the role needs.
  • Too many tools (around 18) degrades selection. Four or five per agent, scoped to its role, plus a narrow cross-role tool for a frequent need while complex cases go through the coordinator.
  • An MCP tool the agent ignores in favour of Grep usually has a thin description. Explain what it can do that a text search can’t.
  • MCP resources expose content to read (schemas, documentation trees, issue summaries). Tools are actions.
  • Configuration: a project’s .mcp.json is shared through git, with ${ENV_VAR} for tokens; ~/.claude.json is for personal or experimental servers. Tools from all configured servers are available together.
  • Community vs custom: use a community server for standard integrations such as Jira or GitHub; build a custom one only for team-specific workflows.
  • Built-in tools: Grep searches file contents; Glob matches file paths; Edit needs a unique text match, otherwise Read then Write. To trace a function through a wrapper, find every exported alias first, then Grep for each.

Cheatsheet: Claude Code configuration (D3)

WhatShared with the team (in git)Personal
InstructionsCLAUDE.md or .claude/CLAUDE.md; a subdirectory CLAUDE.md for one directory~/.claude/CLAUDE.md
Rules for files spread across directories.claude/rules/*.md with paths: globs in the frontmatter
Slash commands.claude/commands/~/.claude/commands/
Skills.claude/skills/<name>/SKILL.md~/.claude/skills/, under a different name
MCP servers.mcp.json~/.claude.json
  • CLAUDE.md vs skills: standing standards that must always apply go in CLAUDE.md or rules. Occasional, on-demand workflows (a release checklist, a long analysis) go in skills.
  • Keep CLAUDE.md modular: split a huge file into .claude/rules/ topic files; use @import in each package’s CLAUDE.md to pull in only the standards it needs.
  • Skill frontmatter: context: fork runs the skill in an isolated context so its output stays out of the main conversation; allowed-tools restricts what it may do; argument-hint prompts for missing parameters.
  • Diagnose: /memory shows which memory files are loaded. /compact frees context in a long session.
  • Plan mode for large multi-file changes, architectural decisions and tasks with several valid approaches. Direct execution for small, well-scoped changes. Plan, then execute, for big migrations.
  • Explore subagent for verbose discovery, so only its summary comes back.
  • Iterating: concrete input and output examples beat more prose; write tests first for rules with many edge cases; ask Claude to interview you in an unfamiliar domain; give interacting problems together, independent ones one at a time.
  • In CI: claude -p "<prompt>" (or --print) runs non-interactively; add --output-format json --json-schema <schema> for output a script can rely on. CLAUDE_HEADLESS, --batch and --headless don’t exist.
  • Better CI results: document testing standards and fixtures in CLAUDE.md, include existing tests to avoid duplicates, pass earlier findings so re-runs report only new or unresolved issues, and review with a separate instance from the one that generated the code.

Cheatsheet: prompts and structured output (D4)

Rules 2 to 4 above are the heart of this domain. On top of those:

  • High false-positive categories destroy trust in the accurate ones too. Switch the noisy category off while you fix its prompt.
  • Severity levels need explicit criteria and a concrete code example for each.
  • Few-shot examples generalise. Examples that contrast acceptable patterns with real issues, with the reasoning, handle patterns you never listed. A list of acceptable patterns only matches what’s on it.
  • Few-shot for extraction: show documents with varied structures (inline citations and bibliographies, narrative text and tables) to stop required fields coming back empty.
  • Schema plus prompt: a strict schema doesn’t normalise messy sources. Add format rules to the prompt (dates as ISO 8601, amounts without currency symbols) alongside it.
  • Feedback loops: a detected_pattern field on each finding lets you analyse which code constructs produce findings that developers dismiss.
  • Verification pass: a second pass that reports confidence for each finding lets you route reviewer attention, instead of hiding uncertain findings.
  • Message Batches API: 50% cheaper, up to 24 hours, no latency guarantee, results matched by custom_id, no multi-turn tool use inside a request. Good for overnight and weekly jobs; wrong for anything someone is waiting on, such as a pre-merge check.
  • Batch deadline maths: worst case is the longest wait before submission plus 24 hours. A 40-hour deadline needs a submission at least every 16 hours.
  • Before a big batch: refine the prompt on a sample first. Afterwards, resubmit only the failed custom_ids, splitting oversized documents.

Cheatsheet: context and reliability (D5)

  • Long conversations: keep exact amounts, dates and order numbers in a case-facts block included in every prompt and never summarised. Trim tool output to the fields that matter. Send the full history every time: the API keeps no memory between requests.
  • Lost in the middle: put key findings first and use section headers in long inputs.
  • Multi-agent context budgets: have upstream agents return structured facts, citations and relevance scores, not long reasoning, and include dates and source locations so downstream synthesis stays accurate.
  • Escalate when the customer asks for a human (immediately, however simple the fix), when the policy is silent on the request, or when the agent can’t make progress. A frustrated customer who hasn’t asked for a human gets an acknowledgement and an offer to fix it. Put the escalation criteria in the system prompt with a few examples of when to escalate and when to resolve.
  • Several matching customers: ask for another identifier. Don’t guess.
  • Errors in multi-agent systems: pass structured context (failure type, the query attempted, partial results, alternatives) so the coordinator can decide. Recover locally where possible, and say clearly what wasn’t covered.
  • Long exploration: a scratchpad file of key findings; subagents for verbose discovery; summarise one phase into the prompts of the next; for crash recovery, each agent saves state and the coordinator reloads a manifest.
  • Human review: 97% overall accuracy can hide a weak document type or field, so measure per segment. Calibrate confidence on a labelled set before trusting it. Keep reviewing a stratified random sample of high-confidence output.
  • Provenance: claim-to-source mappings (URL, document, excerpt) must survive synthesis. Report conflicting credible figures with both sources instead of picking one, and let the coordinator decide. Require publication dates so that a 2023 figure and a 2025 figure aren’t mistaken for a contradiction. Separate established findings from contested ones, note coverage gaps, and render each kind of content in a fitting form: tables for financial data, prose for news.

Distractors to recognise

  • Features that don’t exist: config files, flags or environment variables that sound plausible
  • “Add more instructions to the system prompt” when the requirement must hold every time
  • “Use a bigger model” or “a larger context window” for an attention or quality problem
  • Retries that end in a generic error, or an empty result reported as success
  • Majority voting across several runs, which suppresses real issues that are caught only sometimes
  • Pushing the problem onto people (“ask developers to make smaller pull requests”) instead of fixing the system

Not on the exam

The guide lists topics that won’t appear, so don’t spend time on them: fine-tuning, authentication and billing, hosting MCP servers, model internals and training, embeddings and vector databases, computer use, vision, streaming and server-sent events, rate limits and pricing calculations, OAuth and key rotation, cloud-provider configuration, benchmarking, and tokenisation. Prompt caching appears only as something you know exists.

Build it, don’t just read it

The official guide is clear that this is a hands-on exam, and its preparation advice comes down to building four things. These are what I’d do, in this order:

  1. A support agent with escalation. A few MCP tools, two of them deliberately similar so the descriptions have to do the work. An agentic loop driven by stop_reason. Structured errors with categories and a retryable flag. A hook that blocks an action above a threshold and redirects it to escalation. Then test it with messages that raise several issues at once.
  2. Claude Code for a team. A project CLAUDE.md, .claude/rules/ files with paths globs, a skill with context: fork and allowed-tools, and two MCP servers, one shared in .mcp.json with an environment variable and one personal in ~/.claude.json. Then try plan mode and direct execution on a one-file fix, a multi-file migration and a feature with several possible designs.
  3. An extraction pipeline. An extraction tool whose schema has required, optional and nullable fields and an "other" enum. A validation-retry loop that records which errors a retry fixes. Few-shot examples for varied document layouts. A batch of documents through the Message Batches API, with failed custom_ids resubmitted, and confidence-based routing to human review.
  4. A research pipeline. A coordinator with "Task" in its allowedTools and at least two subagents run in parallel. Findings passed as structured data with claim, excerpt, source and date. A simulated timeout that the coordinator recovers from with partial results. Two sources with conflicting figures, both kept with attribution.

Each one covers several domains at once, and you’ll recognise the scenarios immediately in the exam.

Practise with timed mock exams

Once the rules feel natural, test them under exam conditions. Each mock runs in your browser with a clock, saves your progress, and explains every answer when you submit.

MockQuestionsTimeGood for
CCAR-F Mock Exam A60120 minA first full run across all five domains
CCAR-F Mock Exam B60120 minMore select-two items, the built-in tools, Claude Code in CI
CCAR-F Mock Exam C60, or 30120 or 60 minA one-hour check when you’re short of time
CCAR-F Mock Exam D60, or two sets of 30120 or 60 minExtra practice on Domains 2, 4 and 5

My approach: take one full mock early to find weak domains, study those, then use the others to check progress. Read every explanation, including for questions you got right. Most mistakes come from picking an option that works over the one that matches the rules above.

What’s next in this series

Upcoming posts and videos go deeper into each domain, starting with the guarantee-versus-guidance rule, structured output with JSON schemas, and building the agentic loop. They’ll be listed in the Claude Certified Architect series as they’re published.