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

Question 330

In a test failure triage bot, the immediate design requirement is that a pipeline gate reflects objective test outcomes. Which change most directly establishes that behavior?

  1. use the CLI structured-output schema option for the response
  2. run tests and use actual exit codes and artifacts for the pass decision
  3. persist structured errors, relevant logs, and a bounded diagnostic summary
  4. accept a green status based on a model-written test summary alone

Explanation

Correct Answer

B:

For a test failure triage bot, external deterministic checks prevent an assistant summary from declaring unexecuted tests successful; this directly establishes that a pipeline gate reflects objective test outcomes instead of relying on an unrelated workflow control.

Incorrect Answers

A:

Although schema-constrained output is more robust for downstream integrations than prompt-only formatting, that only supports the distinct goal that an automation expects a defined JSON result schema, not the requirement that a pipeline gate reflects objective test outcomes in a test failure triage bot.

C:

Although stable artifacts help maintainers reproduce the problem without rerunning a chat, that only supports the distinct goal that CI failures provide actionable evidence to maintainers, not the requirement that a pipeline gate reflects objective test outcomes in a test failure triage bot.

D:

In a test failure triage bot, a textual report may not correspond to any test execution; as a result, the stated requirement that a pipeline gate reflects objective test outcomes would still not be met.

Question 331

Tests for a returns-policy assistant will pass only if a missing value is represented without fabricating a string and if quality drift is detected after a workflow launches. Which proposed design directly satisfies both checks?

  1. force the model to populate every unknown value with a guess; and validate one development example and never review production output
  2. allow null in the field schema and define its semantics; and sample outcomes for periodic human QA against known criteria
  3. force the model to populate every unknown value with a guess; and sample outcomes for periodic human QA against known criteria
  4. allow null in the field schema and define its semantics; and validate one development example and never review production output

Explanation

Correct Answer

B:

In a returns-policy assistant, explicit nullable types distinguish genuine absence from empty or invented data; alongside this, ongoing calibration can reveal changed input distributions and silent error patterns, satisfying the distinct requirements that a missing value is represented without fabricating a string and that quality drift is detected after a workflow launches.

Incorrect Answers

A:

In a returns-policy assistant, fabricated values preserve schema appearance but destroy factual accuracy and production inputs may differ from the initial examples; the design would fail both conditions: a missing value is represented without fabricating a string and quality drift is detected after a workflow launches.

C:

In a returns-policy assistant, ongoing calibration can reveal changed input distributions and silent error patterns, but fabricated values preserve schema appearance but destroy factual accuracy; therefore the separate requirement that a missing value is represented without fabricating a string would remain unsatisfied.

D:

In a returns-policy assistant, explicit nullable types distinguish genuine absence from empty or invented data, but production inputs may differ from the initial examples; therefore the separate requirement that quality drift is detected after a workflow launches would remain unsatisfied.

Question 332

In a returns-policy assistant, the design must ensure that the agent can recover exact policy facts after compaction and that a failed high-stakes step prevents a false final success signal. Choose TWO independent changes that directly meet these two requirements.

  1. enforce required-stage completion before publishing a success status
  2. retrieve authoritative facts from a durable store when needed
  3. ignore errors after the first successful agent completion
  4. treat the compressed summary as an immutable source of truth

Explanation

Correct Answers

A:

For a returns-policy assistant, a final gate must account for every mandatory stage rather than aggregate optimistic text, which directly establishes that a failed high-stakes step prevents a false final success signal; the separate requirement that the agent can recover exact policy facts after compaction is handled by a different action.

B:

For a returns-policy assistant, re-reading source state restores precision that a condensed history cannot guarantee, which directly establishes that the agent can recover exact policy facts after compaction; the separate requirement that a failed high-stakes step prevents a false final success signal is handled by a different action.

Incorrect Answers

C:

For a returns-policy assistant, later failures can invalidate the claimed result, so this option cannot establish that a failed high-stakes step prevents a false final success signal; correctly addressing the agent can recover exact policy facts after compaction elsewhere does not repair that deficiency.

D:

For a returns-policy assistant, summaries may simplify caveats or omit an exception, so this option cannot establish that the agent can recover exact policy facts after compaction; correctly addressing a failed high-stakes step prevents a false final success signal elsewhere does not repair that deficiency.

Question 333

