A full Claude Certified Architect – Professional mock exam: 70 questions in 120 minutes, scored against the real exam's pass mark. Your first one is free.
Think first Given a workload's latency, cost and quality limits, how do you pick the Claude model tier and explain why the others fail?
Why it matters: Questions give a workload profile and ask which model tier meets every binding constraint, and why each rejected tier does not.
The tiers run from Haiku through Sonnet and Opus to Fable, rising in cost and capability. Most workloads start on Opus. Tune effort before switching, and judge cost per completed task, not per token.
Reported, thanks
Step 2 of 8
Term
Meaning
Model tier
A model's place on the cost and capability ladder: Haiku, Sonnet, Opus or Fable.
Effort
A parameter that gives up some intelligence for lower latency and cost, within one model.
Cost per completed task
What a finished task really costs, counting failures and retries, rather than the token price.
Frontier model
The most capable and most costly current model, Claude Fable 5.2.
Reported, thanks
Step 3 of 8
Claude Opus 5.5 is the usual starting tier. From there, each tier trades cost against capability, so each one has a typical fit.
Current Claude tiers, from lowest to highest cost and capability
Hours-long agent sessions, multistep deep research
Reported, thanks
Step 4 of 8
Effort is often a better lever than changing models. It trades intelligence for latency and cost inside one model. On the Messages API, most models default to high effort; Opus 5.5 and Haiku 5.5 default to medium.
Exam trap Opus 5.5 tokens cost twice as much as Sonnet 5.5 tokens. Yet at low effort, Opus solved about as many SWE-bench Pro subset tasks for only about 7% more per solved task.
Reported, thanks
Step 5 of 8
You pay for completed tasks, not tokens. A failed task is still billed for its tokens. Then you pay for the retry and whatever the failure costs downstream. So a cheaper model is only cheaper if it rarely fails.
Reported, thanks
Step 6 of 8
Haiku fits high-volume, latency-sensitive work with checkable outputs. On GPQA Diamond, Haiku 5.5 scored 85% against 91% for Opus and Sonnet. Its cost per correct answer was about a twentieth of Opus's.
Reported, thanks
Step 7 of 8
Move to Fable when Opus at top effort still falls short. If evals at xhigh or max effort still miss on demanding reasoning or long-horizon agent work, switch to Claude Fable 5.2. Claude Mythos 5.2 offers the same capabilities, but only to verified organizations.
Exam trap The top tier does not always pay off. On DeepResearch Bench II, Fable 5.2 cost 4.3 times as much as Sonnet 5.5 with no measurable score gain.
Reported, thanks
Step 8 of 8
Tiers rise in cost and capability: Haiku, Sonnet, Opus, then Fable.
Start most workloads on Opus 5.5 and tune effort before changing tiers.
Judge models on cost per completed task, since failures bill tokens, retries and downstream costs.
Escalate to Fable when Opus at xhigh or max effort still falls short.
Think first When a system prompt gives vague or inconsistent output, how do you find what it leaves out and fix it without over-constraining Claude?
Why it matters: Questions show a system prompt and its weak output, then ask which revision fixes scope, format or behavior best.
Do not rely on Claude to infer extra work from a vague prompt; ask for it explicitly. Say why a behavior matters to get more targeted responses. Avoid aggressive wording, which more responsive models might overtrigger on.
Reported, thanks
Step 2 of 9
Term
Meaning
Underspecification
A prompt so vague that Claude must infer what you want instead of being told.
Overtriggering
Claude uses a tool or behavior too often because the prompt pushes it too hard.
Positive instruction
Telling Claude what to do, such as writing flowing prose, instead of what to avoid.
Preset with append
An Agent SDK option that keeps the claude_code preset and adds your instructions after it.
Reported, thanks
Step 3 of 9
If a new colleague would be confused, so will Claude. Show the prompt to someone with minimal context on the task. Their confusion is a preview of Claude's.
Reported, thanks
Step 4 of 9
Ask explicitly for anything beyond the bare task. Claude will not reliably infer extra work from a vague prompt. Saying why a behavior matters gives Claude your goal, so responses become more targeted. A one-sentence role also focuses behavior and tone.
Exam trap Expecting Claude to go beyond the task without being asked is the classic gap. Request the extra behavior explicitly.
Reported, thanks
Step 5 of 9
Separate content types and order matters. Wrap instructions, context and input in their own XML tags to avoid misreading. Use numbered steps when order or completeness matters. For inputs of 20k+ tokens, put long documents at the top.
Reported, thanks
Step 6 of 9
Say what format you want, not what to avoid. Ask for smoothly flowing prose paragraphs rather than banning markdown. The prompt's own style also carries over, so a prompt without markdown tends to get less markdown back.
Exam trap A long anti-markdown block is not always helpful. Claude Fable 5.1 already formats less, so such a block can suppress structure the content needs.
Reported, thanks
Step 7 of 9
Aggressive or blanket rules cause overtriggering. Revisions that fix one problem can create another. Pick the one that targets the need without forcing the behavior everywhere.
Over-constrained wording and better revisions
Problem
Over-constrained wording
Better revision
Tool overuse
CRITICAL: You MUST use this tool when...
Use this tool when...
Blanket default
If in doubt, use [tool]
Use [tool] when it helps you understand the problem
Exam trap Aggressive wording like CRITICAL or MUST can backfire. Models that are more responsive to the system prompt might overtrigger on it.
Reported, thanks
Step 8 of 9
Leaving systemPrompt unset drops the preset's safety rules. The SDK then uses a minimal prompt that covers tool calling only, unlike claude -p. The claude_code preset with append adds your rules and removes nothing, the lowest-risk option. A custom string sends only what you write.
Exam trap An unset Agent SDK system prompt is not the full Claude Code prompt. It omits the preset's security and safety instructions.
Reported, thanks
Step 9 of 9
If a colleague with little context would be confused by the prompt, Claude will be too.
Ask explicitly for anything beyond the task, and say why it matters.
Tell Claude what format to use instead of what to avoid.
Replace aggressive or blanket tool rules with normal, targeted wording.
Use the claude_code preset with append for the lowest-risk SDK customization.
Think first Given a failure pattern and a task's complexity, which prompting technique fixes it without paying for tokens you do not need?
Why it matters: Questions show a failing output and ask which technique (examples, reasoning, thinking or structured output) fixes it at the least token cost.
Match the technique to the failure. Examples fix format and tone, thinking or prompted reasoning fixes weak logic, and structured outputs fix schema errors. Then size the reasoning to the task, since extra thinking costs tokens and latency.
Reported, thanks
Step 2 of 10
Term
Meaning
Few-shot prompting
Giving Claude a few well-crafted examples in the prompt; also called multishot prompting.
Manual chain-of-thought
Asking Claude to reason step by step before answering when thinking is turned off.
Effort
Soft guidance on how much of the output Claude spends on thinking; it sets no exact token count.
Structured outputs
A mode that uses constrained decoding so every response matches a JSON schema.
Reported, thanks
Step 3 of 10
Each technique targets a different kind of failure. Start from what went wrong, not from a favorite technique. A wrong format calls for examples or a schema. Weak reasoning calls for thinking or a reasoning prompt.
Observed failure and the technique that addresses it
Failure
Technique
Why it works
Inconsistent format, tone or structure
Few-shot examples
Examples steer format, tone and structure reliably
Claude reasons before answering, final answer in tags
Weak reasoning with thinking on
General instruction such as "think thoroughly"
Often beats a hand-written step-by-step plan
Reported, thanks
Step 4 of 10
Few-shot examples must be diverse. Cover edge cases and vary the examples enough that Claude does not copy unintended patterns. Examples also work with thinking: worked examples guide how Claude tackles similar problems inside its thinking blocks.
Exam trap Examples are not only for runs without thinking. With thinking on, worked examples still shape how Claude reasons.
Reported, thanks
Step 5 of 10
Prefer general instructions over prescriptive steps. Claude's own reasoning often goes beyond what a person would script. When thinking is off, ask it to work through the problem first. Have it wrap the final answer in answer tags so code can pull it out.
Exam trap A detailed hand-written plan is not the best reasoning aid. A general prompt like "think thoroughly" often produces better reasoning.
Reported, thanks
Step 6 of 10
Give simple tasks a budget near 1,024 tokens. With manual extended thinking, complex tasks start at 16,000 tokens or more. Adjust from there for latency and quality. Want Claude to think less often? Turn the effort level down before you try prompt-based steering.
Reported, thanks
Step 7 of 10
max_tokens is a hard cap; effort is soft guidance. The cap covers thinking and response text together, and Claude never goes past it. Effort only shapes how much output goes to thinking. Most models default to high effort. Claude Opus 5.5 defaults to medium, and so does Claude Haiku 5.5.
Exam trap Truncated at max_tokens? Raising the cap is right only when those answers needed the reasoning. If Claude over-thought them, reduce effort instead.
Reported, thanks
Step 8 of 10
Structured outputs add a small token cost. Claude receives an extra system prompt, so input tokens rise slightly. Changing output_config.format invalidates the prompt cache for that thread. Enum capitalization is not guaranteed, so compare enum values case-insensitively.
Exam trap Do not add a schema property that asks for step-by-step reasoning. It can cause a reasoning_extraction refusal, so request a brief explanation instead.
Reported, thanks
Step 9 of 10
On Claude Opus 5, remove old verification instructions. This model checks its own work well without being told. Verification instructions carried over from prompts for earlier models cause over-verification, which adds tokens and latency. Delete them rather than rewording them.
Reported, thanks
Step 10 of 10
Use a few diverse, well-crafted examples to steer format, tone and structure.
With thinking off, fall back to manual chain-of-thought and extract the answer from tags.
Structured outputs remove schema-violation retries but add a slightly larger input prompt.
Start simple tasks near the 1,024-token thinking minimum and complex ones at 16,000 or more.
Think first Given a token budget and a call volume, where can you cut token use without losing information the task needs?
Why it matters: Questions give a context layout, a call volume and a budget and ask where token use or cost can safely drop.
Every part of a request fills the context window, and a fuller window can hurt accuracy. Caching cuts the price of a stable prefix but not its size. So you cut size by keeping unneeded material out, and cut cost by caching what repeats.
Reported, thanks
Step 2 of 9
Term
Meaning
Cache prefix
Tools, then system, then messages, up to the block marked with cache_control.
Cache breakpoint
The block marked with cache_control; it should end the static part of the prompt.
Cache lifetime
How long a cached prefix lasts: 5 minutes by default, refreshed free on each use.
Context rot
Accuracy and recall degrading as the token count grows.
Reported, thanks
Step 3 of 9
Every part of the request counts toward context. That includes the system prompt, tool definitions and every message. Tool results, images and documents count as well. Extra tokens are not free in quality either, because recall degrades as context grows.
Reported, thanks
Step 4 of 9
Some techniques shrink context; caching only lowers the bill. Decide whether the budget limits tokens or spend, then pick accordingly.
What each technique reduces
Technique
Reduces tokens in context
Other effect
Programmatic tool calling
Yes: intermediate results stay out of history
One script replaces five tool roundtrips
Tool search
Yes: much lower baseline usage
Costs one extra turn of latency per lookup
Prompt caching
No: cached prefixes still count
Lowers what you pay for cached tokens
Exam trap Caching a long prompt does not help a context window that is too full. Cached prefixes still occupy the window.
Reported, thanks
Step 5 of 9
Put the cache breakpoint at the end of the static prefix. The cache covers tools, system and messages in that order, up to the marked block. A varying suffix, such as a timestamp, must sit after the breakpoint. So mark the last block that stays identical across the requests meant to share a cache.
Exam trap Editing a tool's name, description or parameters is not a small change. It invalidates the whole cache, including system and messages.
Reported, thanks
Step 6 of 9
The default cache lasts 5 minutes and refreshes free on use. So a prompt sent more often than every 5 minutes should stay on the default lifetime. Each call keeps the cache warm at no extra charge.
Reported, thanks
Step 7 of 9
Below the minimum length, caching silently does nothing. The request still succeeds, and no error is returned. Check the cache fields in the usage to confirm hits rather than assuming them.
Reported, thanks
Step 8 of 9
Total input is cache reads plus cache writes plus uncached input. Sum cache_read_input_tokens, cache_creation_input_tokens and input_tokens for the full count. Token counting gives an estimate without caching logic. Caching happens only when a message is actually created.
Reported, thanks
Step 9 of 9
Prompt caching lowers cost, but cached tokens still count toward the context window.
End the cached prefix before any varying content such as timestamps.
Changing any tool definition invalidates the entire prompt cache.
Programmatic tool calling keeps intermediate tool results out of the history.
Think first How should you order and package a repeated prompt so the most content is reused from cache across calls?
Why it matters: Questions describe a repeated prompt sequence and call pattern and ask where breakpoints and packaging maximize cache reuse.
The cache matches an exact prefix, built from tools, then system, then messages. So stable content goes first and anything that varies goes last, after the breakpoint. Skills and deferred tools keep extra material out of that prefix until it is needed.
Reported, thanks
Step 2 of 9
Term
Meaning
Cache breakpoint
A block marked with cache_control; the cached prefix ends there.
Cache prefix order
Tools first, then system, then messages, each level building on the one before.
Lookback
The backward search, up to 20 positions from a breakpoint, for an earlier cache entry.
Progressive disclosure
Skills load only their name and description until triggered, so they add little context.
Automatic caching
Caching that places its own cache breakpoint; it can be combined with explicit breakpoints.
Reported, thanks
Step 3 of 9
Put static content at the start and mark where it ends. Tool definitions, system instructions, context and examples belong first. Then mark the end of that reusable part with cache_control. A hit needs every segment up to that block to be identical.
Reported, thanks
Step 4 of 9
The breakpoint goes at the end of the static prefix. A timestamp or incoming message changes on every call. Cache writes happen only at the breakpoint. So a breakpoint on a changing block never writes a reusable entry, and the lookback cannot save the stable part behind it.
Exam trap The lookback does not rescue a breakpoint placed on the incoming message. Writes happen only at the breakpoint, so nothing stable gets cached.
Reported, thanks
Step 5 of 9
One request can set up to 4 cache breakpoints. Use them for sections that change at different rates. Automatic caching sets a breakpoint of its own. Combined with explicit breakpoints, that automatic breakpoint takes one of the 4 slots. Each breakpoint looks back at most 20 positions for an earlier entry.
Reported, thanks
Step 6 of 9
Mark the last tool to cache the whole tools prefix. Keep tool definitions stable across calls.
How tool changes affect the cache
Action
Effect on cache
Advice
cache_control on the last tool
Caches all tool definitions
Covers the first tool through the marked one
Edit a tool name or description
Invalidates the entire cache
Avoid edits between calls
Discover a deferred tool
Cache preserved; appended inline
None needed; the prefix stays untouched
Reported, thanks
Step 7 of 9
A Skill costs only its name and description until triggered. So many Skills can be installed without a context penalty.
Reported, thanks
Step 8 of 9
A cache entry exists only once the first response starts. Parallel requests should wait for that first response to get hits. The cache lasts 5 minutes by default and refreshes free when used. A prompt below the minimum length is not cached, and no error says so.
Exam trap Firing ten identical requests at once does not give nine cache hits. The entry only appears after the first response begins.
Reported, thanks
Step 9 of 9
Order the prompt from stable to dynamic and end the cached prefix before varying content.
Cache hits need prompt segments that are exactly identical up to the breakpoint.
A request can hold up to 4 breakpoints, and automatic caching uses one.
Any change to a tool definition invalidates the whole cache.
Think first For an agent that runs for hours, how do you set reasoning effort and manage its context so it stays accurate without wasting tokens?
Why it matters: Questions describe a long-running agent with latency and accuracy needs and ask which effort level and context strategy fit it.
Effort applies to every output token, so it shapes cost with or without thinking; on Claude Opus 5.5 it is the primary control. Over a long session, compaction and the memory tool keep the working context small while saving what must persist.
Reported, thanks
Step 2 of 9
Term
Meaning
Effort
A setting that scales every output token: text, tool calls and thinking.
Context editing
Clearing old tool uses and results from the prompt once it passes a set trigger.
Compaction
Summarizing the conversation so the active context stays small, with no bookkeeping in your client.
Memory tool
A client-side tool: Claude requests memory operations and your app runs them on storage you control.
Reported, thanks
Step 3 of 9
Effort applies to all output, with or without thinking. It covers text, tool calls and thinking alike. Turning effort down also gives you fewer, shorter tool calls. Most models default to high; Claude Opus 5.5 and Claude Haiku 5.5 default to medium.
Reported, thanks
Step 4 of 9
Match the level to the task's length and depth. Low suits simple, fast work such as subagents. The xhigh level targets long agentic and coding tasks. On Claude Opus 5.5, effort can change mid-conversation through a per-message output_config that keeps the prompt cache.
Effort levels for agent workloads
Level
Fits
Trade-off
low
Simpler tasks needing speed and low cost, such as subagents
Significant token savings, some capability loss
xhigh
Agentic and coding tasks over 30 minutes
Token budgets in the millions; set a large max_tokens
Exam trap On Claude Opus 5.5, you cannot save tokens by disabling thinking. Adaptive thinking is always on, and a disabled-thinking request returns a 400 error.
Reported, thanks
Step 5 of 9
Give xhigh and max effort a generous max_tokens.max_tokens is a hard limit on thinking plus response text together. A small cap can cut off a long, deep answer before it finishes.
Reported, thanks
Step 6 of 9
Context editing clears tool results past a trigger. The clear_tool_uses_20250919 strategy triggers at 100,000 input tokens by default. It then keeps the 3 most recent tool use and result pairs, dropping the oldest first. Use exclude_tools for tools whose results must never be cleared.
Exam trap Clearing is not free: it invalidates cached prompt prefixes. Set clear_at_least so each clearing removes enough tokens to justify the cache loss.
Reported, thanks
Step 7 of 9
Claude gets a warning before context is cleared. When context editing runs with the memory tool, the warning arrives near the clearing threshold. Claude can then save key facts to memory files. Your application performs each memory operation against its own storage.
Reported, thanks
Step 8 of 9
Long-running agents can use compaction and memory together. Compaction keeps the active context small. Memory holds the information that must survive summarization. Where on-demand compaction is available, prefer it over threshold compaction.
Reported, thanks
Step 9 of 9
Effort affects every output token, so it changes cost even when thinking is off.
Use low effort for subagents and xhigh for agent tasks longer than 30 minutes.
Context editing triggers at 100,000 input tokens and keeps 3 tool pairs by default.
Combine compaction with the memory tool so key facts survive summarization.
Each topic's Check tested it on its own; this mixes them.
Mixed quiz
Take the Domain 2 quiz
9 questions mixed from every topic in this domain, each answer explained. Mixing topics is harder than one at a time, and it is what the exam does. No account needed; with a free account your answers also build your estimated exam score.
Thank you. It goes straight to the people who write these notes.
Test yourself in exam conditions
A full Claude Certified Architect – Professional mock exam: 70 questions in 120 minutes, scored against the real exam's pass mark. Your first one is free.
Free to start: the study notes and plan, quizzes, flashcards and the first mock exam, no card needed. A free account keeps your place and saves your quiz scores.