Anthropic CCA-F (Claude Certified Architect - Foundations (CCAR-F)) Practice Test 97

Question 960

For a repository change-review job, a reviewer identifies two independent obligations: sensitive tool calls are denied before they reach an executor and workload growth does not cause uncontrolled parallel fan-out. Which proposal should be approved?

  1. write a stronger instruction in the system prompt; and launch all possible child tasks at once without resource controls
  2. register a PreToolUse hook that checks the operation against policy; and limit concurrency and schedule independent jobs against execution budgets
  3. write a stronger instruction in the system prompt; and limit concurrency and schedule independent jobs against execution budgets
  4. register a PreToolUse hook that checks the operation against policy; and launch all possible child tasks at once without resource controls

Explanation

Correct Answer

B:

In a repository change-review job, pre-execution interception can reject a disallowed call rather than relying on post-hoc advice; alongside this, bounded orchestration balances throughput with tool quotas and downstream service capacity, satisfying the distinct requirements that sensitive tool calls are denied before they reach an executor and that workload growth does not cause uncontrolled parallel fan-out.

Incorrect Answers

A:

In a repository change-review job, an instruction alone does not provide deterministic execution-time authorization and unbounded fan-out can overwhelm tools and blow through cost budgets; the design would fail both conditions: sensitive tool calls are denied before they reach an executor and workload growth does not cause uncontrolled parallel fan-out.

C:

In a repository change-review job, bounded orchestration balances throughput with tool quotas and downstream service capacity, but an instruction alone does not provide deterministic execution-time authorization; therefore the separate requirement that sensitive tool calls are denied before they reach an executor would remain unsatisfied.

D:

In a repository change-review job, pre-execution interception can reject a disallowed call rather than relying on post-hoc advice, but unbounded fan-out can overwhelm tools and blow through cost budgets; therefore the separate requirement that workload growth does not cause uncontrolled parallel fan-out would remain unsatisfied.

Question 961

A team operating an order-status triage agent wants to establish two separate behaviors: refund execution is blocked until customer identity is verified; in addition, an MCP tool failure can be traced across systems. Which plan implements both?

  1. enforce a prerequisite gate in application logic before the write tool; and replace every failure with the same unstructured unknown error
  2. implement only enforce a prerequisite gate in application logic before the write tool; make no corresponding change for the second requirement
  3. implement only propagate a stable correlation ID and machine-readable error code; make no corresponding change for the first requirement
  4. ask the assistant in prose to remember verification first; and replace every failure with the same unstructured unknown error
  5. enforce a prerequisite gate in application logic before the write tool; and propagate a stable correlation ID and machine-readable error code
  6. ask the assistant in prose to remember verification first; and propagate a stable correlation ID and machine-readable error code

Explanation

Correct Answer

E:

In an order-status triage agent, deterministic preconditions protect an irreversible operation even if the model proposes it early; alongside this, cross-service identifiers connect the user's symptom to upstream logs without exposing secrets, satisfying the distinct requirements that refund execution is blocked until customer identity is verified and that an MCP tool failure can be traced across systems.

Incorrect Answers

A:

In an order-status triage agent, deterministic preconditions protect an irreversible operation even if the model proposes it early, but undifferentiated errors prevent meaningful triage; therefore the separate requirement that an MCP tool failure can be traced across systems would remain unsatisfied.

B:

In an order-status triage agent, deterministic preconditions protect an irreversible operation even if the model proposes it early, but the independent mechanism for the other criterion is absent: cross-service identifiers connect the user's symptom to upstream logs without exposing secrets; as written, the design does not ensure that an MCP tool failure can be traced across systems.

C:

In an order-status triage agent, cross-service identifiers connect the user's symptom to upstream logs without exposing secrets, but the independent mechanism for the other criterion is absent: deterministic preconditions protect an irreversible operation even if the model proposes it early; as written, the design does not ensure that refund execution is blocked until customer identity is verified.

D:

In an order-status triage agent, a prompt is advisory and does not technically block an unauthorized tool call and undifferentiated errors prevent meaningful triage; the design would fail both conditions: refund execution is blocked until customer identity is verified and an MCP tool failure can be traced across systems.

