MockCertMockCert
Menu

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.

Start a free mock exam
Domain 5 · 6 topics · about 33 minTopics in this domainTopics

Domain 5 · Overview

Overview

Up next: Guardrail Placement · 9 steps + check · 5 min

Domain 5 · Topic 1 of 6

Guardrail Placement

Step 1 of 9

Think first Given a described misuse path, where would you place a guardrail so it closes the path without breaking legitimate use?

Why it matters: Questions describe a misuse path and a legitimate use case and ask which control, placed where, closes the path.

Each misuse path enters at a specific point: user input, third-party content, or Claude's output. Put the control at that entry point. Multiple risk levels then let you adjust how aggressive that control is.

Step 2 of 9

Term Meaning
Indirect prompt injection Hostile instructions hidden in third-party content Claude processes, while the user is trusted.
Harmlessness screen A lightweight model that checks user input before it reaches the main conversation.
Least privilege Withholding unneeded secrets, sandboxing tools and scoping permissions to limit injection damage.
Refusal A response whose stop_reason is refusal, delivered as a successful HTTP 200.

Step 3 of 9

Place each guardrail where the misuse path enters. Different paths need different controls at different points.

Guardrails by where the misuse enters

Entry point Control Effect
User input Lightweight model pre-screens the input Harmful requests stop before the main conversation
Tool outputs Small classifier checks each raw output Only clean output returns as a tool_result
Third-party content Deliver it only inside tool_result blocks Never mixed with system or user instructions
Claude's output Filter for leak keywords with regex Reduces prompt leaks after generation

Step 4 of 9

In indirect injection, the attack rides in on content. Webpages, emails, documents and tool results can all carry it. JSON-encode untrusted strings to give clear delimiters that an attacker cannot break out of. If a screen flags injection_suspected, return an error or a stripped summary, not the raw content.

Exam trap Pasting third-party content into the system prompt or a plain user block is the wrong place. It belongs inside a tool_result block.

Step 5 of 9

Never put developer instructions inside tool results. Claude may ignore them or flag them as injection. Put them in a user turn after the tool_result block. Least privilege then limits the damage if an injection still succeeds.

Step 6 of 9

Multiple risk levels let you adjust how aggressive moderation is. High-risk queries can be blocked automatically. Users who send many medium-risk queries get flagged for human review. For repeat offenders, adjust responses and consider throttling or banning them.

Exam trap Binary moderation is not the gentlest option. It cannot flag a pattern of medium-risk queries for review while still serving normal ones.

Step 7 of 9

A refusal arrives as a success, not an error. Monitoring built only on error rates will miss it. Treat a refusal from a screening classifier as a harmful verdict. Then reset the context by removing or rephrasing the turn, or refusals continue.

Exam trap Retrying the same conversation after a refusal will not help. The triggering turn must be removed, rephrased or the history cleared.

Step 8 of 9

Use leak-resistant prompting only when absolutely necessary. Leak-proofing makes the overall task more complex, which might degrade performance in other parts of the task. Post-processing is a separate technique: filter Claude's outputs for keywords that might indicate a leak.

Step 9 of 9

  • Deliver third-party content inside tool_result blocks, never in system or user text.
  • Screen user input with a lightweight model before the main conversation sees it.
  • Use multiple risk levels to block high risk and route medium risk to people.
  • Refusals return HTTP 200, so error-rate monitoring alone will not catch them.

Sources: Mitigate jailbreaks and prompt injections - Claude Platform Docs (opens in a new tab) · Reduce prompt leak - Claude Platform Docs (opens in a new tab) · Content moderation - Claude Platform Docs (opens in a new tab) · Handle streaming refusals - Claude Platform Docs (opens in a new tab)

Check

Check: Guardrail Placement

Cards to recall, then questions on this topic. About 2 minutes. Nothing is saved without an account.

Loading the cards and questions…

Up next: Prompt Injection Surface and Controls · 9 steps + check · 6 min

Domain 5 · Topic 2 of 6

Prompt Injection Surface and Controls

Step 1 of 9

Think first Where can untrusted text enter Claude's context in your architecture, and what stops it from acting as an instruction?

Why it matters: Questions describe an agent's context inputs and ask where injection can enter and which control blocks it.

Anything that lands in the model's context can carry instructions, not just the user's prompt. Retrieved documents, tool results, MCP responses and third-party Skills all widen that surface. Controls limit what each input can reach and pin what was reviewed.