In a code-reference retrieval assistant, the acceptance criteria require that a source change is validated against the right dependency chain and that a team compares two candidate patches against the same baseline. Which paired implementation meets both?

  1. review only the edited line with no caller context; and choose whichever patch has the more persuasive natural-language summary
  2. review only the edited line with no caller context; and evaluate alternatives using the same tests and scoped diffs
  3. trace imports and call sites from the touched module outward; and evaluate alternatives using the same tests and scoped diffs
  4. trace imports and call sites from the touched module outward; and choose whichever patch has the more persuasive natural-language summary

Explanation

Correct Answer

C:

In a code-reference retrieval assistant, dependency-focused exploration spots affected behavior without indiscriminate reading; alongside this, consistent acceptance evidence reveals which candidate improves the relevant behavior, satisfying the distinct requirements that a source change is validated against the right dependency chain and that a team compares two candidate patches against the same baseline.

Incorrect Answers

A:

In a code-reference retrieval assistant, local correctness may miss consumers that rely on the old behavior and rhetorical fluency does not establish code correctness; the design would fail both conditions: a source change is validated against the right dependency chain and a team compares two candidate patches against the same baseline.

B:

In a code-reference retrieval assistant, consistent acceptance evidence reveals which candidate improves the relevant behavior, 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.

D:

In a code-reference retrieval assistant, dependency-focused exploration spots affected behavior without indiscriminate reading, but rhetorical fluency does not establish code correctness; therefore the separate requirement that a team compares two candidate patches against the same baseline would remain unsatisfied.

Question 334

For a multi-source competitor research system, a reviewer identifies two independent obligations: a downstream subagent acts on concrete upstream results and a tool receives a typed and bounded request. Which proposal should be approved?

  1. send only a generic instruction to continue the work; and define required properties and types in the input schema and validate arguments at the execution boundary
  2. pass the preceding artifact identifier and a focused summary to the next agent; and accept one unstructured free-text argument for every operation
  3. pass the preceding artifact identifier and a focused summary to the next agent; and define required properties and types in the input schema and validate arguments at the execution boundary
  4. implement only pass the preceding artifact identifier and a focused summary to the next agent; make no corresponding change for the second requirement
  5. send only a generic instruction to continue the work; and accept one unstructured free-text argument for every operation

Explanation

Correct Answer

C:

In a multi-source competitor research system, explicit handoff preserves the specific result that the dependent stage must process; alongside this, input schemas describe legal arguments, while explicit validation prevents unsupported values from reaching tool logic, satisfying the distinct requirements that a downstream subagent acts on concrete upstream results and that a tool receives a typed and bounded request.

Incorrect Answers

A:

In a multi-source competitor research system, input schemas describe legal arguments, while explicit validation prevents unsupported values from reaching tool logic, but the later agent cannot know which evidence or state was produced previously; therefore the separate requirement that a downstream subagent acts on concrete upstream results would remain unsatisfied.

B:

In a multi-source competitor research system, explicit handoff preserves the specific result that the dependent stage must process, 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.

D:

In a multi-source competitor research system, explicit handoff preserves the specific result that the dependent stage must process, but the independent mechanism for the other criterion is absent: input schemas describe legal arguments, while explicit validation prevents unsupported values from reaching tool logic; as written, the design does not ensure that a tool receives a typed and bounded request.

E:

In a multi-source competitor research system, the later agent cannot know which evidence or state was produced previously and unconstrained prose leaves parsing and validation errors to ad hoc handler inference; the design would fail both conditions: a downstream subagent acts on concrete upstream results and a tool receives a typed and bounded request.

Question 335

The release gate for a cross-platform application migration requires that the review produces a small, auditable patch; it also requires that a conversational task does not invoke tools needlessly. Which TWO actions meet the specified checks? Choose TWO.

  1. force a tool on every message regardless of intent
  2. iterate with focused diffs rather than wholesale regeneration
  3. use automatic tool choice when a call is optional
  4. replace every file in the component to ensure consistency

Explanation

Correct Answers

B:

For a cross-platform application migration, narrow changes are easier to test and evaluate against explicit requirements, which directly establishes that the review produces a small, auditable patch; the separate requirement that a conversational task does not invoke tools needlessly is handled by a different action.

C:

For a cross-platform application migration, auto allows the model to answer directly when no external side effect or fresh data is needed, which directly establishes that a conversational task does not invoke tools needlessly; the separate requirement that the review produces a small, auditable patch is handled by a different action.

