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

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.

Question 971

While preparing a change-impact analysis service for deployment, engineers must ensure that a source change is validated against the right dependency chain; they must also ensure that reviewer feedback points to a specific missed requirement. Which combination best satisfies those requirements?

  1. trace imports and call sites from the touched module outward; and turn the feedback into a concrete test or change request
  2. review only the edited line with no caller context; and turn the feedback into a concrete test or change request
  3. implement only trace imports and call sites from the touched module outward; make no corresponding change for the second requirement
  4. trace imports and call sites from the touched module outward; and repeat the original prompt verbatim and expect a different outcome
  5. review only the edited line with no caller context; and repeat the original prompt verbatim and expect a different outcome

Explanation

Correct Answer

A:

In a change-impact analysis service, dependency-focused exploration spots affected behavior without indiscriminate reading; alongside this, actionable feedback narrows the next edit and makes improvement measurable, satisfying the distinct requirements that a source change is validated against the right dependency chain and that reviewer feedback points to a specific missed requirement.

Incorrect Answers

B:

In a change-impact analysis service, actionable feedback narrows the next edit and makes improvement measurable, but local correctness may miss consumers that rely on the old behavior; therefore the separate requirement that a source change is validated against the right dependency chain would remain unsatisfied.

C:

In a change-impact analysis service, dependency-focused exploration spots affected behavior without indiscriminate reading, but the independent mechanism for the other criterion is absent: actionable feedback narrows the next edit and makes improvement measurable; as written, the design does not ensure that reviewer feedback points to a specific missed requirement.

D:

In a change-impact analysis service, dependency-focused exploration spots affected behavior without indiscriminate reading, but unchanged inputs do not target the identified deficiency; therefore the separate requirement that reviewer feedback points to a specific missed requirement would remain unsatisfied.

E:

In a change-impact analysis service, local correctness may miss consumers that rely on the old behavior and unchanged inputs do not target the identified deficiency; the design would fail both conditions: a source change is validated against the right dependency chain and reviewer feedback points to a specific missed requirement.

Question 972

An audit of a multi-repository troubleshooting agent asks how to make sure that API conventions apply only to source files under an API directory. Which implementation should be selected?

  1. create separate path-specific rule files for each package
  2. put API-specific formatting rules in always-on project guidance
  3. scope documentation style rules to matching documentation paths
  4. keep project-wide security guidance in shared instructions rather than a narrow path glob
  5. add a .claude/rules file with paths matching the API subtree

Explanation

Correct Answer

E:

For a multi-repository troubleshooting agent, path-scoped rules load when the target context matches, keeping unrelated tasks clean; this directly establishes that API conventions apply only to source files under an API directory instead of relying on an unrelated workflow control.

Incorrect Answers

A:

Although scoped conventions avoid contradictory patterns between codebases sharing a monorepo, that only supports the distinct goal that two nested packages follow distinct framework conventions, not the requirement that API conventions apply only to source files under an API directory in a multi-repository troubleshooting agent.

B:

In a multi-repository troubleshooting agent, frontend and documentation tasks then receive irrelevant instructions; as a result, the stated requirement that API conventions apply only to source files under an API directory would still not be met.

C:

Although conditional loading keeps instruction context relevant to the file being worked on, that only supports the distinct goal that documentation-only conventions do not dilute code-editing tasks, not the requirement that API conventions apply only to source files under an API directory in a multi-repository troubleshooting agent.

D:

Although cross-cutting obligations should not disappear when an agent changes directories, that only supports the distinct goal that a common security rule remains active across the project, not the requirement that API conventions apply only to source files under an API directory in a multi-repository troubleshooting agent.

Question 973

In a CLI application maintenance task, the acceptance criteria require that the repository can review and version its custom workflows and that the agent executes tests and examines their exit status. Which paired implementation meets both?

  1. store project skills in the repository's .claude/skills structure; and use Bash with an approved test command
  2. distribute the canonical skill only through private direct messages; and inspect the test configuration only with Read and claim tests passed
  3. distribute the canonical skill only through private direct messages; and use Bash with an approved test command
  4. store project skills in the repository's .claude/skills structure; and inspect the test configuration only with Read and claim tests passed