Step 2 of 9

Term Meaning
Injection surface Every input in the model's context, such as tool results or Skills, that could carry hostile instructions.
Version pinning Naming an exact Skill version so a new upload cannot silently change production behavior.
Tool denylist Blocking write or destructive MCP tools so an assistant stays read-only.
Separation of duties A governance rule that a Skill's author must not also be its reviewer.

Step 3 of 9

Four input types can carry injected instructions. Retrieved documents, tool results, MCP server responses and third-party Skills can all sit in the model's context. For each one, specify the controls that stop untrusted content from being treated as instruction.

Step 4 of 9

Give each MCP server only the tools and data it needs. Denylist write or destructive tools for a read-only assistant, or when a person should confirm state changes. You can also pin a server's tool list. Then a mid-conversation change on the server does not change what Claude receives.

Exam trap Trusting an MCP server once at setup is not enough. Without a pinned tool list, the server can change the tools Claude sees partway through a conversation.

Step 5 of 9

Some Skill contents are high-concern on sight. Review each Skill for these signs before it is deployed.

Skill risk indicators and why they matter

Indicator Why it is risky Concern
Directives to ignore safety rules or hide actions Can bypass security controls High
Bundled scripts in the Skill folder They run with full environment access High
Instructions that reference MCP tools Extends access beyond the Skill High
File-read and network tools together Reviewers must consider their combined risk Weigh together

Step 6 of 9

A Skill can leak data through Claude's replies. Blocking network tools does not close every path out. Reviewers should look for instructions that send data out through responses, or that change behavior on specific inputs.

Exam trap Removing network access does not make a hostile Skill harmless. Data can still leave in Claude's conversational answers.

Step 7 of 9

Scanning blocks a Skill that fails or has not finished its scan. One that passes with a warning stays usable, shown with a caution notice. The gap: Skills uploaded through the Skills API are not scanned at all. So API deployments depend on the review checklist and pinned versions instead.

Step 8 of 9

An unpinned request always runs the latest Skill version. Anyone in the workspace who uploads a new version changes production at once. Pin versions, take checksums when Skills are reviewed, and check them again when deploying. Signed commits prove provenance, and authors never review their own Skills.

Exam trap Reviewing a Skill once does not protect production if requests omit the version. The next upload replaces what you reviewed.

Step 9 of 9

  • Documents, tool results, MCP responses and Skills all belong to the injection surface.
  • Expose only needed MCP tools and denylist destructive ones for read-only use.
  • Bundled Skill scripts are high concern because they run with full environment access.
  • Pin Skill versions; Skills API uploads are not scanned.

Sources: Claude Certification Program Exam guide Claude Certified Architect – Professional Exam Guide (opens in a new tab) · MCP tunnels security - Claude Platform Docs (opens in a new tab) · Skills for enterprise - Claude Platform Docs (opens in a new tab) · MCP connector - Claude Platform Docs (opens in a new tab)

Check

Check: Prompt Injection Surface and Controls

Cards to recall, then questions on this topic. About 2 minutes. Nothing is saved without an account.

Loading the cards and questions…

Up next: Risk Assessment and Ranking · 9 steps + check · 5 min

Domain 5 · Topic 3 of 6

Risk Assessment and Ranking

Step 1 of 9

Think first Given a proposed agent deployment, which risks matter most, and how do you rank attack surface, failure, quota and supply-chain exposure?

Why it matters: Questions describe an agent deployment and ask which risk category is most exposed and which control reduces it.

Assume a prompt injection can succeed, because model behavior is not a security control. Deployment settings must limit what a successful attempt can do. No single limit replaces the others.

Step 2 of 9

Term Meaning
Prompt injection Hidden instructions in content an agent reads that steer what the agent does.
Untrusted input A repository, package or archive that someone outside your team can write.
Session budget A Managed Agents spend cap at list prices that pauses the session when reached.
Domain fronting A trick that reaches a blocked host through an allowed hostname when TLS is not inspected.

Step 3 of 9

Never give the agent a Claude API key. Even from a vault, sandbox code could call the Claude API directly, start or delete sessions, and bypass the agent's tool settings, approvals and budget. Mitigate other credentials with vaults, limited networking and approvals.

Exam trap Putting a Claude API key in a vault does not make it safe to give the agent. Sandbox code can still use it directly.

Step 4 of 9