F:

In an order-status triage agent, cross-service identifiers connect the user's symptom to upstream logs without exposing secrets, but a prompt is advisory and does not technically block an unauthorized tool call; therefore the separate requirement that refund execution is blocked until customer identity is verified would remain unsatisfied.

Question 962

Before expanding an unfamiliar monorepo investigation, the owner must demonstrate that a conversational task does not invoke tools needlessly, while also demonstrating that each tool interface has a single clear operation boundary. Which design provides both controls?

  1. force a tool on every message regardless of intent; and use a single universal tool that infers read versus write from prose
  2. use automatic tool choice when a call is optional; and use a single universal tool that infers read versus write from prose
  3. use automatic tool choice when a call is optional; and separate read-only lookup from side-effecting update interfaces
  4. force a tool on every message regardless of intent; and separate read-only lookup from side-effecting update interfaces

Explanation

Correct Answer

C:

In an unfamiliar monorepo investigation, auto allows the model to answer directly when no external side effect or fresh data is needed; alongside this, clear operation boundaries support least privilege and understandable approvals, satisfying the distinct requirements that a conversational task does not invoke tools needlessly and that each tool interface has a single clear operation boundary.

Incorrect Answers

A:

In an unfamiliar monorepo investigation, mandatory calls add latency and can invoke irrelevant operations and overloading hides effects and makes execution review harder; the design would fail both conditions: a conversational task does not invoke tools needlessly and each tool interface has a single clear operation boundary.

B:

In an unfamiliar monorepo investigation, auto allows the model to answer directly when no external side effect or fresh data is needed, but overloading hides effects and makes execution review harder; therefore the separate requirement that each tool interface has a single clear operation boundary would remain unsatisfied.

D:

In an unfamiliar monorepo investigation, clear operation boundaries support least privilege and understandable approvals, but mandatory calls add latency and can invoke irrelevant operations; therefore the separate requirement that a conversational task does not invoke tools needlessly would remain unsatisfied.

Question 963

A readiness review for a returns-policy assistant requires that a new agent gets only durable context from a completed job; that a tool result includes enough fields to support audit and follow-on actions; and that client-side tool requests trigger another model turn after execution. Which THREE actions directly implement those distinct requirements? Choose THREE.

  1. initialize a fresh session with a verified structured summary
  2. return structured identifiers, status, and provenance with the data
  3. end the loop whenever assistant text appears
  4. paste a full historical transcript into every new session
  5. branch on stop_reason tool_use and execute returned tool_use blocks
  6. return only a friendly summary with no source identifier

Explanation

Correct Answers

A:

For a returns-policy assistant, a bounded handoff transfers necessary facts without carrying discarded trial-and-error context, which directly establishes that a new agent gets only durable context from a completed job; the separate requirement that a tool result includes enough fields to support audit and follow-on actions is handled by a different action.

B:

For a returns-policy assistant, machine-readable outputs let downstream stages validate exactly what was retrieved, which directly establishes that a tool result includes enough fields to support audit and follow-on actions; the separate requirement that client-side tool requests trigger another model turn after execution is handled by a different action.

E:

For a returns-policy assistant, the response explicitly signals pending client execution and the loop must provide results before another model decision, which directly establishes that client-side tool requests trigger another model turn after execution; the separate requirement that a new agent gets only durable context from a completed job is handled by a different action.

Incorrect Answers

C:

For a returns-policy assistant, text may accompany a tool request and is not the completion signal, so this option cannot establish that client-side tool requests trigger another model turn after execution; correctly addressing a new agent gets only durable context from a completed job elsewhere does not repair that deficiency.

D:

For a returns-policy assistant, irrelevant turns can consume context and revive outdated assumptions, so this option cannot establish that a new agent gets only durable context from a completed job; correctly addressing a tool result includes enough fields to support audit and follow-on actions elsewhere does not repair that deficiency.

F:

For a returns-policy assistant, a paraphrase hides the record needed for verification or follow-up, so this option cannot establish that a tool result includes enough fields to support audit and follow-on actions; correctly addressing client-side tool requests trigger another model turn after execution elsewhere does not repair that deficiency.

Question 964

