Anthropic certification · Exam CCAR-P

CCAR-P Mock Exam Page 2

Claude Certified Architect - Professional

Free CCAR-P mock exam questions 11–20, each with the answer and an explanation.

20 questions · 39 minutes · free, no sign-up

Free CCAR-P questions

11–20 of 36 free
Question 11 Choose 1
You are responding to an adversarial input pattern in which users include text claiming admin authority and instructing the model to bypass safety restrictions. Which combination of controls most effectively mitigates this attack pattern?
Show answerHide answer

Correct answer: B Prompt-level instructions that treat user content as untrusted data, runtime classifiers that detect override attempts, scoped tool permissions that cannot be elevated by user content, and audit logging of attempts.

Explanation

Explanation:

The attack pattern described in the question is: users claim to have admin privileges within the input text and instruct the model to bypass security restrictions. This is a typical direct prompt injection/jailbreak attack, where the attacker is the user themselves, attempting to manipulate the application through crafted input to produce content or take actions that should not occur .

Option B's combination of four controls precisely targets this threat model from multiple layers. Prompt-level instructions treat user content as untrusted data, establishing a clear boundary between "data" and "instructions" at the system prompt layer, preventing user text from being mistaken for authoritative commands . Runtime classifiers detect override attempts, Anthropic officially recommends using lightweight models (such as Claude Haiku) to screen user input before it reaches the primary conversation, with structured output limiting responses to simple classifications ; Anthropic's Constitutional Classifiers are also deployed in production to block jailbreak attempts . Scoped tool permissions ensure that even if the model is manipulated, the operations it can perform are strictly limited, and user input cannot elevate privileges—the core principle of agent containment best practices is "limit what the model can do" . Audit logging records all attempts, providing evidence for post-incident analysis and repeated offender handling; Anthropic recommends throttling or blocking users who repeatedly trigger refusals , and NCSC guidance also emphasizes that monitoring and logging user activity is fundamental to identifying and preventing attacks .

Why the other options are incorrect:

- A completely abandons all defenses, trusting that the model will "naturally" recognize and reject all bypass attempts. Although Claude has some resistance to such attacks, Anthropic's official documentation clearly states that additional measures are needed to strengthen protection, especially against usage that violates terms of service . Relying solely on the model's intrinsic resistance lacks defense in depth.

- C removing all security restrictions to "eliminate the attack surface" is logically absurd—it directly makes the assistant unrestricted for all inputs, precisely fulfilling the attacker's goal.

- D granting any privilege level claimed by users is equivalent to handing over access control to the attacker. Self-declared authority in user input is never trustworthy; access control must be independently verified outside the model.

References:

- Claude Platform documentation: best practices for mitigating jailbreaks and prompt injection, including input screening, prompt engineering, repeated offender handling, and audit logging .

Question 12 Choose 2
A loan pre-qualification assistant shows 94 percent approval recommendations that match the human underwriter decision. The fairness team has reviewed approval rate parity across protected groups and reported no significant difference. A board member has asked whether this evidence is sufficient to declare the assistant fair.
Which two Discernment-competency findings should you report? (Select two.)
Each correct answer presents part of the solution.
Show answerHide answer

Correct answer: A, B Approval rate parity does not by itself assess error rate parity across protected groups. Match with human underwriters does not establish freedom from underwriter-introduced bias.

Explanation

Explanation:

The core of this question is that the fairness team's review only covered approval rate parity (demographic parity), but a board member is asking whether this evidence is sufficient to declare the assistant fair. Discernment competency requires critically evaluating whether evaluation evidence truly supports the conclusion drawn.

Option A (Approval rate parity does not by itself assess error rate parity across protected groups) directly identifies the core gap. Approval rate parity only measures whether the proportion of positive decisions is equal across groups, but it does not measure equal opportunity (whether qualified applicants have equal true positive rates across groups) or equalized odds (whether error rates are balanced). Research in machine learning systems explicitly demonstrates that these fairness criteria are mathematically incompatible and can disagree in the same confusion matrix—a model can achieve demographic parity while having a 30-percentage-point true positive rate disparity . Therefore, "no significant difference in approval rates" cannot rule out the possibility that qualified applicants in protected groups are disproportionately rejected.

