---
title: "Claude Certified Architect Cheat Sheet (CCAR-F): Exam Guide Summary"
url: "https://certmadeeasy.com/claude-certification/certified-architect/cheat-sheet"
description: "CCAR-F cheat sheet: the Claude Certified Architect – Foundations exam guide on one page, the rule behind each answer and the trap behind the wrong ones."
---

# Claude Certified Architect – Foundations (CCAR-F) cheat sheet

The CCAR-F exam guide on one page: the rule that picks each answer, and the trap behind the wrong ones.

![](https://certmadeeasy.com/claude-certification/authors/craig-li.jpg)

By [Craig Li, Ph.D](https://www.linkedin.com/in/guanyi-li-91662016)

Claude Certified Architect – Professional  Updated November 2026

**Covers:** Anthropic's current CCAR-F exam guide. The 7 December update didn't change it.

[Start with 20 free questions](https://certmadeeasy.com/try/set-anthropic-ccar-f) [CCAR-F Exam guide](https://certmadeeasy.com/claude-certification/certified-architect) [CCAR-F Free questions PDF](https://certmadeeasy.com/claude-certification/certified-architect/dumps)

**On this page**

-   [Answer rules](#s1)
-   [Contrasts](#s2)
-   [D1 Agent loop](#s3)
-   [D1 Hooks](#s4)
-   [D1 SDK, patterns](#s5)
-   [D1 Multi-agent](#s6)
-   [D2 Tools & MCP](#s7)
-   [D3 Config locations](#s11)
-   [D3 Workflow](#s12)
-   [D3 Reference](#s13)
-   [D4 Prompts](#s14)
-   [D4 Structured output](#s15)
-   [D4 Batches](#s16)
-   [D5 Context](#s17)

## Answer rules

**Fix the cause the stem names**, not its symptom

**Must ALWAYS hold → mechanism** (hook, `permissions.deny`, `tool_choice`, schema); a preference → CLAUDE.md

**Smallest change**: add a part only when the problem is exactly what it solves

**Keep the source value, state the doubt**: no nearest enum, rescaled amount, placeholder, "refund done"

**Meet BOTH goals**; **use info already in hand** (validator error, coordinator's context)

**FIRST** = least-commitment step that unblocks (contain, pilot, interview), never the full build

**LEAST effective** = what the mechanism can't help (retry can't add missing info)

| Situation | Choose | Not |
| --- | --- | --- |
| An example contradicts the rule | fix that example | check + retry, louder wording |
| Scenario doesn't need it | simplest design | classifier, router, worker pool, bigger model |
| Self-review bias | fresh instance | same session |
| One pass trades recall for precision | verify stage | "only high-confidence" |
| Many independent items | parallel subagents | nesting, a queue |
| Repeated prefix costs time or money | prompt caching | caching to fix behaviour |
| Transient failure (brief 503) | retry as is | retrying a non-transient error |
| Progressing run hit the turn cap | resume, higher `max_turns` | higher cap for a loop |
| OUTPUT cut off (even a tool call) | raise `max_tokens` | same for long input (chunk it) |
| Edit a result before Claude reads it | PostToolUse | PostToolUse to block |
| Measure accepted output | stratified sample, weekly | sampling to route review |

Also wrong: temperature 0 · remove a built-in so the MCP tool wins · fine-tune on corrections · sentiment or "after 3 failures" as escalation trigger · tool order sets priority · `-p` disables tools · "be conservative" to cut noise

## One change, different answer

### Dates come back as printed, not YYYY-MM-DD

<table><tbody><tr><td>Prompt + examples agree, rare slips</td><td>code check + retry with the error</td></tr><tr><td>One example shows the printed date</td><td>fix that example</td></tr></tbody></table>

### Extraction deadline on batch pricing

<table><tbody><tr><td>Deadline 30 h</td><td>submit every 4 h (4 h wait + 24 h = 28 h)</td></tr><tr><td>New hard deadline under 24 h</td><td>synchronous API</td></tr></tbody></table>

### Which fields reach reviewers

<table><tbody><tr><td>Accuracy rises with the score</td><td>calibrated per-field threshold</td></tr><tr><td>Accuracy flat across scores</td><td>route on failed rules, run disagreement, doc-type history</td></tr></tbody></table>

### Agent quotes from its case facts

<table><tbody><tr><td>ID, amount, customer's words</td><td>quote as kept</td></tr><tr><td>Order or refund status</td><td>tag tool + turn, call the tool again first</td></tr></tbody></table>

## D1 The agent loop

### One tool round trip

<table><tbody><tr><td>1 request</td><td><code>tools</code> + messages <code>[user]</code></td></tr><tr><td>2 response</td><td><code>stop_reason: "tool_use"</code>, content: text? + <code>tool_use {id: "toolu_1", name, input}</code></td></tr><tr><td>3 your code</td><td>runs the tool</td></tr><tr><td>4 next request</td><td>history + <b>assistant</b> turn (response content unchanged) + <b>user</b> turn <code>tool_result {tool_use_id: "toolu_1", content}</code>, <code>is_error: true</code> if it failed</td></tr><tr><td>5 repeat</td><td>until <code>stop_reason: "end_turn"</code> → show the text</td></tr></tbody></table>

### Loop symptoms

<table><tbody><tr><td>Reply has text AND a tool call</td><td>loop on <code>stop_reason</code>, reply at <code>end_turn</code></td></tr><tr><td><code>pause_turn</code></td><td>append response unchanged, call again, no user text</td></tr><tr><td><code>end_turn</code> asks the customer</td><td>show it, wait; no auto "please continue"</td></tr><tr><td>Forgets answers, repeats calls</td><td>API is stateless → full history incl. every tool_use + tool_result</td></tr><tr><td>Several tool_use blocks</td><td>all results in ONE user message, by id</td></tr><tr><td>Independent lookups one per turn</td><td>prompt to request them together</td></tr><tr><td>SDK custom tools run one at a time</td><td><code>readOnlyHint</code> → concurrent</td></tr><tr><td>User interrupts mid-batch</td><td>finished results + "cancelled, not run" errors, then new text</td></tr><tr><td>Tool exception ends the chat</td><td><code>tool_result</code> with <code>is_error: true</code>, keep looping</td></tr><tr><td>How the next step is chosen</td><td>model reasons over the result, no router</td></tr></tbody></table>

## D1 Hooks

<table><tbody><tr><td>PreToolUse</td><td>BEFORE the call: block, ask or rewrite input</td></tr><tr><td>PostToolUse</td><td>after: edit the result before Claude sees it, log, format; can't block</td></tr><tr><td>Stop</td><td>refuse to end until a check passes</td></tr></tbody></table>

<table><tbody><tr><td>Refund &gt; limit, or after escalating</td><td>PreToolUse deny on process_refund, reason "escalate"</td></tr><tr><td>Approved exceptions get denied</td><td>hook checks the system of record</td></tr><tr><td>Another customer's order</td><td>allow only orders lookup_order returned for them</td></tr><tr><td>Data leaks before verification</td><td>gate EVERY disclosing tool, lookup_order too</td></tr><tr><td>Verified state across a handoff</td><td>code writes the verified ID in</td></tr><tr><td>Confirmation must be a later message</td><td>split propose / process, code-issued ID</td></tr><tr><td>Wrong unit, missing LIMIT</td><td>PreToolUse rewrites input</td></tr><tr><td>Card numbers, junk, huge results</td><td>PostToolUse masks or trims (fine on a shared server)</td></tr><tr><td>Audit every refund</td><td>PostToolUse log; slow → async</td></tr><tr><td>Format after edits</td><td>PostToolUse, matcher <code>Edit|Write</code>, Prettier</td></tr><tr><td>Depends on args (force push to main)</td><td>PreToolUse parses → deny or ask</td></tr><tr><td>Citations must pass before publishing</td><td>PreToolUse on the publishing tool, deny until the check passes</td></tr><tr><td>MCP hook never fires</td><td>match <code>mcp__server__tool</code></td></tr><tr><td><code>canUseTool</code> check never runs</td><td><code>allowedTools</code> pre-approved it → use PreToolUse</td></tr><tr><td>Server shared with another app</td><td>limit in the agent's hook</td></tr><tr><td>Blocked agent gives up</td><td>deny reason names the prerequisite</td></tr></tbody></table>

## D1 SDK and patterns

Hand-built file tools, sessions → Agent SDK

`error_max_turns`, no report → resume higher, or one tool-less request for partial findings

`max_budget_usd` includes subagents, checked after each response (can overshoot) · turn caps are per agent

Must end resolved or handed off → code checks after the loop

Lookup on a known input → code calls it first

### Pattern

Same known steps → **prompt chain** + synthesis

Cause or path unknown → **adaptive** subtasks from what each step finds

Fixed stages, one open-ended → stages in code, that one as a loop

Chain step comes back short → code gate (vs a Grep count)

Same mistake across modules → fix one, review, use as reference

Quality decays over many files → per-file passes + consistency pass

Mechanical, repeats → tested codemod

Layered packages → base first, parallel within a layer

## D1 Multi-agent (hub and spoke)

Coordinator writes needed findings into each subagent prompt; no inherited chat or shared memory

Parallel → several `Task` calls in ONE response

Nothing runs → `Task` missing from `allowedTools`

Subagent rigid or gives up → **goals + quality criteria** (breadth, recency), not steps or "be thorough"

"The sources above" → write question, scope, sources in

Same pages returned → distinct subtopic each

Effort doesn't scale → coordinator sizes it per query

Entity list unknown → discover first, then one subtask each

Retry fails the same way → new prompt with the error and partials

Ambiguous, costly run → ask one question first

One item added → research only it, re-synthesise

Slow follow-up summary → coordinator answers itself

"See above" loses results → final message holds them (path + lines, claim + URL)

Partial failure → work done + record per failed item

Subagent failed → re-delegate once, publish with gaps

Misrouting → sharper agent `description`

No `tools` list → inherits all; list only what the role needs

## D2 Tools & MCP

Tool skipped or confused → **richer description**: what, when, inputs, outputs

Still ignored → a system-prompt line overrides it

Overlapping tools → **merge** (action param or flag); not few-shot

One generic free-text tool → purpose-specific tools

Fabricated order\_id → description: comes from lookup\_order

Call chain mirrors the API → task-level tool

Amounts → pass IDs + quantities, backend computes

Generic fetch bypasses vetting → narrow tool

Silently capped results → say truncated, total, how to narrow

Huge handbook → search tool

### Errors

Failure → an error result, not an empty result or an exception. Same flag, two spellings:

<table><tbody><tr><td>MCP server tool result</td><td><code>isError: true</code></td></tr><tr><td>Messages API <code>tool_result</code> block</td><td><code>is_error: true</code></td></tr></tbody></table>

Can't pick recovery → `error_category`, `isRetryable`, next step

Business refusal → `isRetryable: false` + friendly text

Timeout or sign-in page → error, never an empty list

Brief 503 → subagent retries, reports only persistent failures

Most pages read → result + list of unreadable ones

Mixed items → per-item outcomes

Write timed out → "outcome unknown" or idempotency key

### Built-ins

**Grep** = CONTENTS (imports, error text) · **Glob** = NAMES (`**/migrations/*.sql`)

Huge file → Read + line range

Edit fails (no unique anchor) → Read whole, Write back

Grep floods → `files_with_matches`/`count` first

Rename → exhaustive Grep, not semantic search

Callers via aliases → Grep each, or type checker

cat/grep in Bash → PreToolUse deny naming Read/Grep/Glob

Big subsystem → find the base class, then trace implementations

### MCP

Tools: model calls · resources: browsable, `@`\-attached · prompts: `/mcp__server__prompt`

Agent probes blindly → content catalog as resources

Giant schema → index + one resource per table

Many tools eat context → tool search (definitions on demand)

Slow per-run index → HTTP (shared), not stdio (per run)

Server down → check init status, hold or flag the run

Vetted domains only → `allowed_domains` on web\_search

## D3 Claude Code: where it goes

<table><tbody><tr><td>Project <code>CLAUDE.md</code></td><td>team rules every session, committed; reaches CI + teammates; survives compaction</td></tr><tr><td><code>~/.claude/CLAUDE.md</code></td><td>personal, all repos; not CI, not team</td></tr><tr><td><code>CLAUDE.local.md</code></td><td>personal, this repo, gitignored</td></tr><tr><td><code>sub/dir/CLAUDE.md</code></td><td>loads when Claude reads files there</td></tr><tr><td>Managed policy CLAUDE.md</td><td>org-wide, users can't remove</td></tr><tr><td>Rule with <code>paths:</code></td><td><code>.claude/rules/*.md</code>, loads only for matching files (by file TYPE)</td></tr><tr><td>Rule without <code>paths</code>, or <code>@import</code></td><td>loads every session (imports don't save context)</td></tr><tr><td>Project skill</td><td><code>.claude/skills/&lt;name&gt;/SKILL.md</code>: team procedure on demand, <code>/name</code></td></tr><tr><td>Personal skill</td><td><code>~/.claude/skills/</code>; own variant under a NEW name</td></tr><tr><td>settings <code>deny</code></td><td>hard block, e.g. <code>Edit(./db/migrations/**)</code></td></tr><tr><td>MCP servers</td><td>team <code>.mcp.json</code> · personal <code>~/.claude.json</code> · token <code>${ENV_VAR}</code></td></tr></tbody></table>

<table><tbody><tr><td>Needed before any file is read</td><td>no <code>paths</code></td></tr><tr><td>Procedure from step 1, or per-task checklist</td><td>skill / slash command, not CLAUDE.md</td></tr><tr><td>Rules conflict</td><td>no precedence: reword</td></tr><tr><td>CLAUDE.md &gt; ~200 lines loses rules</td><td>trim</td></tr><tr><td>Rules given only in conversation</td><td>vanish after compaction</td></tr><tr><td>25 drifting directory copies</td><td>one path rule</td></tr><tr><td>Override a team MCP server</td><td>local scope, SAME name</td></tr><tr><td>MCP for one subagent</td><td>its <code>mcpServers</code></td></tr></tbody></table>

## D3 Workflow & review

One file, clear diff → **direct**

Several approaches or many files → **plan mode**

Unsure what robust needs → Claude **interviews** you

Approved spec → implement from `@SPEC.md`, run its check

Iterating → tests first, share failures each round

UI → mockup image, screenshot + compare

Fixes interact → all in one message, exact specs

Corrected many times, bugs return → `/clear`, one prompt + lessons

Allow preview, ask for apply → two tools

### Code review

Managed Code Review noisy → repo-root `REVIEW.md`

Comments on unchanged code → only changed lines

Flags intentional changes → add PR description or ticket

Re-runs → pass prior findings, report new

Cross-file bugs → agentic review that can search

## D3 Reference: path rules, skills, CLI

Rule key is `paths` (`globs:` etc. ignored → loads always) · `*.tsx` misses nested → `**` · escape `[locale]` (bracket class)

Path rules load on read/edit of a match (single-file `cat` counts)

Big SKILL.md → reference tables in own files, SKILL.md says when to read each

<table><tbody><tr><td><code>description</code></td><td>in context so Claude can pick the skill (left out with <code>disable-model-invocation</code>)</td></tr><tr><td><code>disable-model-invocation: true</code></td><td>only typed <code>/name</code> runs it (deploys)</td></tr><tr><td><code>user-invocable: false</code></td><td>hidden from menu, only Claude starts it</td></tr><tr><td><code>context: fork</code></td><td>runs in a subagent, only result returns</td></tr><tr><td><code>allowed-tools</code> / <code>disallowed-tools</code></td><td>pre-approve during skill (removes nothing) / remove while it runs</td></tr><tr><td><code>paths</code> / <code>hooks</code></td><td>limit auto-load / deterministic step</td></tr><tr><td><code>skillOverrides</code> (settings)</td><td>visibility only; can't define a skill</td></tr></tbody></table>

### CLI / headless

Hangs at a prompt in CI → `-p`

Cap a run → `--max-turns N --max-budget-usd X`

Slow discovery → `--bare --append-system-prompt-file ./CLAUDE.md`

Custom prompt loses repo awareness → `--append-system-prompt`, not `--system-prompt` (replaces default)

Parse findings → `--output-format json --json-schema`, read `structured_output`; missing → fail closed

Skip-permissions ran injected curl → `--permission-mode dontAsk` + exact `--allowedTools` (`Bash(npm test *)`, `mcp__server__*`)

Resume → `--resume <name|id>` specific · `--continue` most recent here

## D4 Prompts & review criteria

Accurate but unwanted findings → **explicit criteria**: report vs skip

Inconsistent severity → criteria per level + repo examples

Examples for one category hurt another → separate passes, merge

Cross-file breaks → integration pass

Huge PR truncates → split by files

Accurate style findings bury bugs → bugs + security inline, style + naming in one summary comment · not drop the category

Category off for false positives → replay old vs new criteria, label new findings, compare precision + recall before re-enabling

Reply + internal summary in one → summary step after close

Known source quirk → state it in the prompt

Inconsistent formats → strict schema + normalisation

**Few-shot** for judgment, varied layouts, verbatim informal values: 2–3 varied pairs + an edge case; it copies quirks

## D4 Structured output

<table><tbody><tr><td>Must match a schema</td><td><b>tool with <code>input_schema</code> + <code>strict: true</code></b>, read <code>tool_use</code>; or <code>output_config.format</code> <span class="not">· not</span> <span class="x">"output JSON", prefill, regex</span></td></tr><tr><td>Rare type slips</td><td>strict mode was off: turn on <code>strict: true</code></td></tr><tr><td>Force a tool first</td><td><code>tool_choice {"type":"tool","name":…}</code> that turn</td></tr><tr><td>Some tool, never text</td><td><code>"any"</code> (<code>auto</code> allows text)</td></tr><tr><td>Several problems, or none</td><td>findings array: one issue per finding, no issues → empty array <span class="not">· not</span> <span class="x">one finding object + a prompt rule</span></td></tr><tr><td>Values the pipeline knows</td><td>attach in code</td></tr><tr><td>Fabricated values for missing info</td><td>optional / nullable + "null if not stated"</td></tr><tr><td>Loader needs every key</td><td>required + nullable, no 0 defaults</td></tr><tr><td>New categories keep appearing</td><td>enum + <code>other</code> + detail string</td></tr><tr><td>Conflict, known winner (spec table)</td><td>precedence rule in prompt, single field</td></tr><tr><td>Conflict, no rule</td><td>flag + both values → review</td></tr><tr><td>Amendments</td><td>multiple values + source location + effective date</td></tr><tr><td>Stated vs inferred</td><td>basis field + clause text</td></tr><tr><td>Totals don't add up</td><td>stated_total + calculated_total, flag mismatch</td></tr><tr><td>Totals from clauses</td><td>extract parts, sum in code</td></tr><tr><td>Well-formed, wrong values</td><td>verbatim excerpt per field, code checks it</td></tr></tbody></table>

**Validation-retry** (doc + bad output + all errors) fixes slips; info absent from input → route to a human, retries breed fabrication

## D4 Message Batches API

50% off · most < 1 h, up to 24 h, then unfinished requests expire (unbilled)

`custom_id` per request · your tools can't run mid-request (stops at tool\_use)

**Worst case** = wait before submission + 24 h; a batch resend needs another 24 h. More frequent submits cut the wait, not processing; splitting one submission changes nothing

New hard deadline under 24 h → synchronous API, or cancel and resend unfinished requests in time

Existing nightly batch → poll, alert, resend expired

Urgent + bulk → Messages API + batch

"Prompt too long" → chunk, resubmit only those IDs

Stage 2 needs stage 1 → two batches, joined by custom\_id

One new field → batch for it alone

Code moved on → SHA in custom\_id

Tuned on a handful → pilot a few hundred first

Cache misses late in batch → 1-hour TTL (default 5 min)

## D5 Context & reliability

Forgets class names → summarise findings, or `/compact`

Many files mid-task → Explore subagent

Per-file summaries miss handoffs → delegate by question, cite files

Long exploration → scratchpad file

Middle outputs lost → key findings first + header per source

Long doc's middle missed → chunk

Constraints lost in summaries → block outside summarised history

Multi-issue chat → case-facts block (IDs, amounts, customer's words)

**Kept ≠ current** → re-call status before quoting; not a bigger context

### Sessions

Few files changed → resume, name them

Most changed, or stale results → new session + summary, fresh calls

Compare approaches → `fork_session` (worktree each if both edit)

Follow-up to a subagent → resume by agent ID

Resumed run lacks hooks/subagents → pass options again

Crash → each agent exports state, coordinator loads manifest

### Escalation

Asks for a person → `escalate_to_human` now; don't investigate first

Policy exception, policy silent, or no progress → escalate

Upset, not asking → acknowledge, offer remedy

Several issues → resolve what you can, escalate the exception

Several accounts match → ask for another identifier

Action tool fails → say what failed, offer retry or escalation; never claim done

Handoff: customer ID, root cause, amounts, IDs, actions tried, next step

### Human review

Limited capacity → route low confidence, ambiguous source, failed rules

Recalibrate after a prompt change

Runs disagree → likely invention; agreement doesn't prove truth

New segment, more errors → review all; own threshold once labelled

Losses in big invoices → rank by error rate × amount

### Provenance

Claim + URL, date, excerpt as separate fields end to end

**Right citation ≠ faithful claim**: "up to 30%" → "about 30%" passes a link check. Carry value, qualifier, unit, date unchanged

Conflicting figures → keep both + method + source

Different years → not a contradiction

Unknown date → "unknown"

Echoes of one survey → one source, not three

Coverage gaps → re-delegate until met

Exam facts from the official CCAR-F exam guide, checked November 2026.

Cert Made Easy is independent and not affiliated with or endorsed by Anthropic. Claude and Claude Code are trademarks of Anthropic, PBC. Our practice questions are exam-style questions we write against the official exam guides (for CCAO-F, CCDV-F and CCAR-P, the guides for exams through 6 December); they are not questions from the real exam.