Incorrect Answers

A:

For a cross-platform application migration, mandatory calls add latency and can invoke irrelevant operations, so this option cannot establish that a conversational task does not invoke tools needlessly; correctly addressing the review produces a small, auditable patch elsewhere does not repair that deficiency.

D:

For a cross-platform application migration, unnecessary regeneration can erase working behavior, so this option cannot establish that the review produces a small, auditable patch; correctly addressing a conversational task does not invoke tools needlessly elsewhere does not repair that deficiency.

Question 336

Before expanding a structured case-file ingestion workflow, the owner must demonstrate that a missing value is represented without fabricating a string, while also demonstrating that thousands of independent documents can finish without interactive response deadlines. Which design provides both controls?

  1. allow null in the field schema and define its semantics; and use asynchronous Message Batches processing for the bulk workload
  2. force the model to populate every unknown value with a guess; and use asynchronous Message Batches processing for the bulk workload
  3. force the model to populate every unknown value with a guess; and make every document a synchronous request inside the user interaction
  4. allow null in the field schema and define its semantics; and make every document a synchronous request inside the user interaction

Explanation

Correct Answer

A:

In a structured case-file ingestion workflow, explicit nullable types distinguish genuine absence from empty or invented data; alongside this, batching suits non-blocking independent requests and can reduce processing cost, satisfying the distinct requirements that a missing value is represented without fabricating a string and that thousands of independent documents can finish without interactive response deadlines.

Incorrect Answers

B:

In a structured case-file ingestion workflow, batching suits non-blocking independent requests and can reduce processing cost, but fabricated values preserve schema appearance but destroy factual accuracy; therefore the separate requirement that a missing value is represented without fabricating a string would remain unsatisfied.

C:

In a structured case-file ingestion workflow, fabricated values preserve schema appearance but destroy factual accuracy and serial immediate calls add latency where no caller is waiting; the design would fail both conditions: a missing value is represented without fabricating a string and thousands of independent documents can finish without interactive response deadlines.

D:

In a structured case-file ingestion workflow, explicit nullable types distinguish genuine absence from empty or invented data, 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 337

Tests for a developer productivity assistant will pass only if a long codebase exploration maintains navigation across stages and if the assistant can use external service capabilities via MCP. Which proposed design directly satisfies both checks?

  1. keep a concise map of relevant files, symbols, and open questions; and describe the external API in a prompt without connecting any tool
  2. store complete file contents repeatedly in every handoff; and configure a compatible MCP server and expose its declared tools to the client
  3. store complete file contents repeatedly in every handoff; and describe the external API in a prompt without connecting any tool
  4. keep a concise map of relevant files, symbols, and open questions; and configure a compatible MCP server and expose its declared tools to the client

Explanation

Correct Answer

D:

In a developer productivity assistant, a durable index lets later analysis re-open precise evidence as needed; alongside this, MCP bridges a client to provider-defined capabilities rather than inventing a Claude built-in, satisfying the distinct requirements that a long codebase exploration maintains navigation across stages and that the assistant can use external service capabilities via MCP.

Incorrect Answers

A:

In a developer productivity assistant, a durable index lets later analysis re-open precise evidence as needed, but instructions cannot create an executable integration endpoint; therefore the separate requirement that the assistant can use external service capabilities via MCP would remain unsatisfied.

B:

In a developer productivity assistant, MCP bridges a client to provider-defined capabilities rather than inventing a Claude built-in, but duplicated source text overwhelms the window and becomes stale; therefore the separate requirement that a long codebase exploration maintains navigation across stages would remain unsatisfied.

C:

In a developer productivity assistant, duplicated source text overwhelms the window and becomes stale and instructions cannot create an executable integration endpoint; the design would fail both conditions: a long codebase exploration maintains navigation across stages and the assistant can use external service capabilities via MCP.

Question 338

An incident postmortem for a merchant support assistant requires controls so that a function call accepts only valid argument shapes and that a changed account record supersedes an old conversational value. Which paired remedy covers both failure modes?

  1. define the tool input schema, enable strict tool use where available, and validate inputs in the handler; and refresh the authoritative source before a consequential write
  2. implement only define the tool input schema, enable strict tool use where available, and validate inputs in the handler; make no corresponding change for the second requirement
  3. allow arbitrary keys and silently coerce incorrect types; and refresh the authoritative source before a consequential write
  4. define the tool input schema, enable strict tool use where available, and validate inputs in the handler; and reuse the value from the first turn without checking for change
  5. allow arbitrary keys and silently coerce incorrect types; and reuse the value from the first turn without checking for change