Set networking explicitly in every environment. A create request that omits networking might get unrestricted access. The sandbox proxy does not inspect TLS by default, so domain fronting could reach hosts outside the allowlist.

Exam trap Limiting allowed hosts does not stop credential misuse. The agent can still use a credential on any host you allowed.

Step 5 of 9

Content outsiders can write is untrusted input. Treat external repositories, packages and archives as untrusted. allow_package_managers opens every repository on the github.com, gitlab.com and bitbucket.org hosts. Anyone can publish there, so keep it false unless packages are listed.

Step 6 of 9

Choose isolation strength to match the threat model. Sandboxed processes share the host kernel, so a kernel flaw could allow escape. Use gVisor or a VM when kernel-level isolation is required.

Isolation technologies compared

Technology Isolation strength Performance overhead
Sandbox runtime Good, with secure defaults Very low
Docker containers Depends on setup Low
gVisor Excellent, if set up correctly Medium to high
VMs such as Firecracker Excellent, if set up correctly High

Step 7 of 9

A session budget pauses spend but can be exceeded. At the cap, the session pauses, yet in-flight requests finish and their tool calls run, so spend can pass it. In containers, --memory 2g prevents resource exhaustion and --pids-limit 600 stops fork bombs.

Exam trap A session budget is not a hard stop. Requests already running complete, so total spend can go over the cap.

Step 8 of 9

Platform settings leave some components unprotected. Deployment settings do not secure custom tools, MCP servers or self-hosted infrastructure, nor limit key permissions. Limit permissions where each key was issued. Webhooks can be missed, so list sessions on a schedule and check idle ones.

Step 9 of 9

  • Model resilience to prompt injection is not a security control; settings must limit the damage.
  • Never give an agent a Claude API key, even in a vault.
  • Set networking in every environment create request to avoid unrestricted access.
  • Treat anything outsiders can write, such as packages and repositories, as untrusted input.
  • Session budgets can be exceeded by in-flight requests and their tool calls.

Sources: Security risks and sandbox boundaries - Claude Platform Docs (opens in a new tab) · Secure your Managed Agents deployment - Claude Platform Docs (opens in a new tab) · Securely deploying AI agents - Claude Code Docs (opens in a new tab) · Review and monitor agent sessions - Claude Platform Docs (opens in a new tab)

Check

Check: Risk Assessment and Ranking

Cards to recall, then questions on this topic. About 2 minutes. Nothing is saved without an account.

Loading the cards and questions…

Up next: Human-in-the-Loop Checkpoints · 10 steps + check · 6 min

Domain 5 · Topic 4 of 6

Human-in-the-Loop Checkpoints

Step 1 of 10

Think first In an agentic workflow, which steps truly need a human to approve them, and how do you gate those without slowing everything else?

Why it matters: Questions describe a workflow with risky steps and ask where the human approval gate belongs and how to enforce it.

Reversibility and stakes decide where a gate sits. Put a deterministic pre-execution gate only on irreversible, high-stakes actions, and let safe steps run freely so the workflow does not stall.

Step 2 of 10

Term Meaning
Pre-execution approval A human approves an action before it runs; unlike review after execution, it can stop an irreversible step.
Deterministic gate A gate on an irreversible step that does not rest on the model's own judgment.
canUseTool The Agent SDK callback asked to decide tool calls that need approval and no rule covers.
PreToolUse hook A hook that runs before a tool call and can reject it so it never executes.

Step 3 of 10

Gate the irreversible, high-stakes action before it runs. A billing change has an immediate financial effect the agent cannot undo, so it needs pre-execution approval. Reviewing after execution cannot prevent an irreversible charge.

Exam trap Post-execution review sounds safe but is wrong for irreversible steps. By the time a human looks, the charge has already happened.

Step 4 of 10

After-the-fact review and plan gating both fall short. Compare the common designs on whether they stop the harmful action and whether they slow safe requests.

Human-in-the-loop designs compared

Design Stops irreversible harm? Main drawback
Review actions after execution No The charge has already happened
Approve the whole plan up front Not reliably Delays every request; execution may diverge
Model's own confidence threshold Not reliably Not deterministic, so not a reliable control

Exam trap Gating the whole plan is not the safest choice. It delays every request, and the run may still diverge from the plan a human approved.

Step 5 of 10

Never leave an irreversible step to the model's judgment. A self-reported confidence threshold is not a reliable control. Claude resists prompt injection well, but model behavior is not a security control, so settings must limit harm if an attack works.