Explanation

Correct Answer

A:

In a CLI application maintenance task, version-controlled skills evolve alongside tests and conventions with code review; alongside this, the shell can run build tools and return execution feedback that Read cannot supply, satisfying the distinct requirements that the repository can review and version its custom workflows and that the agent executes tests and examines their exit status.

Incorrect Answers

B:

In a CLI application maintenance task, unversioned copies lose the team's approved definition and reading configuration does not execute a test suite; the design would fail both conditions: the repository can review and version its custom workflows and the agent executes tests and examines their exit status.

C:

In a CLI application maintenance task, the shell can run build tools and return execution feedback that Read cannot supply, but unversioned copies lose the team's approved definition; therefore the separate requirement that the repository can review and version its custom workflows would remain unsatisfied.

D:

In a CLI application maintenance task, version-controlled skills evolve alongside tests and conventions with code review, but reading configuration does not execute a test suite; therefore the separate requirement that the agent executes tests and examines their exit status would remain unsatisfied.

Question 974

In a deployment-readiness verification process, the design must ensure that a formatter handles diverse legitimate examples consistently and that a risky refactor is evaluated before any files change. Choose TWO independent changes that directly meet these two requirements.

  1. use plan mode to inspect dependencies and propose steps before execution
  2. supply only a bare instruction to keep formatting consistent
  3. let the agent immediately edit every matching file
  4. give a small set of representative input-output demonstrations

Explanation

Correct Answers

A:

For a deployment-readiness verification process, planning separates investigation and approval from code mutation, which directly establishes that a risky refactor is evaluated before any files change; the separate requirement that a formatter handles diverse legitimate examples consistently is handled by a different action.

D:

For a deployment-readiness verification process, few-shot examples show the intended mapping more concretely than broad style adjectives, which directly establishes that a formatter handles diverse legitimate examples consistently; the separate requirement that a risky refactor is evaluated before any files change is handled by a different action.

Incorrect Answers

B:

For a deployment-readiness verification process, abstract instructions leave many output choices open, so this option cannot establish that a formatter handles diverse legitimate examples consistently; correctly addressing a risky refactor is evaluated before any files change elsewhere does not repair that deficiency.

C:

For a deployment-readiness verification process, early writes can spread an unapproved assumption through the repository, so this option cannot establish that a risky refactor is evaluated before any files change; correctly addressing a formatter handles diverse legitimate examples consistently elsewhere does not repair that deficiency.

Question 975

While preparing an automated test-generation workflow for deployment, engineers must ensure that reviewer feedback points to a specific missed requirement; they must also ensure that conflicting guidance from different files is detected before rollout. Which combination best satisfies those requirements?

  1. turn the feedback into a concrete test or change request; and audit overlapping CLAUDE.md files and resolve instruction contradictions
  2. repeat the original prompt verbatim and expect a different outcome; and assume the model will infer which contradictory rule to follow
  3. implement only turn the feedback into a concrete test or change request; make no corresponding change for the second requirement
  4. turn the feedback into a concrete test or change request; and assume the model will infer which contradictory rule to follow
  5. repeat the original prompt verbatim and expect a different outcome; and audit overlapping CLAUDE.md files and resolve instruction contradictions

Explanation

Correct Answer

A:

In an automated test-generation workflow, actionable feedback narrows the next edit and makes improvement measurable; alongside this, clear ownership and scope prevent two directions from competing in the same coding task, satisfying the distinct requirements that reviewer feedback points to a specific missed requirement and that conflicting guidance from different files is detected before rollout.

Incorrect Answers

B:

In an automated test-generation workflow, unchanged inputs do not target the identified deficiency and unresolved conflicts create inconsistent output across directories; the design would fail both conditions: reviewer feedback points to a specific missed requirement and conflicting guidance from different files is detected before rollout.

C:

In an automated test-generation workflow, actionable feedback narrows the next edit and makes improvement measurable, but the independent mechanism for the other criterion is absent: clear ownership and scope prevent two directions from competing in the same coding task; as written, the design does not ensure that conflicting guidance from different files is detected before rollout.

D:

In an automated test-generation workflow, actionable feedback narrows the next edit and makes improvement measurable, but unresolved conflicts create inconsistent output across directories; therefore the separate requirement that conflicting guidance from different files is detected before rollout would remain unsatisfied.

E:

In an automated test-generation workflow, clear ownership and scope prevent two directions from competing in the same coding task, but unchanged inputs do not target the identified deficiency; therefore the separate requirement that reviewer feedback points to a specific missed requirement would remain unsatisfied.

Question 976

In a technical review of a risk-analysis research network, the architect must address the following constraints together: invalid parameters lead to a clear correction rather than a blind retry; a new agent gets only durable context from a completed job. Which change set is most defensible?

  1. return a non-retryable validation error with the field and expected constraint; and paste a full historical transcript into every new session
  2. hide the invalid field behind a generic internal-error message; and initialize a fresh session with a verified structured summary
  3. return a non-retryable validation error with the field and expected constraint; and initialize a fresh session with a verified structured summary
  4. hide the invalid field behind a generic internal-error message; and paste a full historical transcript into every new session

Explanation

Correct Answer

C:

In a risk-analysis research network, field-specific feedback lets the caller fix the input before resubmission; alongside this, a bounded handoff transfers necessary facts without carrying discarded trial-and-error context, satisfying the distinct requirements that invalid parameters lead to a clear correction rather than a blind retry and that a new agent gets only durable context from a completed job.

Incorrect Answers

A:

In a risk-analysis research network, field-specific feedback lets the caller fix the input before resubmission, but irrelevant turns can consume context and revive outdated assumptions; therefore the separate requirement that a new agent gets only durable context from a completed job would remain unsatisfied.

B:

In a risk-analysis research network, a bounded handoff transfers necessary facts without carrying discarded trial-and-error context, but the client lacks the information needed to repair the request; therefore the separate requirement that invalid parameters lead to a clear correction rather than a blind retry would remain unsatisfied.

D:

In a risk-analysis research network, the client lacks the information needed to repair the request and irrelevant turns can consume context and revive outdated assumptions; the design would fail both conditions: invalid parameters lead to a clear correction rather than a blind retry and a new agent gets only durable context from a completed job.

Question 977

In a customs paperwork processor, the engineering team must guarantee that the agent can recover exact policy facts after compaction. What is the most appropriate control?

  1. treat the compressed summary as an immutable source of truth
  2. refresh the authoritative source before a consequential write
  3. retrieve authoritative facts from a durable store when needed
  4. track pending approvals and required next steps in durable task state

Explanation

Correct Answer

C:

For a customs paperwork processor, re-reading source state restores precision that a condensed history cannot guarantee; this directly establishes that the agent can recover exact policy facts after compaction instead of relying on an unrelated workflow control.

Incorrect Answers

A:

In a customs paperwork processor, summaries may simplify caveats or omit an exception; as a result, the stated requirement that the agent can recover exact policy facts after compaction would still not be met.

B:

Although current external state protects against stale facts preserved in context, that only supports the distinct goal that a changed account record supersedes an old conversational value, not the requirement that the agent can recover exact policy facts after compaction in a customs paperwork processor.

D:

Although persisted obligations survive when natural-language history is shortened, that only supports the distinct goal that context reduction does not erase unresolved obligations, not the requirement that the agent can recover exact policy facts after compaction in a customs paperwork processor.

Question 978

A claims-processing assistant must not duplicate a write when an action is retried, and multiple tool results must be matched to the exact calls that produced them. Which coordinated design handles idempotency and tool-result correlation?

  1. blindly resubmit the same write after every timeout; and return tool_result blocks using the original tool_use_id values
  2. use an idempotency key and confirm the prior commit before retrying; and return tool_result blocks using the original tool_use_id values
  3. blindly resubmit the same write after every timeout; and return tool results with newly invented identifiers
  4. use an idempotency key and confirm the prior commit before retrying; and return tool results with newly invented identifiers

Explanation

Correct Answer

B:

In a claims form processing assistant, side-effecting operations need deduplication against timeouts and repeated messages; alongside this, correlation identifiers bind asynchronous or parallel results to the right requests, satisfying the distinct requirements that repeated delivery of one action request cannot create duplicate writes and that tool responses are associated with the exact invocations that produced them.

Incorrect Answers