Option B (Match with human underwriters does not establish freedom from underwriter-introduced bias) directly challenges the validity of the 94% match rate. If the human underwriter decisions themselves contain bias, then the model replicating those decisions at a high rate simply perpetuates that bias. The Massachusetts Attorney General's investigation found that underwriters "frequently bypassed the models without clear standards or documentation, and often favored applicants based on assumptions"—human overrides themselves can become a source of bias . ASU field experiments also confirm that human review does not necessarily improve fairness; only when human overrides are based on clear logic rather than subjective intuition can decision quality improve . Therefore, matching human decisions does not equal fairness.

Why the other options are incorrect:

- C declares that a 94% match rate is sufficient evidence of fairness, which is precisely the erroneous conclusion this question is testing—Discernment requires identifying the limitations of evidence, not equating a single metric with a conclusion.

- D speculates that the fairness team "likely missed some protected groups," but the question does not provide any evidence about the review process; this is speculation about an unknown fact and does not constitute a substantive finding.

- E claims that a larger sample is needed before any meaningful fairness claim can be made, but this is a statistical power issue, not the core Discernment finding—the problem is that the types of metrics are insufficient, not that the sample size is too small.

References:

- CCAR-P Domain 5: handling AI ethics issues (bias, fairness, transparency) .

- Fairness metric incompatibility: demographic parity, equal opportunity, and equalized odds can disagree in the same model .

Question 13 Choose 2
The compliance team at a firm has approved a Claude Skill that generates client-facing investment summaries. The Skill includes the firm’s required disclaimers and prohibited-language list. A product manager has asked whether additional guardrails are needed at the application layer or whether the Skill alone is sufficient. Which two guardrail responsibilities should remain at the application layer rather than the Skill? (Select two.) Each correct answer presents part of the solution.
Show answerHide answer

Correct answer: A, B Log every generated summary to the firm’s compliance audit trail for retention. Verify the requesting user is authorized to generate investment summaries at all.

Explanation

Explanation:

The core of this question is which guardrail responsibilities must reside at the application layer rather than being delegated to the Skill. The Skill (containing disclaimer templates and prohibited-language lists) is essentially a bundle of instructions and content that can be loaded and invoked by the model. Its power comes from the tools and permissions granted by the surrounding environment, not from the instructions themselves . Therefore, responsibilities involving identity authentication, permission checks, and persistent audit records must be implemented in application code and cannot be reliably guaranteed by the Skill.

