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

Question 220

The architect for a legacy service decomposition needs to ensure that a coding assistant first identifies relevant files in a large repository. What should the team implement?

  1. discover paths using Glob before reading contents
  2. use Grep to locate occurrences before opening focused files
  3. keep a concise map of relevant files, symbols, and open questions
  4. read the entire repository recursively into one prompt

Explanation

Correct Answer

A:

For a legacy service decomposition, staged path discovery prevents unrelated modules from saturating the context; this directly establishes that a coding assistant first identifies relevant files in a large repository instead of relying on an unrelated workflow control.

Incorrect Answers

B:

Although symbol searching narrows the evidence to files that mention the target, that only supports the distinct goal that a code investigation finds where a function is referenced, not the requirement that a coding assistant first identifies relevant files in a large repository in a legacy service decomposition.

C:

Although a durable index lets later analysis re-open precise evidence as needed, that only supports the distinct goal that a long codebase exploration maintains navigation across stages, not the requirement that a coding assistant first identifies relevant files in a large repository in a legacy service decomposition.

D:

In a legacy service decomposition, large context dumps bury important code among irrelevant files; as a result, the stated requirement that a coding assistant first identifies relevant files in a large repository would still not be met.

Question 221

When designing a risk-analysis research network, the requirement is not satisfied unless ambiguous write timeouts do not trigger duplicate side effects and an alternate implementation is explored without rewriting the original branch. Which implementation addresses the two independent conditions?

  1. repeat the mutation immediately because no success message arrived; and fork the existing session into a separate line of exploration
  2. check operation status or use an idempotency key before retry; and continue changing the original session as though it were an isolated experiment
  3. check operation status or use an idempotency key before retry; and fork the existing session into a separate line of exploration
  4. repeat the mutation immediately because no success message arrived; and continue changing the original session as though it were an isolated experiment

Explanation

Correct Answer

C:

In a risk-analysis research network, a timeout can occur after the server commits the action, so retry safety needs state checks; alongside this, a fork supports competing paths while preserving the original session history, satisfying the distinct requirements that ambiguous write timeouts do not trigger duplicate side effects and that an alternate implementation is explored without rewriting the original branch.

Incorrect Answers

A:

In a risk-analysis research network, a fork supports competing paths while preserving the original session history, but missing acknowledgment does not prove the first write was rolled back; therefore the separate requirement that ambiguous write timeouts do not trigger duplicate side effects would remain unsatisfied.

B:

In a risk-analysis research network, a timeout can occur after the server commits the action, so retry safety needs state checks, but the experiment then shares and alters the active thread's direction; therefore the separate requirement that an alternate implementation is explored without rewriting the original branch would remain unsatisfied.

D:

In a risk-analysis research network, missing acknowledgment does not prove the first write was rolled back and the experiment then shares and alters the active thread's direction; the design would fail both conditions: ambiguous write timeouts do not trigger duplicate side effects and an alternate implementation is explored without rewriting the original branch.

Question 222

During review of a backend API maintenance team, an unmet criterion states that a handoff retains only action-relevant context. Which measure resolves this specific gap?

  1. send every previous chat turn to each new worker
  2. pass a compact structured record of facts, decisions, pending tasks, and sources
  3. store verified IDs and decisions in an explicit structured case-facts record
  4. track pending approvals and required next steps in durable task state

Explanation

Correct Answer

B:

For a backend API maintenance team, focused handoffs reduce context size while protecting continuity-critical details; this directly establishes that a handoff retains only action-relevant context instead of relying on an unrelated workflow control.

Incorrect Answers

A:

In a backend API maintenance team, large histories include irrelevant or outdated information; as a result, the stated requirement that a handoff retains only action-relevant context would still not be met.

C:

Although durable structured state prevents essential exact values being lost during summarization, that only supports the distinct goal that critical account identifiers survive a long support conversation, not the requirement that a handoff retains only action-relevant context in a backend API maintenance team.

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 a handoff retains only action-relevant context in a backend API maintenance team.

Question 223

