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

Question 470

An architecture review of a shared-library improvement effort finds two missing guarantees: path-scoped rules are loaded for all intended source directories; ambiguous requirements are resolved before a destructive migration. What two-part change closes both gaps?

  1. update the rule's paths glob to include the actual target paths; and clarify scope and acceptance criteria while planning
  2. update the rule's paths glob to include the actual target paths; and make assumptions and migrate production files immediately
  3. add more prose telling the model to remember the missing rule; and clarify scope and acceptance criteria while planning
  4. add more prose telling the model to remember the missing rule; and make assumptions and migrate production files immediately

Explanation

Correct Answer

A:

In a shared-library improvement effort, correct glob coverage determines whether conditional guidance is in context; alongside this, a reviewed plan should resolve unknown targets and rollback expectations before writes, satisfying the distinct requirements that path-scoped rules are loaded for all intended source directories and that ambiguous requirements are resolved before a destructive migration.

Incorrect Answers

B:

In a shared-library improvement effort, correct glob coverage determines whether conditional guidance is in context, but guessed intent can create costly irreversible changes; therefore the separate requirement that ambiguous requirements are resolved before a destructive migration would remain unsatisfied.

C:

In a shared-library improvement effort, a reviewed plan should resolve unknown targets and rollback expectations before writes, but instructions outside the matched scope still will not be loaded; therefore the separate requirement that path-scoped rules are loaded for all intended source directories would remain unsatisfied.

D:

In a shared-library improvement effort, instructions outside the matched scope still will not be loaded and guessed intent can create costly irreversible changes; the design would fail both conditions: path-scoped rules are loaded for all intended source directories and ambiguous requirements are resolved before a destructive migration.

Question 471

When designing a large-codebase architecture explorer, the requirement is not satisfied unless a large investigation spans unrelated subsystems and the repository assistant discovers filenames matching a pattern. Which implementation addresses the two independent conditions?

  1. delegate bounded subsystem searches and merge path-based findings; and search entire file contents with Grep to find paths by naming pattern
  2. give every specialist the complete monorepo transcript; and use Glob to locate candidate paths
  3. give every specialist the complete monorepo transcript; and search entire file contents with Grep to find paths by naming pattern
  4. delegate bounded subsystem searches and merge path-based findings; and use Glob to locate candidate paths

Explanation

Correct Answer

D:

In a large-codebase architecture explorer, subsystem partitioning permits parallel work without duplicating full repository context; alongside this, path globbing finds files by names and directory structure before content inspection, satisfying the distinct requirements that a large investigation spans unrelated subsystems and that the repository assistant discovers filenames matching a pattern.

Incorrect Answers

A:

In a large-codebase architecture explorer, subsystem partitioning permits parallel work without duplicating full repository context, but content search answers a different question and may miss empty files; therefore the separate requirement that the repository assistant discovers filenames matching a pattern would remain unsatisfied.

B:

In a large-codebase architecture explorer, path globbing finds files by names and directory structure before content inspection, but each branch pays the same large context cost and increases noise; therefore the separate requirement that a large investigation spans unrelated subsystems would remain unsatisfied.

C:

In a large-codebase architecture explorer, each branch pays the same large context cost and increases noise and content search answers a different question and may miss empty files; the design would fail both conditions: a large investigation spans unrelated subsystems and the repository assistant discovers filenames matching a pattern.

Question 472

While preparing a code-reference retrieval assistant for deployment, engineers must ensure that the developer inspects a suspicious implementation in context; they must also ensure that every high-impact tool invocation produces an audit event. Which combination best satisfies those requirements?

  1. implement only read targeted code ranges and nearby dependencies; make no corresponding change for the second requirement
  2. read targeted code ranges and nearby dependencies; and record the tool name, permitted inputs, outcome, and task identifier in a hook
  3. read targeted code ranges and nearby dependencies; and infer tool activity from the final natural-language answer
  4. replace source inspection with a guessed architecture overview; and infer tool activity from the final natural-language answer
  5. replace source inspection with a guessed architecture overview; and record the tool name, permitted inputs, outcome, and task identifier in a hook

Explanation

Correct Answer

B:

In a code-reference retrieval assistant, focused inspection preserves exact implementation detail without loading the whole codebase; alongside this, runtime instrumentation observes actual proposed or completed tool activity, satisfying the distinct requirements that the developer inspects a suspicious implementation in context and that every high-impact tool invocation produces an audit event.

Incorrect Answers

A:

In a code-reference retrieval assistant, focused inspection preserves exact implementation detail without loading the whole codebase, but the independent mechanism for the other criterion is absent: runtime instrumentation observes actual proposed or completed tool activity; as written, the design does not ensure that every high-impact tool invocation produces an audit event.

