Question 160
A team operating a repository release validation process wants to establish two separate behaviors: the team obtains a read-only survey of an unfamiliar module; in addition, the agent executes tests and examines their exit status. Which plan implements both?
- investigate in plan-oriented or read-only mode first; and inspect the test configuration only with Read and claim tests passed
- run write tools to discover how the module behaves; and inspect the test configuration only with Read and claim tests passed
- run write tools to discover how the module behaves; and use Bash with an approved test command
- investigate in plan-oriented or read-only mode first; and use Bash with an approved test command
Explanation
Correct Answer
D:In a repository release validation process, inspection can establish architecture and change scope without side effects; alongside this, the shell can run build tools and return execution feedback that Read cannot supply, satisfying the distinct requirements that the team obtains a read-only survey of an unfamiliar module and that the agent executes tests and examines their exit status.
Incorrect Answers
A:In a repository release validation process, inspection can establish architecture and change scope without side effects, 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.
B:In a repository release validation process, mutation is unnecessary for gaining initial understanding and reading configuration does not execute a test suite; the design would fail both conditions: the team obtains a read-only survey of an unfamiliar module and the agent executes tests and examines their exit status.
C:In a repository release validation process, the shell can run build tools and return execution feedback that Read cannot supply, but mutation is unnecessary for gaining initial understanding; therefore the separate requirement that the team obtains a read-only survey of an unfamiliar module would remain unsatisfied.
Question 161
For an order-cancellation service, a reviewer identifies two independent obligations: a partially successful multi-agent job reports its limitations and a changed account record supersedes an old conversational value. Which proposal should be approved?
- aggregate per-agent success and incomplete-state metadata; and refresh the authoritative source before a consequential write
- mark the whole request successful when any one branch returns data; and refresh the authoritative source before a consequential write
- mark the whole request successful when any one branch returns data; and reuse the value from the first turn without checking for change
- aggregate per-agent success and incomplete-state metadata; and reuse the value from the first turn without checking for change
Explanation
Correct Answer
A:In an order-cancellation service, partial status lets the coordinator qualify conclusions and retry missing branches; alongside this, current external state protects against stale facts preserved in context, satisfying the distinct requirements that a partially successful multi-agent job reports its limitations and that a changed account record supersedes an old conversational value.
Incorrect Answers
B:In an order-cancellation service, current external state protects against stale facts preserved in context, but some required evidence may still be missing; therefore the separate requirement that a partially successful multi-agent job reports its limitations would remain unsatisfied.
C:In an order-cancellation service, some required evidence may still be missing and conversations do not automatically reflect later database updates; the design would fail both conditions: a partially successful multi-agent job reports its limitations and a changed account record supersedes an old conversational value.
D:In an order-cancellation service, partial status lets the coordinator qualify conclusions and retry missing branches, 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.
Question 162
Tests for a database migration coding project will pass only if a code investigation finds where a function is referenced and if a shared skill can take a supplied target name or file path. Which proposed design directly satisfies both checks?
- use Grep to locate occurrences before opening focused files; and define how the skill accepts and uses invocation arguments
- use Grep to locate occurrences before opening focused files; and copy a separate static instruction file for every target path
- ask for broad prose summaries of every package first; and copy a separate static instruction file for every target path
- ask for broad prose summaries of every package first; and define how the skill accepts and uses invocation arguments
Explanation
Correct Answer
A:In a database migration coding project, symbol searching narrows the evidence to files that mention the target; alongside this, parameterized workflows apply one reviewed procedure to different resources without hardcoding targets, satisfying the distinct requirements that a code investigation finds where a function is referenced and that a shared skill can take a supplied target name or file path.
Incorrect Answers
B:In a database migration coding project, symbol searching narrows the evidence to files that mention the target, but duplicated procedures are costly to maintain and can diverge; therefore the separate requirement that a shared skill can take a supplied target name or file path would remain unsatisfied.
C:In a database migration coding project, high-level summaries can miss the exact call site and duplicated procedures are costly to maintain and can diverge; the design would fail both conditions: a code investigation finds where a function is referenced and a shared skill can take a supplied target name or file path.
D:In a database migration coding project, parameterized workflows apply one reviewed procedure to different resources without hardcoding targets, but high-level summaries can miss the exact call site; therefore the separate requirement that a code investigation finds where a function is referenced would remain unsatisfied.
Question 163
For a pull-request review pipeline, a reviewer identifies two independent obligations: ambiguous requirements are resolved before a destructive migration and CI failures provide actionable evidence to maintainers. Which proposal should be approved?
- clarify scope and acceptance criteria while planning; and persist structured errors, relevant logs, and a bounded diagnostic summary
- make assumptions and migrate production files immediately; and persist structured errors, relevant logs, and a bounded diagnostic summary
- make assumptions and migrate production files immediately; and discard the runner logs and keep only the assistant's final sentence
- clarify scope and acceptance criteria while planning; and discard the runner logs and keep only the assistant's final sentence
Explanation
Correct Answer
A:In a pull-request review pipeline, a reviewed plan should resolve unknown targets and rollback expectations before writes; alongside this, stable artifacts help maintainers reproduce the problem without rerunning a chat, satisfying the distinct requirements that ambiguous requirements are resolved before a destructive migration and that CI failures provide actionable evidence to maintainers.
Incorrect Answers
B:In a pull-request review pipeline, stable artifacts help maintainers reproduce the problem without rerunning a chat, 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 pull-request review pipeline, guessed intent can create costly irreversible changes and the missing trace impedes diagnosis of command or infrastructure failures; the design would fail both conditions: ambiguous requirements are resolved before a destructive migration and CI failures provide actionable evidence to maintainers.
D:In a pull-request review pipeline, a reviewed plan should resolve unknown targets and rollback expectations before writes, but the missing trace impedes diagnosis of command or infrastructure failures; therefore the separate requirement that CI failures provide actionable evidence to maintainers would remain unsatisfied.
Question 164
An audit of a procurement document processing system identifies two unmet requirements: a failed MCP operation is visible as an error to the client and the model can use a tool result in its next decision. Select TWO actions that remedy those particular deficiencies.
- put the tool output only in application logs
- return a success-shaped value saying the operation probably worked
- mark the tool result as an error and supply structured failure details
- append the assistant tool-use response and matching user tool_result blocks to history
Explanation
Correct Answers
C:For a procurement document processing system, explicit error status separates failed execution from valid data content, which directly establishes that a failed MCP operation is visible as an error to the client; the separate requirement that the model can use a tool result in its next decision is handled by a different action.
D:For a procurement document processing system, Claude needs the prior request and the execution output in the conversation for the next inference, which directly establishes that the model can use a tool result in its next decision; the separate requirement that a failed MCP operation is visible as an error to the client is handled by a different action.
Incorrect Answers
A:For a procurement document processing system, unseen logs cannot inform the model's next decision, so this option cannot establish that the model can use a tool result in its next decision; correctly addressing a failed MCP operation is visible as an error to the client elsewhere does not repair that deficiency.
B:For a procurement document processing system, downstream agents can mistake a failure for verified business data, so this option cannot establish that a failed MCP operation is visible as an error to the client; correctly addressing the model can use a tool result in its next decision elsewhere does not repair that deficiency.
Question 165
In a policy document normalization service, the engineering team must guarantee that a formatter handles diverse legitimate examples consistently. What is the most appropriate control?
- use a compact sample covering common cases and one important edge case
- supply only a bare instruction to keep formatting consistent
- give a small set of representative input-output demonstrations
- keep each demonstration's field order and types consistent
Explanation
Correct Answer
C:For a policy document normalization service, few-shot examples show the intended mapping more concretely than broad style adjectives; this directly establishes that a formatter handles diverse legitimate examples consistently instead of relying on an unrelated workflow control.
Incorrect Answers
A:Although high-signal examples guide the task without overloading context, that only supports the distinct goal that example selection stays relevant to the current workload, not the requirement that a formatter handles diverse legitimate examples consistently in a policy document normalization service.
B:In a policy document normalization service, abstract instructions leave many output choices open; as a result, the stated requirement that a formatter handles diverse legitimate examples consistently would still not be met.
D:Although coherent exemplars teach a stable mapping rather than competing formats, that only supports the distinct goal that a parser preserves the specified output structure across cases, not the requirement that a formatter handles diverse legitimate examples consistently in a policy document normalization service.
Question 166
An incident postmortem for a repository change-review job requires controls so that example selection stays relevant to the current workload and that conflicting guidance from different files is detected before rollout. Which paired remedy covers both failure modes?
- use a compact sample covering common cases and one important edge case; and audit overlapping CLAUDE.md files and resolve instruction contradictions
- include dozens of unrelated demonstrations from other domains; and audit overlapping CLAUDE.md files and resolve instruction contradictions
- include dozens of unrelated demonstrations from other domains; and assume the model will infer which contradictory rule to follow
- use a compact sample covering common cases and one important edge case; and assume the model will infer which contradictory rule to follow
Explanation
Correct Answer
A:In a repository change-review job, high-signal examples guide the task without overloading context; alongside this, clear ownership and scope prevent two directions from competing in the same coding task, satisfying the distinct requirements that example selection stays relevant to the current workload and that conflicting guidance from different files is detected before rollout.
Incorrect Answers
B:In a repository change-review job, clear ownership and scope prevent two directions from competing in the same coding task, but irrelevant examples dilute the pattern and consume tokens; therefore the separate requirement that example selection stays relevant to the current workload would remain unsatisfied.
C:In a repository change-review job, irrelevant examples dilute the pattern and consume tokens and unresolved conflicts create inconsistent output across directories; the design would fail both conditions: example selection stays relevant to the current workload and conflicting guidance from different files is detected before rollout.
D:In a repository change-review job, high-signal examples guide the task without overloading context, 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.
Question 167
When designing a contract clause extraction workflow, the requirement is not satisfied unless conflicting sources are not silently flattened into one answer and an ambiguous item is separated from routine automation. Which implementation addresses the two independent conditions?
- report the disagreement and explain evidence quality or recency; and automatically approve any case not rejected immediately
- choose one assertion and omit the contradiction without investigation; and put uncertain cases in an explicit review queue with priority and context
- report the disagreement and explain evidence quality or recency; and put uncertain cases in an explicit review queue with priority and context
- choose one assertion and omit the contradiction without investigation; and automatically approve any case not rejected immediately
Explanation
Correct Answer
C:In a contract clause extraction workflow, explicit conflicts preserve uncertainty rather than manufacturing unanimity; alongside this, triage preserves unattended processing for low-risk cases while catching exceptions, satisfying the distinct requirements that conflicting sources are not silently flattened into one answer and that an ambiguous item is separated from routine automation.
Incorrect Answers
A:In a contract clause extraction workflow, explicit conflicts preserve uncertainty rather than manufacturing unanimity, but absence of a prompt rejection is not affirmative evidence; therefore the separate requirement that an ambiguous item is separated from routine automation would remain unsatisfied.
B:In a contract clause extraction workflow, triage preserves unattended processing for low-risk cases while catching exceptions, but suppressed disagreement creates false confidence; therefore the separate requirement that conflicting sources are not silently flattened into one answer would remain unsatisfied.
D:In a contract clause extraction workflow, suppressed disagreement creates false confidence and absence of a prompt rejection is not affirmative evidence; the design would fail both conditions: conflicting sources are not silently flattened into one answer and an ambiguous item is separated from routine automation.
Question 168
The release checklist for a customer entitlement assistant explicitly checks that a machine consumer receives a schema-compliant JSON object; it also checks that the agent can recover exact policy facts after compaction. What coordinated solution meets the checklist?
- rely only on a sentence requesting JSON with no validation; and retrieve authoritative facts from a durable store when needed
- rely only on a sentence requesting JSON with no validation; and treat the compressed summary as an immutable source of truth
- use supported structured JSON output with a declared schema; and treat the compressed summary as an immutable source of truth
- use supported structured JSON output with a declared schema; and retrieve authoritative facts from a durable store when needed
Explanation
Correct Answer
D:In a customer entitlement assistant, constrained output enforces parseable structure and required field types at generation; alongside this, re-reading source state restores precision that a condensed history cannot guarantee, satisfying the distinct requirements that a machine consumer receives a schema-compliant JSON object and that the agent can recover exact policy facts after compaction.
Incorrect Answers
A:In a customer entitlement assistant, re-reading source state restores precision that a condensed history cannot guarantee, but prompt-only formatting can still produce malformed or incomplete results; therefore the separate requirement that a machine consumer receives a schema-compliant JSON object would remain unsatisfied.
B:In a customer entitlement assistant, prompt-only formatting can still produce malformed or incomplete results and summaries may simplify caveats or omit an exception; the design would fail both conditions: a machine consumer receives a schema-compliant JSON object and the agent can recover exact policy facts after compaction.
C:In a customer entitlement assistant, constrained output enforces parseable structure and required field types at generation, but summaries may simplify caveats or omit an exception; therefore the separate requirement that the agent can recover exact policy facts after compaction would remain unsatisfied.
Question 169
In a financial statement data extractor, the engineering team must guarantee that partial data is not presented as a complete successful result. What is the most appropriate control?
- silently omit records that failed to load
- check operation status or use an idempotency key before retry
- return a non-retryable validation error with the field and expected constraint
- return an explicit partial status with missing-item identifiers
Explanation
Correct Answer
D:For a financial statement data extractor, failure metadata preserves the difference between a sparse valid response and incomplete execution; this directly establishes that partial data is not presented as a complete successful result instead of relying on an unrelated workflow control.
Incorrect Answers
A:In a financial statement data extractor, the coordinator could publish an inaccurate completeness claim; as a result, the stated requirement that partial data is not presented as a complete successful result would still not be met.
B:Although a timeout can occur after the server commits the action, so retry safety needs state checks, that only supports the distinct goal that ambiguous write timeouts do not trigger duplicate side effects, not the requirement that partial data is not presented as a complete successful result in a financial statement data extractor.
C:Although field-specific feedback lets the caller fix the input before resubmission, that only supports the distinct goal that invalid parameters lead to a clear correction rather than a blind retry, not the requirement that partial data is not presented as a complete successful result in a financial statement data extractor.
Question 170
A repository exploration assistant must create a requested new source file and keep its long-standing project instructions modular rather than duplicating them across directories. Which implementation addresses both needs?
- use Write for file creation; and duplicate full instruction paragraphs in every directory
- use Grep to create the source file; and duplicate full instruction paragraphs in every directory
- use Grep to create the source file; and use CLAUDE.md imports to organize referenced instructions
- use Write for file creation; and use CLAUDE.md imports to organize referenced instructions
Explanation
Correct Answer
D:In a service dependency exploration tool, writing a new artifact is appropriate when no existing target needs surgical modification; alongside this, modular imports keep a short entry point while preserving reviewed details in separate files, satisfying the distinct requirements that a new source file is created from supplied content and that long project guidance is divided into maintainable source files.
Incorrect Answers
A:In a service dependency exploration tool, writing a new artifact is appropriate when no existing target needs surgical modification, but copying guidance encourages drift when policies change; therefore the separate requirement that long project guidance is divided into maintainable source files would remain unsatisfied.
B:In a service dependency exploration tool, search utilities do not create code artifacts and copying guidance encourages drift when policies change; the design would fail both conditions: a new source file is created from supplied content and long project guidance is divided into maintainable source files.
C:In a service dependency exploration tool, modular imports keep a short entry point while preserving reviewed details in separate files, but search utilities do not create code artifacts; therefore the separate requirement that a new source file is created from supplied content would remain unsatisfied.