The release checklist for a shipping-exception helpdesk explicitly checks that persistent ambiguous data receives human review; it also checks that a failed retrieval agent does not masquerade as having found no matches. What coordinated solution meets the checklist?

  1. keep retrying until the model finally emits something that passes; and return a typed failure status with its origin to the coordinator
  2. stop after defined retries and route unresolved cases to a reviewer; and convert every retrieval failure into an empty list
  3. stop after defined retries and route unresolved cases to a reviewer; and return a typed failure status with its origin to the coordinator
  4. keep retrying until the model finally emits something that passes; and convert every retrieval failure into an empty list

Explanation

Correct Answer

C:

In a shipping-exception helpdesk, a bounded escalation path prevents infinite loops and invented resolutions; alongside this, an operational error must remain distinguishable from a valid empty result, satisfying the distinct requirements that persistent ambiguous data receives human review and that a failed retrieval agent does not masquerade as having found no matches.

Incorrect Answers

A:

In a shipping-exception helpdesk, an operational error must remain distinguishable from a valid empty result, but unlimited retries waste resources and can reinforce guesses; therefore the separate requirement that persistent ambiguous data receives human review would remain unsatisfied.

B:

In a shipping-exception helpdesk, a bounded escalation path prevents infinite loops and invented resolutions, but the final report could incorrectly claim no sources exist; therefore the separate requirement that a failed retrieval agent does not masquerade as having found no matches would remain unsatisfied.

D:

In a shipping-exception helpdesk, unlimited retries waste resources and can reinforce guesses and the final report could incorrectly claim no sources exist; the design would fail both conditions: persistent ambiguous data receives human review and a failed retrieval agent does not masquerade as having found no matches.

Question 224

When designing a payment microservice repository, the requirement is not satisfied unless a destructive tool receives human authorization at execution time and an alternate implementation is explored without rewriting the original branch. Which implementation addresses the two independent conditions?

  1. collect a general approval at the start of the conversation; and fork the existing session into a separate line of exploration
  2. interrupt or deny the tool until an authorization callback approves it; and fork the existing session into a separate line of exploration
  3. interrupt or deny the tool until an authorization callback approves it; and continue changing the original session as though it were an isolated experiment
  4. implement only interrupt or deny the tool until an authorization callback approves it; make no corresponding change for the second requirement
  5. collect a general approval at the start of the conversation; and continue changing the original session as though it were an isolated experiment

Explanation

Correct Answer

B:

In a payment microservice repository, execution gates make the approval binding on the selected action and inputs; alongside this, a fork supports competing paths while preserving the original session history, satisfying the distinct requirements that a destructive tool receives human authorization at execution time and that an alternate implementation is explored without rewriting the original branch.

Incorrect Answers

A:

In a payment microservice repository, a fork supports competing paths while preserving the original session history, but blanket consent does not verify the later high-risk operation; therefore the separate requirement that a destructive tool receives human authorization at execution time would remain unsatisfied.

C:

In a payment microservice repository, execution gates make the approval binding on the selected action and inputs, but the experiment then shares and alters the active thread's direction; therefore the separate requirement that an alternate implementation is explored without rewriting the original branch would remain unsatisfied.

D:

In a payment microservice repository, execution gates make the approval binding on the selected action and inputs, but the independent mechanism for the other criterion is absent: a fork supports competing paths while preserving the original session history; as written, the design does not ensure that an alternate implementation is explored without rewriting the original branch.

E:

In a payment microservice repository, blanket consent does not verify the later high-risk operation and the experiment then shares and alters the active thread's direction; the design would fail both conditions: a destructive tool receives human authorization at execution time and an alternate implementation is explored without rewriting the original branch.

Question 225

For a compliance interpretation research team, a reviewer identifies two independent obligations: thousands of independent documents can finish without interactive response deadlines and an unusual null-value case is handled without inventing data. Which proposal should be approved?

  1. make every document a synchronous request inside the user interaction; and show only records where every field is present
  2. use asynchronous Message Batches processing for the bulk workload; and show only records where every field is present
  3. use asynchronous Message Batches processing for the bulk workload; and include a demonstration showing how an absent field is represented
  4. make every document a synchronous request inside the user interaction; and include a demonstration showing how an absent field is represented

Explanation

Correct Answer

C:

In a compliance interpretation research team, batching suits non-blocking independent requests and can reduce processing cost; alongside this, explicit missing-value examples clarify that omissions are not permission to hallucinate, satisfying the distinct requirements that thousands of independent documents can finish without interactive response deadlines and that an unusual null-value case is handled without inventing data.