C:

In a code-reference retrieval assistant, focused inspection preserves exact implementation detail without loading the whole codebase, but a summary can omit failed calls or delegated actions; therefore the separate requirement that every high-impact tool invocation produces an audit event would remain unsatisfied.

D:

In a code-reference retrieval assistant, a general overview cannot verify the specific logic being debugged and a summary can omit failed calls or delegated actions; the design would fail both conditions: the developer inspects a suspicious implementation in context and every high-impact tool invocation produces an audit event.

E:

In a code-reference retrieval assistant, runtime instrumentation observes actual proposed or completed tool activity, but a general overview cannot verify the specific logic being debugged; therefore the separate requirement that the developer inspects a suspicious implementation in context would remain unsatisfied.

Question 473

In a risk-analysis research network, the immediate design requirement is that the system can continue when one specialist returns an explicit failure. Which change most directly establishes that behavior?

  1. have the coordinator compare claims and sources before synthesis
  2. record per-branch status and let the coordinator choose retry or partial response
  3. run retrieval before analysis and pass its validated artifacts
  4. treat every subagent error string as a valid research conclusion

Explanation

Correct Answer

B:

For a risk-analysis research network, the orchestration layer must distinguish missing evidence from a negative factual finding; this directly establishes that the system can continue when one specialist returns an explicit failure instead of relying on an unrelated workflow control.

Incorrect Answers

A:

Although central reconciliation can distinguish evidence disagreement from a formatting difference, that only supports the distinct goal that conflicting subagent findings produce one accountable interpretation, not the requirement that the system can continue when one specialist returns an explicit failure in a risk-analysis research network.

C:

Although a downstream agent needs actual upstream findings rather than an assumed future result, that only supports the distinct goal that dependent analysis begins only when source retrieval is complete, not the requirement that the system can continue when one specialist returns an explicit failure in a risk-analysis research network.

D:

In a risk-analysis research network, error text is operational state rather than evidence about the world; as a result, the stated requirement that the system can continue when one specialist returns an explicit failure would still not be met.

Question 474

A team operating a multi-source policy brief service wants to establish two separate behaviors: near-overlapping retrieval tools are selected by actual boundary; in addition, a failed MCP operation is visible as an error to the client. Which plan implements both?

  1. document examples and conditions where each tool must not be used; and return a success-shaped value saying the operation probably worked
  2. document examples and conditions where each tool must not be used; and mark the tool result as an error and supply structured failure details
  3. rely exclusively on short tool names for routing; and mark the tool result as an error and supply structured failure details
  4. rely exclusively on short tool names for routing; and return a success-shaped value saying the operation probably worked

Explanation

Correct Answer

B:

In a multi-source policy brief service, contrastive guidance helps tool choice when resource names look similar; alongside this, explicit error status separates failed execution from valid data content, satisfying the distinct requirements that near-overlapping retrieval tools are selected by actual boundary and that a failed MCP operation is visible as an error to the client.

Incorrect Answers

A:

In a multi-source policy brief service, contrastive guidance helps tool choice when resource names look similar, but downstream agents can mistake a failure for verified business data; therefore the separate requirement that a failed MCP operation is visible as an error to the client would remain unsatisfied.

C:

In a multi-source policy brief service, explicit error status separates failed execution from valid data content, but names alone may not capture the distinction in scope or authorization; therefore the separate requirement that near-overlapping retrieval tools are selected by actual boundary would remain unsatisfied.

D:

In a multi-source policy brief service, names alone may not capture the distinction in scope or authorization and downstream agents can mistake a failure for verified business data; the design would fail both conditions: near-overlapping retrieval tools are selected by actual boundary and a failed MCP operation is visible as an error to the client.

Question 475

In a technical review of a large-codebase architecture explorer, the architect must address the following constraints together: the report is not drafted before evidence is checked; a forced tool call still honors business authorization. Which change set is most defensible?

  1. start drafting at the same time as the source search and assume success; and treat a forced tool choice as equivalent to user approval
  2. place evidence validation before the drafting stage; and combine tool_choice with server-side policy checks
  3. place evidence validation before the drafting stage; and treat a forced tool choice as equivalent to user approval
  4. implement only place evidence validation before the drafting stage; make no corresponding change for the second requirement
  5. start drafting at the same time as the source search and assume success; and combine tool_choice with server-side policy checks

Explanation

Correct Answer

B:

In a large-codebase architecture explorer, a dependent stage must receive validated inputs to avoid propagating unsupported conclusions; alongside this, selection controls when a tool is proposed but does not grant permission to execute, satisfying the distinct requirements that the report is not drafted before evidence is checked and that a forced tool call still honors business authorization.

Incorrect Answers

A:

In a large-codebase architecture explorer, the writer may treat unverified or absent evidence as real and tool selection and authorization are different controls; the design would fail both conditions: the report is not drafted before evidence is checked and a forced tool call still honors business authorization.

C:

In a large-codebase architecture explorer, a dependent stage must receive validated inputs to avoid propagating unsupported conclusions, but tool selection and authorization are different controls; therefore the separate requirement that a forced tool call still honors business authorization would remain unsatisfied.

D:

In a large-codebase architecture explorer, a dependent stage must receive validated inputs to avoid propagating unsupported conclusions, but the independent mechanism for the other criterion is absent: selection controls when a tool is proposed but does not grant permission to execute; as written, the design does not ensure that a forced tool call still honors business authorization.

E:

In a large-codebase architecture explorer, selection controls when a tool is proposed but does not grant permission to execute, but the writer may treat unverified or absent evidence as real; therefore the separate requirement that the report is not drafted before evidence is checked would remain unsatisfied.

Question 476

The release checklist for an engineering knowledge assistant explicitly checks that tool-call logging does not modify a successful tool result; it also checks that delegated investigations stay within bounded scope. What coordinated solution meets the checklist?

  1. use an observation-only hook for telemetry when rewriting is unnecessary; and specify the question, allowed sources, expected output, and stopping criterion
  2. use an observation-only hook for telemetry when rewriting is unnecessary; and ask every subagent to investigate everything it can find
  3. rewrite every tool result as a free-form paraphrase; and ask every subagent to investigate everything it can find
  4. rewrite every tool result as a free-form paraphrase; and specify the question, allowed sources, expected output, and stopping criterion

Explanation

Correct Answer

A:

In an engineering knowledge assistant, separating instrumentation from mutation reduces the risk of corrupting evidence; alongside this, a task contract prevents specialist exploration from swallowing the coordinator's larger goal, satisfying the distinct requirements that tool-call logging does not modify a successful tool result and that delegated investigations stay within bounded scope.

Incorrect Answers

B:

In an engineering knowledge assistant, separating instrumentation from mutation reduces the risk of corrupting evidence, but unbounded exploration dilutes signal and inflates context and latency; therefore the separate requirement that delegated investigations stay within bounded scope would remain unsatisfied.

C:

In an engineering knowledge assistant, summaries can discard fields that subsequent steps require and unbounded exploration dilutes signal and inflates context and latency; the design would fail both conditions: tool-call logging does not modify a successful tool result and delegated investigations stay within bounded scope.

D:

In an engineering knowledge assistant, a task contract prevents specialist exploration from swallowing the coordinator's larger goal, but summaries can discard fields that subsequent steps require; therefore the separate requirement that tool-call logging does not modify a successful tool result would remain unsatisfied.

Question 477

In a pull-request review pipeline, the immediate design requirement is that important workflow state survives context compression or process restarts. Which change most directly establishes that behavior?

  1. depend on the model remembering a prior value forever
  2. recheck permissions and current resource state before new side effects
  3. preserve both branch identifiers and outcome summaries
  4. persist authoritative task facts and artifact IDs outside ephemeral conversation text

Explanation

Correct Answer

D:

For a pull-request review pipeline, external durable state can be reloaded and checked when the session window changes; this directly establishes that important workflow state survives context compression or process restarts instead of relying on an unrelated workflow control.

Incorrect Answers

A:

In a pull-request review pipeline, context limits and summarization can lose exact identifiers; as a result, the stated requirement that important workflow state survives context compression or process restarts would still not be met.

B:

Although conversation continuity is not a replacement for live access control or fresh tool state, that only supports the distinct goal that resuming a session does not bypass present-day authorization, not the requirement that important workflow state survives context compression or process restarts in a pull-request review pipeline.

C:

Although tracking lineage makes result comparison possible without confusing which session produced an artifact, that only supports the distinct goal that an exploratory branch can be compared with a baseline later, not the requirement that important workflow state survives context compression or process restarts in a pull-request review pipeline.

Question 478

While preparing a developer productivity assistant for deployment, engineers must ensure that a patch that fails regression tests is diagnosed and corrected; they must also ensure that project guidance fits within a limited context budget. Which combination best satisfies those requirements?

  1. inspect failure evidence and revise the smallest relevant change; and keep the top-level instruction set concise and move specialized details to scoped files
  2. rewrite large unrelated modules before re-running tests; and paste complete design manuals into the top-level CLAUDE.md
  3. rewrite large unrelated modules before re-running tests; and keep the top-level instruction set concise and move specialized details to scoped files
  4. inspect failure evidence and revise the smallest relevant change; and paste complete design manuals into the top-level CLAUDE.md

Explanation

Correct Answer

A:

In a developer productivity assistant, test-driven feedback pinpoints a specific unmet behavior for the next iteration; alongside this, focused guidance preserves useful context and reduces instruction competition, satisfying the distinct requirements that a patch that fails regression tests is diagnosed and corrected and that project guidance fits within a limited context budget.

Incorrect Answers

B:

In a developer productivity assistant, broad edits create new regression surfaces while the cause remains unclear and indiscriminate loading spends tokens on facts unrelated to the active task; the design would fail both conditions: a patch that fails regression tests is diagnosed and corrected and project guidance fits within a limited context budget.

C:

In a developer productivity assistant, focused guidance preserves useful context and reduces instruction competition, but broad edits create new regression surfaces while the cause remains unclear; therefore the separate requirement that a patch that fails regression tests is diagnosed and corrected would remain unsatisfied.

D:

In a developer productivity assistant, test-driven feedback pinpoints a specific unmet behavior for the next iteration, but indiscriminate loading spends tokens on facts unrelated to the active task; therefore the separate requirement that project guidance fits within a limited context budget would remain unsatisfied.

Question 479

An incident postmortem for an unfamiliar monorepo investigation requires controls so that the repository assistant discovers filenames matching a pattern and that tool output is normalized before it enters the agent context. Which paired remedy covers both failure modes?

  1. search entire file contents with Grep to find paths by naming pattern; and preprocess only the original user message
  2. use Glob to locate candidate paths; and preprocess only the original user message
  3. search entire file contents with Grep to find paths by naming pattern; and use a PostToolUse processing hook to standardize the returned data
  4. use Glob to locate candidate paths; and use a PostToolUse processing hook to standardize the returned data

Explanation

Correct Answer

D:

In an unfamiliar monorepo investigation, path globbing finds files by names and directory structure before content inspection; alongside this, post-execution interception can clean result fields and attach useful status without changing the model's tool selection, satisfying the distinct requirements that the repository assistant discovers filenames matching a pattern and that tool output is normalized before it enters the agent context.

Incorrect Answers

A:

In an unfamiliar monorepo investigation, content search answers a different question and may miss empty files and input normalization does not correct inconsistent tool outputs; the design would fail both conditions: the repository assistant discovers filenames matching a pattern and tool output is normalized before it enters the agent context.

B:

In an unfamiliar monorepo investigation, path globbing finds files by names and directory structure before content inspection, but input normalization does not correct inconsistent tool outputs; therefore the separate requirement that tool output is normalized before it enters the agent context would remain unsatisfied.

C:

In an unfamiliar monorepo investigation, post-execution interception can clean result fields and attach useful status without changing the model's tool selection, but content search answers a different question and may miss empty files; therefore the separate requirement that the repository assistant discovers filenames matching a pattern would remain unsatisfied.

Question 480

The architecture of an order-cancellation service must meet these three criteria: an extraction error is caught before storage; the coordinator can identify which subagent produced a broken artifact; quality drift is detected after a workflow launches. Choose THREE measures, one for each requirement.

  1. validate parsed data against application rules and source constraints
  2. validate one development example and never review production output
  3. replace all nested errors with a generic coordinator failure
  4. write the response to the database without checking required invariants
  5. sample outcomes for periodic human QA against known criteria
  6. propagate task IDs, error codes, and correlation references

Explanation

Correct Answers

A:

For an order-cancellation service, local validation detects missing cross-field relationships even when the JSON is syntactically valid, which directly establishes that an extraction error is caught before storage; the separate requirement that the coordinator can identify which subagent produced a broken artifact is handled by a different action.

E:

For an order-cancellation service, ongoing calibration can reveal changed input distributions and silent error patterns, which directly establishes that quality drift is detected after a workflow launches; the separate requirement that an extraction error is caught before storage is handled by a different action.

F:

For an order-cancellation service, tracing execution lineage helps route the incident to the right failing component, which directly establishes that the coordinator can identify which subagent produced a broken artifact; the separate requirement that quality drift is detected after a workflow launches is handled by a different action.

Incorrect Answers

B:

For an order-cancellation service, production inputs may differ from the initial examples, so this option cannot establish that quality drift is detected after a workflow launches; correctly addressing an extraction error is caught before storage elsewhere does not repair that deficiency.

C:

For an order-cancellation service, the original failing operation becomes opaque, so this option cannot establish that the coordinator can identify which subagent produced a broken artifact; correctly addressing quality drift is detected after a workflow launches elsewhere does not repair that deficiency.

D:

For an order-cancellation service, valid-looking output may still violate business rules, so this option cannot establish that an extraction error is caught before storage; correctly addressing the coordinator can identify which subagent produced a broken artifact elsewhere does not repair that deficiency.

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