Step 6 of 10

Rules and modes decide which calls run, ask or are denied. allowedTools auto-approves listed tools, and disallowedTools blocks listed tools regardless of other settings. A rule such as Bash(npm *) approves only matching commands, so the rest still reach the gate.

Step 7 of 10

Unapproved calls go to canUseTool, or are denied. In default mode, a call needing approval that no allow rule covers triggers canUseTool; with no callback it is denied. dontAsk never prompts and denies such calls, which suits headless agents.

Step 8 of 10

A PreToolUse hook can reject a call before it executes. The hook short-circuits the loop. The tool never runs, and Claude receives the rejection message instead.

Step 9 of 10

Confirmation handling can silently remove the gate. A client branch that allows every call needing confirmation turns always_ask into always allow. A confirmation that arrives too late returns 200, which does not mean the tool ran. No approval step precedes a run, so ask the agent to describe it and wait.

Exam trap A 200 reply to a tool confirmation does not prove the tool ran. A late confirmation also returns 200.

Step 10 of 10

  • Reversibility and stakes decide where a human gate must sit.
  • Post-execution review cannot prevent an irreversible action.
  • Gates on irreversible steps must be deterministic, never a model confidence score.
  • Leave side-effect-free, reversible and deterministically constrained steps ungated.
  • Allowing every confirmation in client code turns always_ask into always allow.

Sources: Claude Certification Program Exam guide Claude Certified Architect – Professional Exam Guide (opens in a new tab) · How the agent loop works - Claude Code Docs (opens in a new tab) · Security risks and sandbox boundaries - Claude Platform Docs (opens in a new tab) · Workflow runs - Claude Platform Docs (opens in a new tab)

Check

Check: Human-in-the-Loop Checkpoints

Cards to recall, then questions on this topic. About 2 minutes. Nothing is saved without an account.

Loading the cards and questions…

Up next: Architectural Controls for Compliance Obligations · 8 steps + check · 5 min

Domain 5 · Topic 5 of 6

Architectural Controls for Compliance Obligations

Step 1 of 8

Think first Given a compliance obligation, which mix of residency, retention and audit controls actually provides evidence that you meet it?

Why it matters: Questions state a compliance obligation and ask which residency, retention or audit controls evidence it.

Each obligation maps to a control with its own scope and gaps. Geo settings decide where data is processed and stored, while retention arrangements cover eligible features only. Audit tools differ in how far back they reach and whether they act in real time.

Step 2 of 8

Term Meaning
Inference geo Where inference runs: global by default, or us for US-based infrastructure only.
Workspace geo Where data rests and endpoint processing runs; fixed when the workspace is created.
Zero data retention A ZDR arrangement, enabled per organization, that covers eligible features only.
HIPAA readiness A configuration for protected health information that blocks ineligible features.

Step 3 of 8

Inference geo and workspace geo are set independently. Inference geo defaults to global, which may run anywhere; us keeps inference on US infrastructure. Workspace geo covers data at rest and processing such as code execution. It is fixed at creation and cannot change later.

Exam trap Setting inference geo to us does not move stored data or code execution. Workspace geo controls those, and it cannot be changed after creation.

Step 4 of 8

A request outside the allowed geos is rejected. If a request names an inference_geo missing from allowed_inference_geos, the API returns a 400 error. That turns a residency policy into an enforced rule, not just a convention.

Step 5 of 8

Pick the arrangement that matches the data you hold. They handle ineligible features in opposite ways.

Zero data retention and HIPAA readiness compared

Feature Zero data retention HIPAA readiness
Organization holds PHI Not needed on top of HIPAA readiness The arrangement to use
Ineligible feature used Not blocked; that data leaves ZDR Blocked with a 400 error
Scope Per organization; not inherited Not on Claude Platform on AWS

Exam trap An organization handling health data does not need ZDR on top of HIPAA readiness. HIPAA readiness is the right control on its own.

Step 6 of 8

Some data stays retained even under ZDR. Managed Agents keeps session transcripts until you delete them, so ZDR does not cover it. A Claude Code session flagged for a policy violation may be kept up to 2 years. Never put PHI in JSON schemas, which lack PHI protections.

Step 7 of 8

Choose the audit tool by when it must act. Each tool gives different evidence for an auditor.

Audit and governance tools compared