An architecture review of an internal knowledge research system finds two missing guarantees: each batch result is matched to its originating record; a parser preserves the specified output structure across cases. What two-part change closes both gaps?

  1. assign stable custom IDs and map results by those IDs; and mix contradictory schemas in the example set
  2. match returned results to input rows only by array position; and keep each demonstration's field order and types consistent
  3. match returned results to input rows only by array position; and mix contradictory schemas in the example set
  4. assign stable custom IDs and map results by those IDs; and keep each demonstration's field order and types consistent
  5. implement only keep each demonstration's field order and types consistent; make no corresponding change for the first requirement

Explanation

Correct Answer

D:

In an internal knowledge research system, asynchronous completion order need not match submission order; alongside this, coherent exemplars teach a stable mapping rather than competing formats, satisfying the distinct requirements that each batch result is matched to its originating record and that a parser preserves the specified output structure across cases.

Incorrect Answers

A:

In an internal knowledge research system, asynchronous completion order need not match submission order, but inconsistent samples can make expected output ambiguous; therefore the separate requirement that a parser preserves the specified output structure across cases would remain unsatisfied.

B:

In an internal knowledge research system, coherent exemplars teach a stable mapping rather than competing formats, but out-of-order or failed items can corrupt record association; therefore the separate requirement that each batch result is matched to its originating record would remain unsatisfied.

C:

In an internal knowledge research system, out-of-order or failed items can corrupt record association and inconsistent samples can make expected output ambiguous; the design would fail both conditions: each batch result is matched to its originating record and a parser preserves the specified output structure across cases.

E:

In an internal knowledge research system, coherent exemplars teach a stable mapping rather than competing formats, but the independent mechanism for the other criterion is absent: asynchronous completion order need not match submission order; as written, the design does not ensure that each batch result is matched to its originating record.

Question 965

An incident postmortem for a build verification pipeline requires controls so that CI failures provide actionable evidence to maintainers and that all contributors receive the repository's stable engineering conventions. Which paired remedy covers both failure modes?

  1. discard the runner logs and keep only the assistant's final sentence; and put concise shared guidance in the repository root CLAUDE.md
  2. persist structured errors, relevant logs, and a bounded diagnostic summary; and put concise shared guidance in the repository root CLAUDE.md
  3. discard the runner logs and keep only the assistant's final sentence; and put team-wide rules only in one developer's user-level instructions
  4. persist structured errors, relevant logs, and a bounded diagnostic summary; and put team-wide rules only in one developer's user-level instructions

Explanation

Correct Answer

B:

In a build verification pipeline, stable artifacts help maintainers reproduce the problem without rerunning a chat; alongside this, project instructions travel with the codebase and establish common architecture and build constraints, satisfying the distinct requirements that CI failures provide actionable evidence to maintainers and that all contributors receive the repository's stable engineering conventions.

Incorrect Answers

A:

In a build verification pipeline, project instructions travel with the codebase and establish common architecture and build constraints, but the missing trace impedes diagnosis of command or infrastructure failures; therefore the separate requirement that CI failures provide actionable evidence to maintainers would remain unsatisfied.

C:

In a build verification pipeline, the missing trace impedes diagnosis of command or infrastructure failures and personal files do not distribute the intended conventions to other contributors; the design would fail both conditions: CI failures provide actionable evidence to maintainers and all contributors receive the repository's stable engineering conventions.

D:

In a build verification pipeline, stable artifacts help maintainers reproduce the problem without rerunning a chat, but personal files do not distribute the intended conventions to other contributors; therefore the separate requirement that all contributors receive the repository's stable engineering conventions would remain unsatisfied.

Question 966

An incident postmortem for a merge-request policy gate requires controls so that example selection stays relevant to the current workload and that a high-risk result passes deterministic checks in addition to model critique. Which paired remedy covers both failure modes?

  1. use a compact sample covering common cases and one important edge case; and replace all validation checks with a second model's opinion
  2. use a compact sample covering common cases and one important edge case; and combine independent review with schema and business-rule validation
  3. include dozens of unrelated demonstrations from other domains; and replace all validation checks with a second model's opinion
  4. include dozens of unrelated demonstrations from other domains; and combine independent review with schema and business-rule validation