A:

In a claims form processing assistant, correlation identifiers bind asynchronous or parallel results to the right requests, but the first attempt might have committed despite a missing acknowledgment; therefore the separate requirement that repeated delivery of one action request cannot create duplicate writes would remain unsatisfied.

C:

In a claims form processing assistant, the first attempt might have committed despite a missing acknowledgment and the model cannot reliably associate a result with an outstanding call; the design would fail both conditions: repeated delivery of one action request cannot create duplicate writes and tool responses are associated with the exact invocations that produced them.

D:

In a claims form processing assistant, side-effecting operations need deduplication against timeouts and repeated messages, but the model cannot reliably associate a result with an outstanding call; therefore the separate requirement that tool responses are associated with the exact invocations that produced them would remain unsatisfied.

Question 979

When designing an unfamiliar monorepo investigation, the requirement is not satisfied unless a tool receives a typed and bounded request and a coding assistant's output passes explicit acceptance checks. Which implementation addresses the two independent conditions?

  1. accept one unstructured free-text argument for every operation; and run the specified tests and compare results against acceptance criteria
  2. accept one unstructured free-text argument for every operation; and accept an implementation because the agent describes it as complete
  3. define required properties and types in the input schema and validate arguments at the execution boundary; and run the specified tests and compare results against acceptance criteria
  4. define required properties and types in the input schema and validate arguments at the execution boundary; and accept an implementation because the agent describes it as complete

Explanation

Correct Answer

C:

In an unfamiliar monorepo investigation, input schemas describe legal arguments, while explicit validation prevents unsupported values from reaching tool logic; alongside this, objective checks support a pass decision better than self-reported confidence, satisfying the distinct requirements that a tool receives a typed and bounded request and that a coding assistant's output passes explicit acceptance checks.

Incorrect Answers

A:

In an unfamiliar monorepo investigation, objective checks support a pass decision better than self-reported confidence, but unconstrained prose leaves parsing and validation errors to ad hoc handler inference; therefore the separate requirement that a tool receives a typed and bounded request would remain unsatisfied.

B:

In an unfamiliar monorepo investigation, unconstrained prose leaves parsing and validation errors to ad hoc handler inference and model assertions cannot replace build and behavior evidence; the design would fail both conditions: a tool receives a typed and bounded request and a coding assistant's output passes explicit acceptance checks.

D:

In an unfamiliar monorepo investigation, input schemas describe legal arguments, while explicit validation prevents unsupported values from reaching tool logic, but model assertions cannot replace build and behavior evidence; therefore the separate requirement that a coding assistant's output passes explicit acceptance checks would remain unsatisfied.

Question 980

In a technical review of a contract-analysis research network, the architect must address the following constraints together: a complex document receives focused quality checks; a consequential claim receives independent human sign-off. Which change set is most defensible?

  1. use one generic request to make the document better; and accept model confidence as a substitute for authorization
  2. use one generic request to make the document better; and route high-impact or low-evidence results to an authorized reviewer
  3. separate factual, structural, and policy review passes; and accept model confidence as a substitute for authorization
  4. separate factual, structural, and policy review passes; and route high-impact or low-evidence results to an authorized reviewer

Explanation

Correct Answer

D:

In a contract-analysis research network, specialized criteria can detect different failure modes without one overloaded evaluation instruction; alongside this, human approval supplies accountability where a mistaken model result has material cost, satisfying the distinct requirements that a complex document receives focused quality checks and that a consequential claim receives independent human sign-off.

Incorrect Answers

A:

In a contract-analysis research network, an undifferentiated review can overlook specific required constraints and a model score does not confer business or legal authority; the design would fail both conditions: a complex document receives focused quality checks and a consequential claim receives independent human sign-off.

B:

In a contract-analysis research network, human approval supplies accountability where a mistaken model result has material cost, but an undifferentiated review can overlook specific required constraints; therefore the separate requirement that a complex document receives focused quality checks would remain unsatisfied.

C:

In a contract-analysis research network, specialized criteria can detect different failure modes without one overloaded evaluation instruction, but a model score does not confer business or legal authority; therefore the separate requirement that a consequential claim receives independent human sign-off would remain unsatisfied.

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