Tool When it acts What it offers
Inference hooks Inline, before the prompt runs Your security server can deny each prompt
Compliance API After the fact Activity Feed kept 6 years
claude.ai audit log export After the fact CSV only, capped lookback, no content

Step 8 of 8

  • Inference geo us limits where inference runs; workspace geo governs stored data.
  • HIPAA readiness blocks ineligible features, while ZDR lets them run outside the arrangement.
  • ZDR is set per organization and does not cover Managed Agents transcripts.
  • Use inference hooks to block prompts in real time; the Compliance API reviews later.

Sources: Data residency - Claude Platform Docs (opens in a new tab) · API and data retention - Claude Platform Docs (opens in a new tab) · Compliance API - Claude Platform Docs (opens in a new tab) · Zero data retention - Claude Code Docs (opens in a new tab)

Check

Check: Architectural Controls for Compliance Obligations

Cards to recall, then questions on this topic. About 2 minutes. Nothing is saved without an account.

Loading the cards and questions…

Up next: Bias Source Identification and Mitigation · 8 steps + check · 5 min

Domain 5 · Topic 6 of 6

Bias Source Identification and Mitigation

Step 1 of 8

Think first When results differ across groups, how do you tell whether the bias comes from the data, the prompt or the evaluation itself?

Why it matters: Questions show disparate results across groups and ask where the bias comes from and which mitigation fits that source.

Disparate results are a symptom, not a diagnosis. The bias can sit in the data, in how the prompt frames the task, or in how the evaluation is designed. Find the source first, because each one needs a different fix.

Step 2 of 8

Term Meaning
Data bias Bias that comes from the dataset itself, one of three sources to tell apart.
Prompt-framing bias Bias that comes from how the prompt frames the task rather than from the data.
Evaluation-design bias Bias built into how results are judged, such as an LLM judge that disagrees with human review.
LLM-as-judge An evaluation design whose results can clash with human review because of biases such as position or verbosity.

Step 3 of 8

Weigh the evidence before you choose a mitigation. When outputs or a dataset show different results across groups, ask where the bias comes from. It may be data bias, prompt-framing bias or evaluation-design bias. The mitigation must match that source.

Exam trap Prompt engineering is not the answer to every failing eval. Some problems are solved more easily another way, such as choosing a different model.

Step 4 of 8

Judge results that clash with human review point to the evaluation. In an LLM-as-judge or rubric-based evaluation, look for four named biases: position, verbosity, self-preference and judge drift. Then pick the correction that targets the one responsible.

Step 5 of 8

How you write the prompt shapes how Claude answers. A prompt's formatting style can influence the style of the response. Explaining why an instruction matters gives Claude more context about your goals, which leads to more targeted answers.

Step 6 of 8

Few-shot examples must be diverse and relevant. Cover edge cases and vary the examples, so Claude does not learn a pattern you never meant. Keep them close to your actual use case.

Exam trap A set of near-identical examples is not neutral. Without variety and edge cases, Claude can pick up unintended patterns from them.

Step 7 of 8

Define success criteria and empirical tests first. Set both up before any prompt engineering begins. A technique measured on one model is not proven for another, so re-check it against your own evals first.

Step 8 of 8

  • Separate data bias from prompt-framing and evaluation-design bias before choosing a fix.
  • When a judge disagrees with human review, check position, verbosity, self-preference and judge drift.
  • Keep few-shot examples diverse and close to the real use case.
  • Re-check any model-specific technique against your own evals.

Sources: Claude Certification Program Exam guide Claude Certified Architect – Professional Exam Guide (opens in a new tab) · Prompting best practices - Claude Platform Docs (opens in a new tab) · Prompt engineering overview - Claude Platform Docs (opens in a new tab)

Check

Check: Bias Source Identification and Mitigation

Cards to recall, then questions on this topic. About 2 minutes. Nothing is saved without an account.

Loading the cards and questions…

Domain 5 · after the last topic

Domain 5 review

Each topic's Check tested it on its own; this mixes them.

Mixed quiz

Take the Domain 5 quiz

11 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.

Flashcards

Domain 5 flashcards

12 cards with this domain's key facts. Flip each one and check what you knew. No account needed.

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.

Start a free mock exam
Next domain · 7% of the examStakeholder Communication and Lifecycle Management3 topics

Report a problem

On “”. Tell us what looks wrong; we read every report.

What is the problem?

Optional.