Explanation

Correct Answer

B:

In a merge-request policy gate, high-signal examples guide the task without overloading context; alongside this, a critique may improve quality but cannot enforce machine-testable invariants by itself, satisfying the distinct requirements that example selection stays relevant to the current workload and that a high-risk result passes deterministic checks in addition to model critique.

Incorrect Answers

A:

In a merge-request policy gate, high-signal examples guide the task without overloading context, but probabilistic agreement does not guarantee compliance; therefore the separate requirement that a high-risk result passes deterministic checks in addition to model critique would remain unsatisfied.

C:

In a merge-request policy gate, irrelevant examples dilute the pattern and consume tokens and probabilistic agreement does not guarantee compliance; the design would fail both conditions: example selection stays relevant to the current workload and a high-risk result passes deterministic checks in addition to model critique.

D:

In a merge-request policy gate, a critique may improve quality but cannot enforce machine-testable invariants by itself, but irrelevant examples dilute the pattern and consume tokens; therefore the separate requirement that example selection stays relevant to the current workload would remain unsatisfied.

Question 967

The architect for a risk-analysis research network needs to ensure that an unusual null-value case is handled without inventing data. What should the team implement?

  1. give a small set of representative input-output demonstrations
  2. include a demonstration showing how an absent field is represented
  3. keep each demonstration's field order and types consistent
  4. show only records where every field is present
  5. include contrasting positive and negative demonstrations

Explanation

Correct Answer

B:

For a risk-analysis research network, explicit missing-value examples clarify that omissions are not permission to hallucinate; this directly establishes that an unusual null-value case is handled without inventing data instead of relying on an unrelated workflow control.

Incorrect Answers

A:

Although few-shot examples show the intended mapping more concretely than broad style adjectives, that only supports the distinct goal that a formatter handles diverse legitimate examples consistently, not the requirement that an unusual null-value case is handled without inventing data in a risk-analysis research network.

C:

Although coherent exemplars teach a stable mapping rather than competing formats, that only supports the distinct goal that a parser preserves the specified output structure across cases, not the requirement that an unusual null-value case is handled without inventing data in a risk-analysis research network.

D:

In a risk-analysis research network, the model lacks a model of the required missing-data behavior; as a result, the stated requirement that an unusual null-value case is handled without inventing data would still not be met.

E:

Although near-boundary examples communicate the decisive distinction and reduce false positives, that only supports the distinct goal that a model learns a boundary between superficially similar cases, not the requirement that an unusual null-value case is handled without inventing data in a risk-analysis research network.

Question 968

For a repository documentation project, a reviewer identifies two independent obligations: a repeatable code-review procedure is available as a named workflow and untrusted project MCP definitions receive approval in interactive Claude Code sessions. Which proposal should be approved?

  1. retype the entire procedure in every conversation; and review and approve project-scoped server configuration before connecting interactively
  2. create a documented reusable skill in SKILL.md; and automatically approve every MCP definition found in a cloned repository
  3. retype the entire procedure in every conversation; and automatically approve every MCP definition found in a cloned repository
  4. create a documented reusable skill in SKILL.md; and review and approve project-scoped server configuration before connecting interactively

Explanation

Correct Answer

D:

In a repository documentation project, skills package instructions and supporting resources for invocation across similar tasks; alongside this, interactive project trust checks limit execution of unfamiliar server commands and endpoints, satisfying the distinct requirements that a repeatable code-review procedure is available as a named workflow and that untrusted project MCP definitions receive approval in interactive Claude Code sessions.

Incorrect Answers

A:

In a repository documentation project, interactive project trust checks limit execution of unfamiliar server commands and endpoints, but manual repetition produces drift and loses shared revisions; therefore the separate requirement that a repeatable code-review procedure is available as a named workflow would remain unsatisfied.

B:

In a repository documentation project, skills package instructions and supporting resources for invocation across similar tasks, but repository content can include unexpected executable commands and unattended sessions require explicit policy controls; therefore the separate requirement that untrusted project MCP definitions receive approval in interactive Claude Code sessions would remain unsatisfied.

C:

In a repository documentation project, manual repetition produces drift and loses shared revisions and repository content can include unexpected executable commands and unattended sessions require explicit policy controls; the design would fail both conditions: a repeatable code-review procedure is available as a named workflow and untrusted project MCP definitions receive approval in interactive Claude Code sessions.

Question 969

An architecture review of a policy document normalization service finds two missing guarantees: schema-valid output is also checked against source evidence; thousands of independent documents can finish without interactive response deadlines. What two-part change closes both gaps?

  1. assume a schema-conforming response is factually correct; and make every document a synchronous request inside the user interaction
  2. validate semantic constraints and provenance in application logic; and use asynchronous Message Batches processing for the bulk workload
  3. validate semantic constraints and provenance in application logic; and make every document a synchronous request inside the user interaction
  4. assume a schema-conforming response is factually correct; and use asynchronous Message Batches processing for the bulk workload

Explanation

Correct Answer

B:

In a policy document normalization service, JSON shape does not prove that an extracted claim is supported by the document; alongside this, batching suits non-blocking independent requests and can reduce processing cost, satisfying the distinct requirements that schema-valid output is also checked against source evidence and that thousands of independent documents can finish without interactive response deadlines.

Incorrect Answers

A:

In a policy document normalization service, syntactic conformance cannot guarantee source-level truth and serial immediate calls add latency where no caller is waiting; the design would fail both conditions: schema-valid output is also checked against source evidence and thousands of independent documents can finish without interactive response deadlines.

C:

In a policy document normalization service, JSON shape does not prove that an extracted claim is supported by the document, but serial immediate calls add latency where no caller is waiting; therefore the separate requirement that thousands of independent documents can finish without interactive response deadlines would remain unsatisfied.

D:

In a policy document normalization service, batching suits non-blocking independent requests and can reduce processing cost, but syntactic conformance cannot guarantee source-level truth; therefore the separate requirement that schema-valid output is also checked against source evidence would remain unsatisfied.

Question 970

The release checklist for a pull-request review pipeline explicitly checks that a specialist handoff retains its prerequisites and evidence; it also checks that sensitive tool calls are denied before they reach an executor. What coordinated solution meets the checklist?

  1. implement only send a structured state packet with completed checks and unresolved decisions; make no corresponding change for the second requirement
  2. send a structured state packet with completed checks and unresolved decisions; and write a stronger instruction in the system prompt
  3. handoff only a conversational sentence saying the stage is finished; and write a stronger instruction in the system prompt
  4. send a structured state packet with completed checks and unresolved decisions; and register a PreToolUse hook that checks the operation against policy
  5. handoff only a conversational sentence saying the stage is finished; and register a PreToolUse hook that checks the operation against policy

Explanation

Correct Answer

D:

In a pull-request review pipeline, a typed transition preserves obligations and facts between workflow stages; alongside this, pre-execution interception can reject a disallowed call rather than relying on post-hoc advice, satisfying the distinct requirements that a specialist handoff retains its prerequisites and evidence and that sensitive tool calls are denied before they reach an executor.

Incorrect Answers

A:

In a pull-request review pipeline, a typed transition preserves obligations and facts between workflow stages, but the independent mechanism for the other criterion is absent: pre-execution interception can reject a disallowed call rather than relying on post-hoc advice; as written, the design does not ensure that sensitive tool calls are denied before they reach an executor.

B:

In a pull-request review pipeline, a typed transition preserves obligations and facts between workflow stages, but an instruction alone does not provide deterministic execution-time authorization; therefore the separate requirement that sensitive tool calls are denied before they reach an executor would remain unsatisfied.

C:

In a pull-request review pipeline, the receiving stage cannot audit what actually passed and an instruction alone does not provide deterministic execution-time authorization; the design would fail both conditions: a specialist handoff retains its prerequisites and evidence and sensitive tool calls are denied before they reach an executor.

E:

In a pull-request review pipeline, pre-execution interception can reject a disallowed call rather than relying on post-hoc advice, but the receiving stage cannot audit what actually passed; therefore the separate requirement that a specialist handoff retains its prerequisites and evidence would remain unsatisfied.

Claude Certified Architect - Foundations (CCAR-F) (CCA-F) Practice Tests