Explanation

Correct Answer

A:

In a merchant support assistant, strict tool inputs constrain generation, and handler validation provides a final enforceable argument boundary; alongside this, current external state protects against stale facts preserved in context, satisfying the distinct requirements that a function call accepts only valid argument shapes and that a changed account record supersedes an old conversational value.

Incorrect Answers

B:

In a merchant support assistant, strict tool inputs constrain generation, and handler validation provides a final enforceable argument boundary, but the independent mechanism for the other criterion is absent: current external state protects against stale facts preserved in context; as written, the design does not ensure that a changed account record supersedes an old conversational value.

C:

In a merchant support assistant, current external state protects against stale facts preserved in context, but unvalidated coercion can change intended operations or silently drop important fields; therefore the separate requirement that a function call accepts only valid argument shapes would remain unsatisfied.

D:

In a merchant support assistant, strict tool inputs constrain generation, and handler validation provides a final enforceable argument boundary, but conversations do not automatically reflect later database updates; therefore the separate requirement that a changed account record supersedes an old conversational value would remain unsatisfied.

E:

In a merchant support assistant, unvalidated coercion can change intended operations or silently drop important fields and conversations do not automatically reflect later database updates; the design would fail both conditions: a function call accepts only valid argument shapes and a changed account record supersedes an old conversational value.

Question 339

In a returns-and-billing assistant, the immediate design requirement is that out-of-policy exceptions receive an authorized decision. Which change most directly establishes that behavior?

  1. let the agent approve an exception whenever its wording sounds confident
  2. require the order lookup result before calculating or applying a change
  3. route the exception to a human approval step before execution
  4. track individual stage outcomes and use explicit recovery or compensating actions

Explanation

Correct Answer

C:

For a returns-and-billing assistant, approval is a workflow boundary separate from language-model confidence; this directly establishes that out-of-policy exceptions receive an authorized decision instead of relying on an unrelated workflow control.

Incorrect Answers

A:

In a returns-and-billing assistant, model confidence is not delegated business authority; as a result, the stated requirement that out-of-policy exceptions receive an authorized decision would still not be met.

B:

Although the dependent operation needs authoritative state and must not guess from the customer's description, that only supports the distinct goal that an order adjustment uses the current order record, not the requirement that out-of-policy exceptions receive an authorized decision in a returns-and-billing assistant.

D:

Although an orchestrated workflow must not report overall success while a required step failed, that only supports the distinct goal that partial completion of a multi-step operation is handled safely, not the requirement that out-of-policy exceptions receive an authorized decision in a returns-and-billing assistant.

Question 340

Tests for a database migration coding project will pass only if regressions introduced during refinement are detected and fixed and if a developer has private preferences that should not change team guidance. Which proposed design directly satisfies both checks?

  1. keep layering patches without checking the last stable behavior; and place personal instructions in the user-level CLAUDE.md
  2. restore or revise the problematic change and retest affected paths; and add private preferences to the shared repository CLAUDE.md
  3. keep layering patches without checking the last stable behavior; and add private preferences to the shared repository CLAUDE.md
  4. restore or revise the problematic change and retest affected paths; and place personal instructions in the user-level CLAUDE.md

Explanation

Correct Answer

D:

In a database migration coding project, iteration includes detecting regressions and returning to a passing state; alongside this, global personal guidance is available to that user's sessions without committing preferences to the project, satisfying the distinct requirements that regressions introduced during refinement are detected and fixed and that a developer has private preferences that should not change team guidance.

Incorrect Answers

A:

In a database migration coding project, global personal guidance is available to that user's sessions without committing preferences to the project, but cumulative changes can bury the source of failure; therefore the separate requirement that regressions introduced during refinement are detected and fixed would remain unsatisfied.

B:

In a database migration coding project, iteration includes detecting regressions and returning to a passing state, but project instructions would impose one person's settings on the whole team; therefore the separate requirement that a developer has private preferences that should not change team guidance would remain unsatisfied.

C:

In a database migration coding project, cumulative changes can bury the source of failure and project instructions would impose one person's settings on the whole team; the design would fail both conditions: regressions introduced during refinement are detected and fixed and a developer has private preferences that should not change team guidance.

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