Incorrect Answers

A:

In a compliance interpretation research team, serial immediate calls add latency where no caller is waiting and the model lacks a model of the required missing-data behavior; the design would fail both conditions: thousands of independent documents can finish without interactive response deadlines and an unusual null-value case is handled without inventing data.

B:

In a compliance interpretation research team, batching suits non-blocking independent requests and can reduce processing cost, but the model lacks a model of the required missing-data behavior; therefore the separate requirement that an unusual null-value case is handled without inventing data would remain unsatisfied.

D:

In a compliance interpretation research team, explicit missing-value examples clarify that omissions are not permission to hallucinate, 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.

Question 226

In a cross-service developer portal, the immediate design requirement is that a transient upstream outage is retried safely. Which change most directly establishes that behavior?

  1. aggregate per-agent success and incomplete-state metadata
  2. retry access-denied and invalid-input errors indefinitely
  3. return a typed failure status with its origin to the coordinator
  4. apply a bounded backoff only to classified retryable errors

Explanation

Correct Answer

D:

For a cross-service developer portal, transient failures can heal without re-running permanently invalid requests; this directly establishes that a transient upstream outage is retried safely instead of relying on an unrelated workflow control.

Incorrect Answers

A:

Although partial status lets the coordinator qualify conclusions and retry missing branches, that only supports the distinct goal that a partially successful multi-agent job reports its limitations, not the requirement that a transient upstream outage is retried safely in a cross-service developer portal.

B:

In a cross-service developer portal, permanent failures require a fix or escalation rather than repetition; as a result, the stated requirement that a transient upstream outage is retried safely would still not be met.

C:

Although an operational error must remain distinguishable from a valid empty result, that only supports the distinct goal that a failed retrieval agent does not masquerade as having found no matches, not the requirement that a transient upstream outage is retried safely in a cross-service developer portal.

Question 227

Tests for an engineering knowledge assistant will pass only if conflicting subagent findings produce one accountable interpretation and if a coding agent inspects a known source file without changing it. Which proposed design directly satisfies both checks?

  1. have the coordinator compare claims and sources before synthesis; and run arbitrary shell commands to modify the file during inspection
  2. let the fastest subagent override other findings automatically; and run arbitrary shell commands to modify the file during inspection
  3. implement only have the coordinator compare claims and sources before synthesis; make no corresponding change for the second requirement
  4. let the fastest subagent override other findings automatically; and use Read on the identified file
  5. have the coordinator compare claims and sources before synthesis; and use Read on the identified file

Explanation

Correct Answer

E:

In an engineering knowledge assistant, central reconciliation can distinguish evidence disagreement from a formatting difference; alongside this, file reading provides exact content for analysis without executing the project, satisfying the distinct requirements that conflicting subagent findings produce one accountable interpretation and that a coding agent inspects a known source file without changing it.

Incorrect Answers

A:

In an engineering knowledge assistant, central reconciliation can distinguish evidence disagreement from a formatting difference, but mutation is unnecessary for a read-only code review; therefore the separate requirement that a coding agent inspects a known source file without changing it would remain unsatisfied.

B:

In an engineering knowledge assistant, completion order is not a sound evidence-ranking rule and mutation is unnecessary for a read-only code review; the design would fail both conditions: conflicting subagent findings produce one accountable interpretation and a coding agent inspects a known source file without changing it.

C:

In an engineering knowledge assistant, central reconciliation can distinguish evidence disagreement from a formatting difference, but the independent mechanism for the other criterion is absent: file reading provides exact content for analysis without executing the project; as written, the design does not ensure that a coding agent inspects a known source file without changing it.

D:

In an engineering knowledge assistant, file reading provides exact content for analysis without executing the project, but completion order is not a sound evidence-ranking rule; therefore the separate requirement that conflicting subagent findings produce one accountable interpretation would remain unsatisfied.

Question 228

