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 After a failure slips into production, how do you tell which metric your evaluation suite was missing?
Why it matters: Questions describe a production failure and an existing eval suite and ask which missing metric would have caught it.
An evaluation suite covers six dimensions: accuracy, groundedness, latency, cost, safety and security. A failure that reached production points to a dimension, or a grading target, the suite never measured. The fix is the specific metric that would have flagged it before release.
Reported, thanks
Step 2 of 9
Term
Meaning
Metric dimension
One of six areas to measure: accuracy, groundedness, latency, cost, safety or security.
Time to first token
Time from sending the prompt until the first response token, key when streaming.
Baseline latency
Total time to handle the prompt and produce a reply, leaving token throughput aside.
Noise bar
The run-to-run spread found by repeating the baseline, used to judge a real change.
Reported, thanks
Step 3 of 9
Match the failure to one of six metric dimensions. A suite can score accuracy well and still miss latency, cost, safety or security. Ask which dimension the failure belongs to, then which metric would have shown it pre-release.
Reported, thanks
Step 4 of 9
Streaming users feel time to first token most. Each latency metric answers a different question about speed.
Two latency metrics compared
Metric
What it measures
When it matters
Time to first token
Prompt sent until the first token appears
Streaming responses
Baseline latency
Prompt processing plus response generation
Overall response time, ignoring token speed
Exam trap A good total response time does not prove a streaming interface feels fast. The missing metric there is time to first token.
Reported, thanks
Step 5 of 9
Several usage fields miss part of the real spend. A cost gap often hides in how usage is read.
Agent SDK usage pitfalls and the fix
Pitfall
Why it misleads
Fix
Result usage field
Counts only the top-level loop
Use modelUsage for the whole tree
Parallel tool calls in one turn
Messages share one ID
Deduplicate usage by message ID
Per-step output_tokens
It is a placeholder
Read output tokens from the result message
Failed conversations
They still consume tokens
Read every result, including error subtypes
Exam traptotal_cost_usd and costUSD are not billing data. They are client-side estimates, so do not treat them as authoritative.
Reported, thanks
Step 6 of 9
Pull evaluation tasks from production logs, weighted like real use. Write an outcome check for each task, such as tests passing, a ticket closed or a correct row count. Record cost per task beside the score.
Reported, thanks
Step 7 of 9
Repeat the baseline before the first change. Identical runs of one configuration can differ by several tasks. That spread is the noise bar a change must clear. A multimodel setup must beat the single model's whole score-versus-spend curve.
Reported, thanks
Step 8 of 9
Shadow the winner on a traffic slice before cutover. Keep the evaluation suite running after the switch, too. Re-running failures at higher effort needs a real failure signal. If the grader approves bad output, those failures are never retried.
Exam trap Retrying failures at higher effort fixes nothing if the grader passes bad output. Without a failure signal, nothing triggers the retry.
Reported, thanks
Step 9 of 9
Check all six dimensions: accuracy, groundedness, latency, cost, safety and security.
Use time to first token when users see streamed responses.
Read whole-tree usage from modelUsage, not the top-level usage field.
Repeat the baseline first so a change has a noise bar to beat.
Think first How do you turn a support team's business goals into evaluations that can gate a prompt change, a model change or a release?
Why it matters: Questions describe a business process and ask which part makes a valid evaluation, which success criterion fits, and which test mix covers it.
Break the ideal customer interaction into every task, so each one can be prompted and evaluated. Then define success criteria with measurable benchmarks and goals. Judge readiness with a systematic mix of quantitative and qualitative methods.
Reported, thanks
Step 2 of 9
Term
Meaning
Success criterion
A measurable target tied to a business outcome, such as an escalation accuracy goal.
Deflection rate
The share of customer inquiries the chatbot resolves with no human help.
Escalation accuracy
Correct escalations counted against conversations that needed escalation but did not get it.
Rubric
A list of explicit, gradeable criteria that a grader scores one at a time.
CSAT
Customer satisfaction score, usually collected through a survey after the interaction.
Reported, thanks
Step 3 of 9
Break the ideal interaction into every task first. Do this before you build anything. Each task then gets its own prompt and its own evaluation. The task list also shows how wide a range of interactions your test cases must cover.
Reported, thanks
Step 4 of 9
Define success criteria with the team that owns the process. Work with the support team to write detailed evaluations with measurable benchmarks and goals. Each example below pairs a way to measure with a numeric target.
Example success criteria for a support chatbot
Metric
How it is measured
Target
Query comprehension
Review a sample of conversations for correct intent
95% or higher
Response relevance
LLM-based grading over a set of conversations
90% or above
Escalation accuracy
Correct escalations against missed ones
95% or higher
Deflection rate
Inquiries handled with no human intervention
70–80%, by inquiry complexity
Sentiment
Sentiment analysis at the start and end of each conversation
Kept or improved in 90%
CSAT
Post-interaction surveys
4 out of 5 or higher
Company and product facts
Correctness against the information given in context
100% accuracy
Exam trap Targets differ by metric. Company and product facts aim for 100% accuracy, while deflection aims for only 70–80%.
Reported, thanks
Step 5 of 9
Not every failing eval needs prompt engineering. For example, you can sometimes improve latency and cost more easily by choosing a different model than by rewriting the prompt.
Exam trap Rewriting the prompt is not always the answer to a latency or cost miss. Choosing another model can fix it more easily.
Reported, thanks
Step 6 of 9
Readiness comes from a systematic mix of methods. Combine quantitative metrics with qualitative review before you call a chatbot ready. Run the prompt in a test production setting too. Without that step, you cannot really tell how well it works.
Reported, thanks
Step 7 of 9
Each rubric criterion must be explicit and gradeable. The grader scores every criterion on its own, so vague wording gives noisy results. "The CSV has a numeric price column" beats "the data looks good." No rubric yet? Have Claude analyze a known-good example, then build the rubric from that analysis.
Reported, thanks
Step 8 of 9
Use the Message Batches API for large evaluation runs. Batches handle thousands of test cases asynchronously. That makes it practical to test the full spread of tasks from the first step, not just a handful of samples.
Reported, thanks
Step 9 of 9
Break the process into every task before building, so each task can be prompted and evaluated.
Set measurable targets with the process owners, such as 95% escalation accuracy.
Latency and cost can sometimes be improved more easily by changing the model than the prompt.
Judge readiness with both quantitative and qualitative methods.
Think first When an LLM judge's scores disagree with human reviewers, how do you work out which bias is responsible and which correction fixes it?
Why it matters: Questions show judge results that disagree with human review and ask which bias caused it and which correction to apply.
Human review is the reference an LLM judge is calibrated against. When the two disagree, name the responsible bias from the evidence, then choose the correction aimed at that bias, not a generic fix.
Reported, thanks
Step 2 of 9
Term
Meaning
LLM-as-judge
An evaluator named beside rubric-based evaluation, calibrated against human review.
Calibration
Checking and adjusting an LLM judge against human review.
Evaluation-design bias
Bias that comes from how the evaluation is built, as opposed to the data or prompt framing.
Metric dimension
What a suite measures: accuracy, groundedness, latency, cost, safety or security.
Reported, thanks
Step 3 of 9
The symptom is judge scores that disagree with human review. Scenarios hand you artifacts such as evaluation results and expect you to reason from them. Read the results closely before choosing a fix.
Reported, thanks
Step 4 of 9
Position, verbosity, self-preference and judge drift. These are the 4 biases a correction may need to target. The task is to pick the bias the evidence points to, then the correction that addresses it.
Exam trap A correction aimed at the wrong bias will not fix the disagreement. Match the correction to the responsible bias.
Reported, thanks
Step 5 of 9
Human review is the yardstick for a judge. Calibrating an LLM judge means comparing its verdicts with human review. A judge whose verdicts disagree with that review is what this objective asks you to diagnose.
Reported, thanks
Step 6 of 9
Data, prompt framing and evaluation design are distinct origins. Before choosing a mitigation, decide where the bias comes from. Each origin calls for its own mitigation, so identifying it comes first.
Exam trap Not every bias is a data problem. It may come from prompt framing or evaluation design, each needing a different mitigation.
Reported, thanks
Step 7 of 9
A missing dimension is a different failure from a biased judge. If a production failure slipped past the suite, ask which dimension or grading target was missing: accuracy, groundedness, latency, cost, safety or security. That is a coverage gap, not judge bias.
Reported, thanks
Step 8 of 9
Judge design falls under Domain 4, worth 17%. Domain 4, Evaluation, Testing, and Optimization, carries 17% of the Professional exam. Judge design and bias is one of its task statements.
Reported, thanks
Step 9 of 9
An LLM judge is calibrated against human review; disagreement is the symptom.
Know the four judge biases: position, verbosity, self-preference and judge drift.
Choose the correction for the responsible bias, not a generic fix.
Tell apart bias in the data, in prompt framing and in the evaluation's design.
Think first With a limited budget, how do you design a comparison of two Claude configurations so the result reflects the change, not random variation?
Why it matters: Questions give a sample and cost budget and ask which experimental design gives an interpretable comparison of two configurations.
Identical runs of one configuration already differ, so a single run per configuration proves little. Repeat runs to measure that noise, test on realistic tasks with outcome checks, and confirm the winner on data the search never saw.
Reported, thanks
Step 2 of 10
Term
Meaning
Run-to-run noise
The spread in scores between identical runs of the same configuration.
Noise bar
The spread from repeated baseline runs, used to judge whether a change is real.
Held-out split
Tasks the configuration search never reads, kept to confirm the final choice.
Cost per completed task
Total spend divided by tasks actually finished, the fair way to compare models.
Reported, thanks
Step 3 of 10
Prompt engineering assumes success criteria and a way to test them. The prompt-engineering guide assumes you already have clear success criteria for your use case. It also assumes some empirical way to test against them, and a first draft prompt to improve.
Reported, thanks
Step 4 of 10
Sample real tasks, weighted like real traffic. Pull a few tasks from production logs and write an outcome check for each, such as tests passing or a row count matching. Record cost per task beside the score.
Exam trap Comparing on typical tasks hides the expensive ones. Price the tail by comparing models on your hardest 10% of tasks, not the median.
Reported, thanks
Step 5 of 10
Run the baseline more than once before any change. Identical runs of one configuration differed by several tasks. The repeats give a noise bar, so a change is adopted only when it beats that spread. Anthropic used 3 runs per configuration on 200 problems.
Exam trap One run per configuration cannot separate the configuration effect from noise. Repeat the baseline to know how large chance differences are.
Reported, thanks
Step 6 of 10
A gap inside the noise is not a real difference. These examples show how results read against run-to-run noise.
Example comparisons read against run-to-run noise
Comparison
Score result
Conclusion
Three answer formats, 3 runs each
All within noise
Choose on cost, not correctness
Cache breakpoints added
Pass rate fell less than the spread
Cost per task cut without real quality loss
Opus 5.5 vs Fable 5.1, default effort
Matched, inside noise
Roughly one fifth of the cost per solved task
Reported, thanks
Step 7 of 10
Test effort levels, not just the default. Baseline model tiers at several effort levels and plot score against spend. A multimodel setup must beat the single model's whole curve. Judge models by cost per completed task rather than per token.
Reported, thanks
Step 8 of 10
Confirm on a split the search never read. A change can fit only the tasks the search saw. Judging adoption on a held-out split catches that. Before cutover, run the winner in shadow on a slice of traffic, then keep the suite running.
Reported, thanks
Step 9 of 10
Some savings cut spend without touching quality. Batch processing costs 50% less for work that can wait up to 24 hours. Prompt edits are not always the best fix: another model can sometimes improve latency and cost more easily. Published results are directional, so measure your own workload.
Reported, thanks
Step 10 of 10
Repeat the baseline first; its spread is the noise bar a change must beat.
Use production tasks weighted like real traffic, with outcome checks and cost per task.
Confirm the winner on a held-out split the search never read.
Judge models by cost per completed task rather than cost per token.
Shadow the winner on a traffic slice before cutover.
Think first Given a failing Claude system's logs, how do you tell a prompt problem from a retrieval, tool, hallucination or model problem?
Why it matters: Questions show a log, trace or symptom and ask which failure class caused it and what the fix should be.
Reported, thanks
Step 2 of 11
Term
Meaning
Prompt failure
The model did what the wording literally asked, not what you meant.
Model mismatch
A request uses a setting the chosen model no longer accepts, such as budget_tokens on Claude 4.7.
Overtriggering
The model calls tools or skills too often because the prompt pushes it too hard.
Prompt chaining
Splitting a task into steps, each a separate API call you can log and inspect.
Reported, thanks
Step 3 of 11
Some failures return a 400, while others raise no error at all. Setting budget_tokens on Claude 4.7 or later returns a 400, and so does forced tool use with adaptive thinking on models such as Opus 5.5. Suggestions where edits were meant come back with no error.
Common symptoms and the failure class they point to
Symptom in the trace
Likely class
Corrective action
400 error after setting budget_tokens
Model mismatch
Remove it and set the effort parameter
Claude suggests edits but never makes them
Prompt failure
Rewrite as a direct instruction to change the code
Answer cites code Claude never opened
Hallucination
Require reading referenced files before answering
Many subagents spawned for a simple search
Subagent overuse
Steer toward a direct grep call
Exam trap Do not answer a 400 from budget_tokens on Claude 4.7 or later by rewording the prompt. Remove the setting and use the effort parameter to control thinking depth.
Reported, thanks
Step 4 of 11
Settings from older models stop working on newer ones. On Claude 4.7 and later, budget_tokens is rejected; use the effort parameter. From the 4.6 models, prefilling the last assistant turn is no longer supported. A system migrated without updating its requests fails here.
Exam trap Switching to a bigger model is not the first fix for latency or cost trade-offs. Tuning effort on the same model is often the better lever.
Reported, thanks
Step 5 of 11
Forcing a tool while thinking is on can return a 400 error. With manual extended thinking, tool_choice must stay at auto or none. With adaptive thinking on models such as Opus 5.5, forced tool use also errors. Trace logs showing a forced tool_choice explain the failure.
Reported, thanks
Step 6 of 11
Too many tool calls can trace back to an aggressive prompt. Opus 4.5 and 4.6 follow the system prompt closely, so aggressive tool instructions can cause overtriggering; soften that wording. Opus 4.6 also tends to spawn subagents where a direct grep call would do.
Reported, thanks
Step 7 of 11
Claude sometimes suggests changes instead of making them. Asking whether Claude can suggest changes may produce only suggestions. If the log shows advice where edits were expected, the fix is an explicit instruction, such as telling it to change the function.
Reported, thanks
Step 8 of 11
Where long inputs sit in the prompt affects answer quality. For inputs of 20k+ tokens, put the documents near the top, above the query and instructions. Asking Claude to quote the relevant parts first helps it focus and ignore the rest.
Exam trap Weak answers over long documents are not always a retrieval bug. Check whether the documents sit below the query, and whether quoting first was requested.
Reported, thanks
Step 9 of 11
Speculating about unopened code invites hallucinations. Tell Claude never to speculate about code it has not opened. Also echo assistant messages exactly: dropping thinking blocks loses their reasoning with no error. Editing earlier turns invalidates later thinking blocks on newer models.
Reported, thanks
Step 10 of 11
Separate API calls per step make root causes visible. In a chained flow such as draft, review and refine, each step is its own call. Each call can be logged, scored or branched on its own, so the failing step stands out.
Reported, thanks
Step 11 of 11
Setting budget_tokens on Claude 4.7 or later returns a 400; use the effort parameter instead.
Forced tool use fails with thinking on; keep tool_choice at auto or none.
Suggestions instead of edits is a prompt failure; give an explicit instruction to act.
Chain steps as separate calls so each one can be logged and checked.
Think first Reading cost and latency telemetry, how do you find where spend or delay concentrates and fix it without dropping below the quality floor?
Why it matters: Questions give usage, cost or cache telemetry and ask where spend or latency comes from and which fix keeps quality acceptable.
Usage telemetry shows where tokens go, split by type over time. When the cache misses, diagnostics report the earliest divergence, so fix that one first. Then apply one optimization at a time and check that quality stays above the threshold.
Reported, thanks
Step 2 of 10
Term
Meaning
Cache read tokens
Input tokens served from the prompt cache, reported as usage.cache_read_input_tokens.
Cache diagnostics
A request option that reports where a request first diverged from the previous one.
TTFT
Time from sending the prompt to the first response token; key for streaming apps.
Quality floor
The output quality threshold an optimization must not drop below.
Reported, thanks
Step 3 of 10
The Usage and Cost APIs report at different granularity. Use the Usage API to see token types over time, and the Cost API for daily spend.
Usage API and Cost API compared
Feature
Usage API
Cost API
Time buckets
1m, 1h or 1d
Daily (1d) only
Measures
Tokens split into uncached input, cached input, cache creation and output
Costs in USD, including web search and code execution
Exam trap In OpenTelemetry spans, gen_ai.usage.input_tokens already includes cache reads and writes. Adding the cache attributes on top double counts.
Reported, thanks
Step 4 of 10
Cache read tokens falling to zero is the warning sign. Without diagnostics, that drop is the only signal, and it does not say what changed. Turn on diagnostics by passing previous_message_id: null on the first turn, then the previous response's id.
Reported, thanks
Step 5 of 10
Each divergence reason has its own fix. Fix the earliest divergence first, since only that one is reported and later ones may hide behind it.
Cache miss reasons and their fixes
Reason
Typical cause
Fix
system_changed
A timestamp or request ID in the system prompt
Keep the system prompt byte-stable; move the value to the user message
tools_changed
Tools added, removed, reordered or serialized differently
Same tools each turn, fixed order, deterministic schemas
messages_changed
History truncated, edited or re-serialized
Append only; echo assistant content and tool results verbatim
Reported, thanks
Step 6 of 10
Null diagnostics with low cache reads means no entry existed. The requests were identical, but the cache entry had expired, or the prompt was shorter than the minimum cacheable length.
Exam trap Null diagnostics with zero cache reads does not mean something changed in the prompt. The entry expired or the prompt was too short to cache.
Reported, thanks
Step 7 of 10
Batch processing gives a 50% discount on batch requests. Each request sent as a batch request costs half the usual price. That makes batch processing a direct lever on spend.
Reported, thanks
Step 8 of 10
Pick a faster model or make output appear sooner. Haiku 5.5 gives the fastest responses, with effort as its main speed and cost control. Streaming sends output before it is complete, so users see results sooner and TTFT matters most.
Reported, thanks
Step 9 of 10
Apply one optimization at a time and re-check quality. Build a latency eval, change a single technique, and confirm output quality stays above the threshold before applying the next one.
Reported, thanks
Step 10 of 10
A drop of cache_read_input_tokens to zero signals a cache problem; diagnostics tell you why.
Fix the earliest reported divergence first; later ones may be hidden.
Keep the system prompt byte-stable and put per-request values in the user message.
Don't add cache attributes to gen_ai.usage.input_tokens; it already includes them.
Test one optimization at a time against a quality threshold.
Think first A model you rely on has been deprecated: how do you decide whether to stay pinned, re-tune prompts, re-test or move now?
Why it matters: Questions give a deprecation timeline and test results for a new model and ask which migration step fits.
Reported, thanks
Step 2 of 8
Term
Meaning
Deprecated
Still works but no longer recommended; it has a named replacement and a retirement date.
Retired
No longer available for use; requests to the model fail.
Pinned model ID
An ID whose underlying model stays constant for the whole lifetime of that ID.
Alias
A convenience pointer that resolves to the most recent dated snapshot for a minor version.
Reported, thanks
Step 3 of 8
A model ID pins one version for its whole lifetime. That guarantee does not cover aliases. An alias such as claude-sonnet-4-5 resolves to the latest dated snapshot for its minor version. From the 4.6 generation on, the dateless ID is itself a fixed snapshot, and updates ship under new IDs.
Exam trap Switching to a dateless alias does not dodge a retirement. The Claude Sonnet 4.5 retirement also covers claude-sonnet-4-5.
Reported, thanks
Step 4 of 8
Weights for an ID are fixed, but serving infrastructure can change. The request router, safety classifiers and sampling logic can be updated. Anthropic never changes the weights or configuration of an existing ID. So unexpected behavior changes on a previously stable ID most likely come from an infrastructure update.
Exam trap A behavior shift on an unchanged model ID does not mean the weights changed. An infrastructure update is the most likely cause.
Reported, thanks
Step 5 of 8
Find where deprecated models run, then test early. Export the Usage page in Claude Console for a CSV broken down by API key and model. Then test your applications with the replacement well before the retirement date. The table shows one real timeline.
The Claude Sonnet 4.5 retirement on the Claude API
Some request parameters fail on newer API versions. In API version 2026-10-21, temperature, top_p and top_k were removed and return a 400 error. Omit them and guide model behavior through prompting instead.
Reported, thanks
Step 7 of 8
Update Claude Code first, then change every model setting. A newer model can need a newer Claude Code version. Check which model you use, even with no model set or an alias such as sonnet. Set the recommended replacement for a deprecated model.
Exam trap Changing only your main model setting is not enough. Subagent definitions and any model your administrator set must change too.
Reported, thanks
Step 8 of 8
Deprecated models still work until their retirement date; retired models fail every request.
Publicly released models get at least 60 days' notice before retirement.
A model ID stays constant for its lifetime; an alias can point to a newer snapshot.
Drift on an unchanged model ID most likely comes from an infrastructure update.
Test the replacement well before retirement, and update every place a model is set.
Each topic's Check tested it on its own; this mixes them.
Mixed quiz
Take the Domain 4 quiz
12 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.