20 original questions for Claude Certified Architect – Professional, grouped by the exam’s 7 domains. Open “Show answer” under each one for the right answer and why every option is right or wrong.
Solution Design and Architecture
18% of the scored exam · 4 sample questions
Question 1
A legal-research product runs each customer request as a Claude Managed Agents session. Finance wants a hard limit so that no single session can cost more than 4 US dollars at list prices, even if the agent loops on a hard problem. Other sessions in the workspace must keep running when one reaches its limit. What should the architect use?
ASet max_tokens in the agent's model configuration so each response stays short.
BSet a workspace spend limit of 4 US dollars in the Claude Console.
CCreate each session with a budget whose max_list_cost is 4 US dollars.
DAlert finance when a session's usage passes 4 US dollars and cancel it by hand.
Show answerHide answer
Correct answer: C. Pass a budget when you create each session. It caps that session's list cost and stops it issuing new model requests once the cap is reached.
A. max_tokens limits a single response, not how many model requests a long session makes, so the session's total can still grow.
B. A workspace limit applies to the whole workspace rather than to one session, so one runaway session could stop all the others.
C. Correct. A session budget is a hard ceiling on that session's list cost: the platform prices what the session consumes at list rates, and the session stops issuing new model requests when the running total reaches max_list_cost. Other sessions aren't affected.
D. Alerts and manual cancellation react after the money is spent, so they can't guarantee the limit.
A bank plans to run Claude in Amazon Bedrock through the bedrock-mantle endpoint. Its data rules require inference to stay in a single AWS region, and the business case was costed at the global endpoint's prices. What should the architecture review add?
AUse a regional endpoint for the required region and budget for its 10 percent price premium.
BUse the global endpoint, which routes dynamically across the available regions at no premium.
CKeep the global endpoint and ask AWS afterwards which regions served the requests.
DUse the global endpoint and record the AWS account's home region as the inference location.
Show answerHide answer
Correct answer: A. A regional endpoint keeps inference in the region you specify, and on Bedrock it costs 10 percent more than the global endpoint, so the business case needs updating.
A. Correct. Bedrock's regional endpoints resolve to the single AWS region you specify, for data-residency requirements, and carry a 10 percent pricing premium over global endpoints.
B. The global endpoint costs less because it routes across regions, which is exactly what the residency rule forbids.
C. A report after the fact doesn't keep inference in one region; the global endpoint routes requests dynamically by design.
D. An account's home region doesn't limit where a global endpoint sends requests.
A document-review app on the Claude API uploads each contract once with the Files API and uses the server-side web fetch tool to read the public statutes a contract cites. A new customer requires the app to run on Claude in Amazon Bedrock. Which two changes does the move require? (Choose TWO.)
Choose TWO.
AKeep the Files API uploads, because Bedrock accepts the same Messages API request format.
BSend each contract's content in the request, because Bedrock doesn't support Files API inputs.
CRaise the request's max_tokens so the model can retrieve the statutes while it generates.
DFetch the statutes in the application and return them to Claude through a client-side tool.
EMove to the bedrock-runtime endpoint, which supports the server-side tools that mantle lacks.
Show answerHide answer
Correct answers: B and D. Bedrock doesn't support Files API inputs or server-side tools such as web fetch, so the app must send the contract content itself and fetch the statutes through its own tool.
A. The Bedrock pages list the Files API among the features not supported, so file references from uploads won't work there.
B. Correct. Input sources, including the Files API and URL sources, aren't supported on Bedrock, so the contract text has to travel in the request.
C. max_tokens limits the length of the output; it gives the model no way to read a web page.
D. Correct. Server-side tools, web fetch among them, aren't supported on Bedrock. A client-side tool lets the application fetch the pages and return them as tool results.
E. The bedrock-runtime page lists the same server-side tools as not supported.
A healthcare software firm has a zero data retention (ZDR) arrangement for its Claude API traffic. It wants to move a document-processing agent to Claude Managed Agents hosted by Anthropic, and it assumes the arrangement will cover the agent's sessions. What should the architect tell the team?
AHosted sessions are covered automatically because they use the same organization's API keys.
BHosted sessions are covered as long as the agent deletes each session's files when it finishes.
CHosted sessions are covered if every request in the session sets inference_geo to the US.
DHosted Managed Agents isn't ZDR eligible: plan for self-hosted Managed Agents or keep today's design.
Show answerHide answer
Correct answer: D. Hosted Managed Agents isn't eligible for ZDR, because sessions are stateful and their transcripts persist until you delete them. Self-hosted Managed Agents is the documented exception.
A. Anthropic's documentation marks Managed Agents as not eligible for ZDR, whichever key creates the session.
B. Sessions are stateful and transcripts persist until you delete them; cleaning up files doesn't make the hosted service ZDR eligible.
C. Inference geography controls where inference runs, not whether data is retained.
D. Correct. The Managed Agents pages list hosted sessions as not ZDR eligible, and name self-hosted Managed Agents as the exception.
An agent's long sessions reuse a large cached system prompt and tool definitions. After the team turned on tool result clearing with context editing, context size fell but input costs rose: traces show a new cache write after almost every turn, and each clearing removes only a few hundred tokens. What should the team change?
ATurn off prompt caching, because context editing and caching can't be used in the same request.
BSet clear_at_least so that each clearing removes enough tokens to justify the cache write it causes.
CMove the cached system prompt after the conversation history so that clearing doesn't touch it.
DReplace tool result clearing with compaction, which never changes what follows the cached prefix.
Show answerHide answer
Correct answer: B. Clearing tool results invalidates the cached prefix, so each clearing costs a cache write. clear_at_least makes every clearing remove enough tokens to be worth it.
A. The two features work together: the context editing docs describe how clearing interacts with the cache rather than forbidding the combination.
B. Correct. Tool result clearing invalidates cached prompt prefixes, and you pay a cache write each time content is cleared. The clear_at_least parameter sets a minimum number of tokens per clearing so the invalidation is worthwhile.
C. Caching reuses a stable prefix; putting changing history in front of the system prompt would stop the prompt from being reused at all.
D. Compaction replaces older turns with a summary, which also changes the conversation the cache was built on; it isn't a way to avoid cache writes.
A compliance assistant sends the same 40,000-token policy prefix with every request, but requests from each team arrive about every 15 minutes. Usage shows a cache write on nearly every request and almost no cache reads. Which change is most likely to make the cached prefix pay off?
AMove the policy prefix to the end of the request so it isn't part of the cache key.
BSplit the policy across four breakpoints so each part is cached separately.
CSend a keep-alive request every 20 minutes to keep the entry warm between teams.
DUse the 1-hour cache duration for the policy prefix and compare the write and read costs.
Show answerHide answer
Correct answer: D. The default cache lifetime is 5 minutes, so 15-minute gaps let the entry expire. A 1-hour cache costs more to write but can be read many times within the hour.
A. Caching reuses a matching prefix; moving the stable text after changing content stops it from being reused.
B. More breakpoints don't help when each entry has already expired before the next request arrives.
C. With a 5-minute lifetime, a request every 20 minutes still finds the entry expired.
D. Correct. The default lifetime is 5 minutes. A 1-hour cache write costs 2 times the base input price instead of 1.25 times, and cache reads cost 0.1 times, so steady 15-minute traffic should repay it. Check the result in the usage fields.
To stay under a token budget, a chat service drops the oldest message from the history before each new request. Cache reads have collapsed, and cache diagnostics report cache_miss_reason type messages_changed. The model, system prompt and tools haven't changed. What explains the result?
ARemoving earlier messages changes the prefix, so requests stop matching the cached history.
BA router switched the model between requests, and caches are kept separately for each model.
CThe system prompt now includes a timestamp, which makes every request's prefix unique.
DThe tool definitions are serialized in a different order on each request.
Show answerHide answer
Correct answer: A. messages_changed means an earlier message was altered or removed rather than appended to, and trimming the oldest message does exactly that.
A. Correct. messages_changed means the model, system prompt and tools match, but an earlier entry in messages was altered, reordered or removed instead of being appended to. Trimming history from the front changes the prefix on every request.
B. A different model would be reported as model_changed.
C. A changing system prompt would be reported as system_changed, and the system prompt hasn't changed.
D. A changed tool list would be reported as tools_changed.
A Claude Managed Agents session stores an AWS secret access key as a vault environment-variable credential so the agent's script can call an AWS API. Every call fails with a signature error, although the same key works on a developer's laptop. What causes the failure?
AVault credentials work with the MCP connector only, so environment variables stay empty.
BAWS rejects requests from the sandbox's network, whatever signature they carry.
CThe sandbox sees only a placeholder, so a request signed locally with it is invalid.
DThe key is substituted into the request body, which AWS doesn't read for authentication.
Show answerHide answer
Correct answer: C. The real secret is swapped in only at egress. A client that signs requests with the secret inside the sandbox, as AWS SigV4 does, signs with the placeholder and produces an invalid signature.
A. Environment-variable credentials are one of the documented vault credential types.
B. The error is about the signature, and the cause is how the key reaches the signer, not where the request comes from.
C. Correct. Substitution happens at egress, not inside the sandbox. Anything that processes the credential locally sees the opaque placeholder, so a client that computes a signature from the secret, such as AWS SigV4, produces an invalid signature.
D. Where the secret is substituted isn't the problem: the signature was already computed from the placeholder before the request left the sandbox.
A Claude Managed Agents agent must call a partner API that uses the OAuth client-credentials grant. The team stores the client secret in a vault so the agent never sees it, then lets the agent request access tokens itself. A security review asks whether the agent can still see a usable credential. What should the team do?
APerform the token exchange outside the sandbox and store the resulting access token in the vault.
BKeep the design, because vault substitution also redacts tokens that come back in responses.
CPut the client secret in the agent's system prompt so it can request tokens directly.
DTell the agent in its system prompt not to log or repeat any token it receives.
Show answerHide answer
Correct answer: A. Vault substitution is outbound only, so an access token returned by the exchange arrives in the sandbox unredacted. Do the exchange yourself and store the token in the vault.
A. Correct. For exchange-based flows the documentation says to perform the exchange yourself and store the resulting token in the vault, because a token returned to the sandbox isn't redacted.
B. Substitution applies to outbound requests only; tokens in responses arrive as they are.
C. That exposes the secret itself to the model and still leaves the returned token visible.
D. An instruction doesn't stop a usable token from sitting in the sandbox, where any tool, or an injected prompt, could reach it.
An agent calls a mapping API that reads its key from a request header. The agent also builds request bodies from customer documents it is working on, and its environment can reach several other hosts. Which two vault credential settings keep the secret out of places it isn't needed? (Choose TWO.)
Choose TWO.
ASet the credential's networking to unrestricted so substitution never fails on a new host.
BList only the mapping API's host in the credential's allowed_hosts.
CEnable substitution in both headers and bodies so either request style works.
DRotate the key every week so a leaked value expires quickly.
ESet injection_location so the secret is substituted into request headers only.
Show answerHide answer
Correct answers: B and E. allowed_hosts limits which hosts receive the secret, and injection_location limits which part of the request it goes into. A header-read key needs neither other hosts nor bodies.
A. Unrestricted substitution would hand the key to any host the agent reaches; the documentation strongly recommends limiting domains.
B. Correct. allowed_hosts controls which outbound hosts the secret is substituted for, so the other reachable hosts never receive it.
C. Request bodies are often assembled from content the agent is working with, which makes body substitution the broader exposure.
D. Rotation limits how long a leaked key is useful, but it doesn't control where the secret is sent.
E. Correct. Because the API reads the key from a header, header-only substitution is the narrower configuration the documentation recommends.
A team writes its own HTTP client for the Claude API instead of using an SDK. During a traffic spike it receives 529 overloaded_error responses, and some 500 responses carry the header x-should-retry: false. The current code retries every 5xx error immediately, with no limit. What should the client do?
ATreat 529 as a permanent failure and stop sending requests for the rest of the day.
BKeep retrying every 5xx immediately, because overload errors clear within a second.
CSwitch the request to a smaller model whenever an error is returned, then retry it once.
DFollow x-should-retry and retry-after, and otherwise retry with backoff and a retry limit.
Show answerHide answer
Correct answer: D. Without an SDK, your code should follow the x-should-retry and retry-after headers itself, using backoff and a retry limit.
A. 529 means the API is temporarily overloaded; it isn't a permanent rejection.
B. Immediate, unlimited retries add load during the spike and ignore the server's own guidance, including x-should-retry: false.
C. A model switch changes behavior and cost, and it doesn't fix the retry policy that the errors expose.
D. Correct. The errors page tells clients that don't use an SDK to follow x-should-retry and retry-after in their own code, and to use backoff and a retry limit.
A customer-support agent resolves 80% of tasks in a single trial. Product managers want to know how often a customer who contacts support three times about the same task would get a correct result every time. Which metric answers that, and what does it suggest?
Apass@3, which rises above 80% because more attempts give more chances of one success.
Bpass^3, about 51% (0.8 cubed), because every one of the three trials must succeed.
Cpass@1, which stays at 80% however many times the customer contacts support.
DThe mean score across three trials, which equals 80% and needs no further calculation.
Show answerHide answer
Correct answer: B. pass^k is the probability that all k trials succeed. At 80% per trial, three trials all succeed about 51% of the time.
A. pass@k is the chance of at least one success in k attempts, which answers a different question from consistency.
B. Correct. pass^k measures the probability that all k trials succeed, and it falls as k grows: 0.8 × 0.8 × 0.8 ≈ 51%. It's the metric for agents where consistency matters to customers.
C. pass@1 is the single-trial success rate; it says nothing about repeated contacts.
D. The mean per-trial rate doesn't tell you how often all three trials succeed.
An agent team's capability eval suite started at a 20% pass rate and, after months of work, now passes 97% of its tasks. The team plans to add harder tasks to keep measuring progress. What should happen to the tasks that now pass reliably?
ADelete them, since tasks the agent already passes no longer give useful information.
BKeep them in the capability suite so that its headline score stays high in reports.
CMove them into a regression suite that runs continuously and should stay near 100%.
DRun them only before major model upgrades, to save evaluation cost the rest of the time.
Show answerHide answer
Correct answer: C. Capability evals with high pass rates can graduate into a regression suite that runs continuously to catch backsliding.
A. Tasks the agent passes still catch regressions; deleting them removes that protection.
B. Mixing solved tasks into the capability suite hides how the agent is doing on the new, harder tasks.
C. Correct. Regression evals ask whether the agent still handles the tasks it used to, and should have a nearly 100% pass rate. High-scoring capability tasks can graduate into that suite and run continuously to catch drift.
D. Regressions can come from prompt, tool or data changes as well as model upgrades, so running the suite only at upgrades misses many of them.
A support agent counts as successful when the ticket is resolved, the conversation took fewer than 10 turns, and the tone was appropriate. Which two grader choices fit those three criteria? (Choose TWO.)
Choose TWO.
ACheck the ticket's final state in the ticketing system with code.
BAsk a model judge whether the ticket looks resolved from the transcript.
CCount the turns in the transcript, and grade tone with a model-based rubric.
DHave a person read every transcript and give one pass or fail per ticket.
EUse one model judge to give a single combined score for all three criteria.
Show answerHide answer
Correct answers: A and C. Grade the outcome with a state check, the turn limit from the transcript, and tone with a rubric: each criterion gets the grader that suits it.
A. Correct. Whether the ticket is resolved is a fact in the environment, so a code-based check of its final state is the reliable grader.
B. A transcript can claim a resolution that never happened in the ticketing system.
C. Correct. The turn count is a transcript constraint a simple check can measure, while tone is a judgment a model-based rubric handles well.
D. Human review is useful for calibrating graders, but one pass or fail per ticket mixes the three criteria and doesn't scale.
E. A single combined score hides which criterion failed and lets a strong tone mask an unresolved ticket.
An insurer's organization has a Legacy ZDR arrangement. Its architects want one claims workflow to use Claude Fable 5.2, which Anthropic designates a Covered Model, while every other workload keeps Legacy ZDR. Requests to the model currently fail with an error saying data retention must be enabled. What should the governance plan propose?
AEnable 30-day retention in a separate workspace used only by the claims workflow.
BEnable 30-day retention in the Default Workspace, so the change stays limited to one workspace.
CKeep Legacy ZDR and retry the requests with inference_geo set to the insurer's region.
DSwitch the whole organization to 30-day retention, because retention can't be set per workspace.
Show answerHide answer
Correct answer: A. Covered Models require 30-day retention. An organization with Legacy ZDR can enable it for one workspace other than the Default Workspace, and the rest keep Legacy ZDR.
A. Correct. Organizations with Legacy ZDR can make Covered Models available by enabling 30-day retention for a specific workspace only; other workspaces keep Legacy ZDR. The review must still accept that the claims data will be retained for 30 days.
B. The Default Workspace always follows the organization's setting, so the documentation says to use another workspace.
C. Inference geography controls where inference runs; it doesn't meet the retention requirement.
D. Retention can be enabled for a single workspace, so the whole organization doesn't need to give up Legacy ZDR.
A public chat assistant for a pharmacy must turn away requests for instructions on misusing medicines, and a small share of users try to jailbreak it. The team wants a check before messages reach the main conversation, without adding much latency or cost. What does Anthropic's guidance suggest?
ASend each message to the main model twice and refuse when the two answers differ.
BList every known jailbreak phrase in the system prompt so the main model recognizes them.
CLet the main model reply first, then block the reply if it names a medicine.
DPre-screen messages with a small model such as Claude Haiku that returns a simple label.
Show answerHide answer
Correct answer: D. A harmlessness screen runs each message through a lightweight model first, with structured outputs constraining its answer to a simple classification.
A. Two answers from the same model can agree on a harmful response, and the duplicate call doubles cost.
B. An ever-growing list in the system prompt is easy to evade and adds tokens to every request.
C. Checking after the main model replies spends the full cost first, and blocking on medicine names would refuse legitimate pharmacy questions.
D. Correct. Anthropic's jailbreak guidance recommends a harmlessness screen: a lightweight model such as Claude Haiku pre-screens user input, with structured outputs constraining its answer to a simple classification.
An email-triage agent reads inbound messages through a tool and can file tickets and send replies. The team already screens user prompts with a small classifier. In a red-team test, instructions hidden inside an inbound email make the agent send a reply it shouldn't. Which added control matches Anthropic's guidance for this path?
AScreen only the agent's final reply, since that is what leaves the organization.
BScreen each tool's raw output with the same small classifier before returning it to Claude.
CPaste inbound emails into the system prompt so the agent treats them as trusted policy.
DRaise the model's effort so that it reasons more carefully about hidden instructions.
Show answerHide answer
Correct answer: B. Apply the same lightweight screen to what tools return, and pass the content back as a tool_result only when the screen finds no injection.
A. By the time the final reply is checked, the agent may already have filed tickets or taken other actions based on the injected instructions.
B. Correct. The guidance is to screen tool outputs before Claude acts on them: run the raw output through a small classifier call and return it as a tool_result block only if no injection is found.
C. Promoting third-party content into the system prompt gives it the highest authority, which is the opposite of what the guidance recommends.
D. More reasoning doesn't reliably stop instructions embedded in untrusted content, and it adds cost to every request.
Stakeholder Communication and Lifecycle Management
7% of the scored exam · 1 sample questions
Question 18
A company runs the same Claude model on the Claude API for one product and on Amazon Bedrock for another. Its migration plan uses the retirement date on Anthropic's model deprecations page for both products. What should the plan's owner correct?
ANothing, because Anthropic's retirement dates apply to every platform that offers the model.
BUse the earliest date found on any third-party site for both products, to be safe.
CTake the Bedrock product's date from AWS, because Bedrock sets its own retirement schedule.
DDrop retirement from the Bedrock product's plan, because AWS keeps models available indefinitely.
Show answerHide answer
Correct answer: C. Anthropic's dates cover the platforms it operates. Partner-operated platforms such as Amazon Bedrock set their own retirement schedules.
A. The deprecations page says its dates apply to Anthropic-operated platforms, not to every platform.
B. Third-party sites aren't authoritative, and the two platforms can have different schedules anyway.
C. Correct. The dates on Anthropic's page apply to Anthropic-operated platforms. Partner-operated platforms, Amazon Bedrock and Google-managed Claude on Google Cloud, set their own retirement schedules, so the Bedrock product needs AWS's date.
D. Bedrock retires models too, on its own schedule, so the plan still needs a date for that product.
A CI job runs claude -p on pull requests from outside contributors to summarize their changes. A security review notes that a contributor could add a hook to the repository's .claude/settings.json or an MCP server to its .mcp.json. What should the job change?
ANothing, because a -p session asks for workspace trust before it runs a project's hooks.
BRun claude with --bare so the project's hooks and MCP servers aren't loaded.
CAdd a CLAUDE.md that tells Claude to ignore any hooks it finds in the repository.
DUse --output-format json so that hook output can't appear in the summary.
Show answerHide answer
Correct answer: B. Without --bare, claude -p runs a project's hooks and connects its MCP servers even in an untrusted folder, with no trust prompt. --bare skips that discovery.
A. A -p session shows no workspace trust dialog, so the project's hooks run without anyone being asked.
B. Correct. --bare skips auto-discovery of hooks, MCP servers, plugins and CLAUDE.md, which is what makes a -p run on untrusted code safe from the repository's own configuration.
C. Hooks run outside the model, so instructions in CLAUDE.md can't stop them, and bare mode doesn't read CLAUDE.md anyway.
D. The output format changes how results are printed, not whether the repository's hooks and servers run.
An engineering organization is rolling out the Claude Code GitHub Action to 40 repositories with one organization-level secret. The engineer setting it up proposes running claude setup-token with their own subscription and sharing that token. What should the rollout use instead?
AA separate subscription token for each repository, created by that repository's maintainer.
BThe engineer's token, rotated every month to limit how long it stays valid.
CNo secret at all, because the GitHub app authenticates Claude Code by itself.
DAn API key from the Claude Console, stored as the shared ANTHROPIC_API_KEY secret.
Show answerHide answer
Correct answer: D. For a secret shared across repositories, use a Claude Console API key: an OAuth token is tied to the subscription of the person who created it.
A. Per-repository personal tokens tie each workflow to an individual's subscription, which is the problem the shared secret should avoid.
B. Rotation doesn't change the fact that the token belongs to one person's subscription.
C. Workflows need an ANTHROPIC_API_KEY or CLAUDE_CODE_OAUTH_TOKEN secret passed to the action.
D. Correct. The GitHub Actions docs say that for a secret shared across repositories you should authenticate with an API key from the Claude Console rather than an OAuth token, because the token is tied to the subscription of whoever ran claude setup-token.
Written by UpHopp for this page, from the public CCAR-P exam guide (official guide). These aren’t questions from the real exam, and they aren’t in UpHopp’s practice question bank. Updated November 2026.
Keep going
Practise Claude CCAR-P with instant feedback
Answer 15 more questions free, with every option explained. Full 70-question mocks run on a 120-minute timer.