Option A (logging every generated summary to the firm's compliance audit trail) must remain at the application layer. Audit logs are a governance requirement, not a debugging convenience . The CCAR-P blueprint explicitly lists "audit logging" as a core competency under Domain 4 (Governance, Safety & Risk Management) . The Skill itself cannot guarantee that every invocation produces a persistent record—Anthropic's official documentation also states that usage analytics for Skills are not currently available through the Skills API, and that application-level logging must be implemented to track which Skills are included in requests .

Option B (verifying the requesting user is authorized to generate investment summaries) must remain at the application layer. Authorization checks must be enforced in deterministic code at tool boundaries, not in prompts . The Skill is model-invoked; it cannot reliably verify the identity and permissions of the calling user. Security best practices explicitly require that "authorization checks against the calling user be performed in code at tool boundaries" and that role-based access control be implemented at the application layer . Delegating authorization decisions to the Skill is equivalent to letting the model decide who has permission to perform what operations—this is an architectural anti-pattern.

Why the other options are incorrect:

C (formatting output according to the firm's house style guidelines), D (applying the standard disclaimer template), and E (applying the prohibited-language list) are all content-layer responsibilities that can be properly handled by the Skill. The Skill is precisely designed to encapsulate reusable specialized instructions and content , and these three items are static content or formatting rules that can be reliably applied by the Skill. The compliance team has already approved the Skill containing disclaimers and prohibited-language lists, indicating that this content is suitable for management within the Skill.

References:

- Anthropic official documentation: Skills API does not provide usage analytics; application-level logging must be implemented .

Question 14 Choose 1
You are configuring tool permissions for a Claude-based assistant. The assistant’s defined responsibilities require read access to a knowledge base and write access to a draft queue, and nothing else. Which scoping design best applies least privilege?
Show answerHide answer

Correct answer: B Per-role allow-list of exactly the read-knowledge-base and write-draft-queue tools, enforced at the orchestration layer.

Explanation

Explanation:

The core of the principle of least privilege is: grant only the minimum permissions necessary to complete defined tasks, and enforce restrictions at the enforcement layer rather than relying on the model's self-restraint. This assistant's defined responsibilities are clear: read the knowledge base and write to the draft queue, nothing else.

Option B (a per-role allowlist containing exactly these two tools, enforced at the orchestration layer) precisely satisfies this requirement. Industry guidance explicitly states that agent tool access should follow a "default deny, allowlist only what each agent needs" approach, treating tool restrictions as security boundaries rather than mere capability descriptions . Microsoft's guidance for AI agent least privilege also emphasizes: "Allowlist only retrieval tools and actions; block unvetted tools, plugins, and integrations by default" . Enforcing at the orchestration layer is critical—authorization checks must be completed in deterministic code, and cannot rely on the model's judgment . Research shows that when an agent's role allowlist is properly configured, "the LLM never sees unauthorized tools to call," which is a correctness guarantee by construction .

Why the other options are incorrect:

A (global read permission plus write-only limit to draft queue) grants read access to all tools, far exceeding the defined scope of "read knowledge base"—violating least privilege.

C (allow all tools, rely on the model to decline) is the typical "flexibility" anti-pattern; industry practice explicitly warns that this is "the fastest path to unsafe autonomy" . The model may be induced by prompt injection to invoke tools it should not use.

D (disable all tools) overcorrects; the assistant can no longer perform its designed tasks, rendering least privilege meaningless—the goal of least privilege is to enable secure task completion, not to paralyze functionality.

References:

- Microsoft Learn: AI agent least privilege guidance, default blocking of unvetted tools, authorization checks at downstream systems .

Question 15
You are auditing a procurement-assistant agent whose defined responsibility is to draft purchase requests for review. For each tool currently configured on the agent, select yes if the tool should remain after a least-privilege audit. Otherwise, select no if it should be removed
Show answerHide answer

Explanation



Explanation:

The agent's defined responsibility is strictly to draft purchase requests for review, so every retained tool must be necessary for this task and limited to the minimum action level required.

- Yes for the read-only catalog lookup and read-only policy-document tools: the agent needs vendor/SKU data and procurement rules to prepare an accurate, compliant draft .

- Yes for the draft-write tool: it writes only into the review queue, preserving the required human approval boundary .

- No for the inbox-send tool: sending directly to vendors converts a drafting assistant into an externally acting purchasing agent and bypasses review .

- No for the production-database admin tool: it is unrelated to procurement and introduces unnecessary destructive capability and privilege-escalation exposure .

Why the other options are not correct:

The inbox-send tool exceeds the stated responsibility because it performs execution rather than drafting. The production-database admin tool violates least privilege because it is unrelated to the defined task and carries destructive capability. Anthropic's prompt-injection guidance likewise recommends limiting sensitive actions and applying least privilege so that a compromised agent can cause minimal damage .

References:

- CCAR-P Domain 4: human-in-the-loop design for high-stakes actions and least-privilege tool scoping .

Question 16 Choose 1
You are selecting a pattern for a compliance Q & A assistant that must answer policy questions with citations to the authoritative internal source set. Latency, cost, and audit predictability are prioritized. Which pattern is the best fit?
Show answerHide answer

Correct answer: A Augmented LLM with retrieval-augmented generation over the indexed authoritative corpus and citation rendering on each answer.

Explanation

Explanation:

The deployment priorities are explicitly stated: latency, cost, and audit predictability. This makes a structured, bounded RAG pattern the clear winner over agentic or brute-force alternatives.

Option A directly satisfies all three constraints. A single-pass retrieval-augmented generation over an indexed authoritative corpus provides predictable latency because the number of model calls is fixed (one retrieval step plus one generation step), unlike agent loops that may iterate unpredictably. Cost is controlled because only relevant chunks are retrieved rather than passing an entire corpus. Audit predictability is achieved through citation rendering: every claim is traceable to a specific retrieved chunk, which aligns with Anthropic's guidance to use direct quotes and verify with citations for grounded answers . R³ architecture principles further emphasize that citations should be mandatory for RAG-grounded answers, with structured provenance emitted to context and UI .

Why the other options are incorrect:

- B (Multi-agent orchestration with planner, researcher, and writer for every query) introduces multiple model calls and coordination overhead, increasing both latency and cost. It is over-engineered for a Q&A task where retrieval and generation suffice.

- C (Pure agent loop with open web-browsing, unconstrained retrieval) fails the audit requirement because open web sources are not authoritative and cannot provide reliable citations to internal policy. It also has unpredictable latency and cost due to variable iteration counts.

- D (Static prompt with entire corpus concatenated) makes cost and latency explode with corpus size, and risks the "lost-in-the-middle" effect where important content buried in a massive context receives less model attention .

References:

- Anthropic reduce hallucinations guidance: direct quotes and citation verification ground answers and make them auditable .

Question 17 Choose 1
You are comparing patterns for a batch document-classification job that follows fixed steps: extract metadata, classify, summarize, and persist. Which pattern is the best fit and why?
Show answerHide answer

Correct answer: D A workflow pattern, because the steps are well-defined and predictable per-request token cost is preferred over flexibility.

Explanation

Explanation:

The core distinction between a workflow and an agentic pattern lies in who controls the flow of execution. A workflow is a system where LLM calls and tool executions are orchestrated through predefined code paths; the developer decides the steps, and the model fills in the intelligence at each node . An agentic pattern, by contrast, is a system where the model itself dynamically directs its own process and tool usage, deciding the next step based on environmental feedback in a loop .

In this scenario, the batch job follows fixed, predictable steps: extract metadata → classify → summarize → persist. The solution path is fully knowable at design time, and the steps are stable across inputs. Anthropic's official guidance is explicit: "find the simplest solution possible, and only increase complexity when needed" . When the steps can be enumerated in advance, a deterministic workflow wins—it provides predictable per-request token cost, bounded latency, and observable execution traces, because each LLM call is a bounded unit within a code-controlled pipeline . Agentic loops, by contrast, add variable token spend and compounding error risk when flexibility is not required .

Why the other options are incorrect:

- A is factually wrong. Agentic patterns absolutely support tool invocations—in fact, tool use is the defining mechanism of an agent loop . The persist step is no obstacle to an agentic pattern.

- B is incorrect because agents do not produce more consistent structured outputs than workflows. Agents trade predictability for flexibility; for a classification task with defined steps, a workflow's fixed pipeline yields more consistent outputs at lower cost.

- C is a category error. Agents are not "categorically more accurate." Anthropic explicitly warns that agents carry "higher costs and the potential for compounding errors," and recommends workflows when the steps are predictable .

References:

- Anthropic Building Effective Agents: workflows are for tasks with predefined code paths; agents are for open-ended problems where steps cannot be predicted .

Question 18 Choose 2
A managed agent deployment for claims triage has grown from 6 tools to 34 tools over 18 months as product teams added capabilities. Triage accuracy has declined from 91 percent to 78 percent, and average toolselection latency has increased by 2.3 seconds. A junior engineer has proposed adding a tool-router agent in front of the current agent to filter the tool list per request. Which two findings should you present to justify capability decomposition before adding the router? (Select two.) Each correct answer presents part of the solution.
Show answerHide answer

Correct answer: B, C Several tools have not been invoked across the most recent 90 days of traffic. The 34 tools serve four distinct claim-workflow domains within the triage scope.

Explanation

Explanation:

To justify capability decomposition before adding a router, the findings must demonstrate that the existing 34-tool agent has accumulated tools that do not belong to a single coherent triage scope—meaning the problem is not "poor routing" but "the agent has grown beyond its intended role."

Option B (Several tools have not been invoked across the most recent 90 days of traffic) directly supports decomposition. Unused tools indicate that the triage agent has accumulated capabilities that are not part of its active workflow. Research on MCP toolset pruning explicitly recommends identifying "what can stay dormant" and building an evidence-based allowlist of tools that actually serve stated tasks . If tools sit unused for 90 days, they are prime candidates for removal or relocation to a separate agent, not candidates for routing optimization.

Option C (The 34 tools serve four distinct claim-workflow domains within the triage scope) directly supports decomposition by domain. When a single agent handles multiple unrelated responsibilities, the architectural fix is to split by domain—this is a recognized warning sign that an agent has become oversized . Anthropic's own tool search documentation notes that tool selection accuracy degrades when 30–50+ tools are loaded at once . Four distinct claim-workflow domains within one triage agent means the agent's context window must discriminate among tools from unrelated functional areas, increasing selection ambiguity.

Why the other options are not correct:

- A (Tool descriptions overlap across multiple claim categories) is a valid observation, but it points toward description optimization (front-loading when-to-use boundaries) rather than capability decomposition. Overlap can be addressed by rewriting descriptions without splitting the agent.

- D (The router pattern is well documented across publicly available agent literature) does not justify decomposition—it merely observes that a router is a known pattern, which does not establish that decomposition is the right prerequisite.

- E (The proposed router introduces an additional model call on every incoming request) is an argument against the router on cost/latency grounds, not a finding that justifies capability decomposition. It critiques the proposed solution rather than analyzing the underlying capability bloat.

References:

- Agent splitting criteria: multiple unrelated responsibilities and different tool sets for different tasks are warning signs requiring domain-based splitting .

Question 19 Choose 1
You are running a discovery session with a business sponsor who asks for “an AI system to fix our customer escalations.” Which approach best yields actionable requirements?
Show answerHide answer

Correct answer: B Decompose the request by asking targeted questions about who escalates, what triggers escalation, what good resolution looks like, and which constraints—latency, cost, audit, and data sensitivity—apply.

Explanation

Explanation:

The sponsor’s request ("an AI system to fix our customer escalations") is a goal statement, not an actionable requirement. Actionable requirements must define the specific behaviors, boundaries, and constraints of the system. Option B applies the core discovery technique: decomposition through targeted questioning. It surfaces the actors (who), triggers (when/why), success criteria (what good looks like), and non-functional constraints (latency, cost, audit, data sensitivity). This approach mirrors established requirements engineering practices, where ambiguous business goals must be translated into functional and non-functional requirements through structured elicitation.

Why the other options are incorrect:

- A is an anti-pattern. Accepting a vague goal as a final requirement guarantees a solution that likely misses the actual business need and fails to account for essential constraints.

- C misinterprets the architect's role. Discovery is a collaborative process where the architect actively elicits and shapes requirements; it is not the sponsor's job to pre-specify the system unilaterally.

- D relies on unvalidated assumptions from a different context. Requirements must be validated for the specific organization, industry, and regulatory environment, as constraints (e.g., HIPAA vs. financial regulations) vary drastically.

References:

- Requirements engineering principles: Ambiguous goals must be decomposed into actionable functional and non-functional requirements via stakeholder elicitation.

Question 20 Choose 2
A Claude architect is leading the discovery phase for a new AI-powered customer service solution. Which two activities are characteristic of structured discovery and requirement gathering for a Claude-based deployment? (Select two.)
Show answerHide answer

Correct answer: A, D Facilitating stakeholder workshops to surface latency, accuracy, and compliance constraints before scoping begins.Documenting explicit success criteria and failure thresholds that will gate production deployment.

Explanation

Explanation:

Structured discovery for AI deployments requires establishing constraints and success criteria before design and development begin.

Option A (Facilitating stakeholder workshops to surface latency, accuracy, and compliance constraints) is a core discovery activity. AI systems have unique non-functional requirements—like token limits, hallucination tolerances, and data privacy (e.g., PII redaction)—that must be surfaced early. Anthropic’s own guidance emphasizes defining success criteria and constraints at the start, because AI systems are probabilistic and require different evaluation metrics than traditional software.

Option D (Documenting explicit success criteria and failure thresholds) is critical for gating production. Because LLMs are non-deterministic, traditional "pass/fail" unit tests are insufficient. Architects must define measurable thresholds (e.g., precision/recall targets, acceptable refusal rates, p95 latency limits) and failure conditions before deployment. This aligns with eval-driven development, where the evaluation dataset and success thresholds are built before prompt engineering begins.

Why the other options are incorrect:

- B violates discovery principles. Model selection (e.g., Haiku vs. Sonnet vs. Opus) must be driven by the discovered constraints (cost, latency, reasoning complexity), not prior assumptions.

- C describes an unstructured, reactive approach. While prototyping is valuable, it cannot replace written requirements—especially for compliance, safety, and integration constraints.

- E defers critical constraints, which is a known cause of architectural rework. Compliance (e.g., HIPAA, GDPR) and latency must inform the design from day one.

References:

- Anthropic evaluation guidance: define success criteria and build eval sets before iterating on prompts.

Full mock exam

Sit the CCAR-P exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real CCAR-P exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full CCAR-P mock exam
  • 63questions per mock
  • 120 mintime limit
  • 129questions in the bank
  • Newmock on every attempt