A team operating a repository maintenance copilot wants to establish two separate behaviors: the report is not drafted before evidence is checked; in addition, a paused server-side tool loop can continue without losing work. Which plan implements both?

  1. place evidence validation before the drafting stage; and preserve the paused assistant response and resume the server-tool turn
  2. place evidence validation before the drafting stage; and restart from a blank conversation whenever pause_turn occurs
  3. start drafting at the same time as the source search and assume success; and preserve the paused assistant response and resume the server-tool turn
  4. start drafting at the same time as the source search and assume success; and restart from a blank conversation whenever pause_turn occurs

Explanation

Correct Answer

A:

In a repository maintenance copilot, a dependent stage must receive validated inputs to avoid propagating unsupported conclusions; alongside this, pause_turn indicates an internal tool loop pause rather than a user-facing conclusion, satisfying the distinct requirements that the report is not drafted before evidence is checked and that a paused server-side tool loop can continue without losing work.

Incorrect Answers

B:

In a repository maintenance copilot, a dependent stage must receive validated inputs to avoid propagating unsupported conclusions, but dropping tool context can repeat work and omit intermediate evidence; therefore the separate requirement that a paused server-side tool loop can continue without losing work would remain unsatisfied.

C:

In a repository maintenance copilot, pause_turn indicates an internal tool loop pause rather than a user-facing conclusion, 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.

D:

In a repository maintenance copilot, the writer may treat unverified or absent evidence as real and dropping tool context can repeat work and omit intermediate evidence; the design would fail both conditions: the report is not drafted before evidence is checked and a paused server-side tool loop can continue without losing work.

Question 229

In a service-credit approval assistant, the immediate design requirement is that an out-of-policy request is escalated consistently. Which change most directly establishes that behavior?

  1. reserve human handoff for specified triggers and let normal cases proceed
  2. escalate only when the customer's sentiment is strongly negative
  3. set a clear evidence or confidence boundary and require review below it
  4. use an explicit exception trigger and designated human review queue

Explanation

Correct Answer

D:

For a service-credit approval assistant, policy-driven routing is predictable across changes in user tone; this directly establishes that an out-of-policy request is escalated consistently instead of relying on an unrelated workflow control.

Incorrect Answers

A:

Although well-defined boundaries maintain autonomy without bypassing risky decisions, that only supports the distinct goal that an ordinary in-policy question is not escalated needlessly, not the requirement that an out-of-policy request is escalated consistently in a service-credit approval assistant.

B:

In a service-credit approval assistant, calmly phrased exceptions still exceed the agent's authority; as a result, the stated requirement that an out-of-policy request is escalated consistently would still not be met.

C:

Although risk-weighted gates limit autonomous actions when support is inadequate, that only supports the distinct goal that an uncertain high-impact decision is routed for review instead of automatic execution, not the requirement that an out-of-policy request is escalated consistently in a service-credit approval assistant.

Question 230

Tests for an after-sales issue resolver will pass only if an order adjustment uses the current order record and if a delegated reviewer has no production write capability. Which proposed design directly satisfies both checks?

  1. require the order lookup result before calculating or applying a change; and give the reviewer every administrative tool and ask for restraint
  2. require the order lookup result before calculating or applying a change; and provide only the read-oriented tools required by that reviewer
  3. issue the update using details inferred only from conversation; and provide only the read-oriented tools required by that reviewer
  4. issue the update using details inferred only from conversation; and give the reviewer every administrative tool and ask for restraint

Explanation

Correct Answer

B:

In an after-sales issue resolver, the dependent operation needs authoritative state and must not guess from the customer's description; alongside this, agent-scoped tool exposure prevents a write path in a read-only role, satisfying the distinct requirements that an order adjustment uses the current order record and that a delegated reviewer has no production write capability.

Incorrect Answers

A:

In an after-sales issue resolver, the dependent operation needs authoritative state and must not guess from the customer's description, but prompt restraint is weaker than withholding execution capability; therefore the separate requirement that a delegated reviewer has no production write capability would remain unsatisfied.

C:

In an after-sales issue resolver, agent-scoped tool exposure prevents a write path in a read-only role, but unverified user text can reference the wrong order or outdated state; therefore the separate requirement that an order adjustment uses the current order record would remain unsatisfied.

D:

In an after-sales issue resolver, unverified user text can reference the wrong order or outdated state and prompt restraint is weaker than withholding execution capability; the design would fail both conditions: an order adjustment uses the current order record and a delegated reviewer has no production write capability.

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