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.
Question 171
In a merge-request policy gate, the engineering team must guarantee that a patch that fails regression tests is diagnosed and corrected. What is the most appropriate control?
- turn the feedback into a concrete test or change request
- restore or revise the problematic change and retest affected paths
- rewrite large unrelated modules before re-running tests
- inspect failure evidence and revise the smallest relevant change
Explanation
Correct Answer
D:For a merge-request policy gate, test-driven feedback pinpoints a specific unmet behavior for the next iteration; this directly establishes that a patch that fails regression tests is diagnosed and corrected instead of relying on an unrelated workflow control.
Incorrect Answers
A:Although actionable feedback narrows the next edit and makes improvement measurable, that only supports the distinct goal that reviewer feedback points to a specific missed requirement, not the requirement that a patch that fails regression tests is diagnosed and corrected in a merge-request policy gate.
B:Although iteration includes detecting regressions and returning to a passing state, that only supports the distinct goal that regressions introduced during refinement are detected and fixed, not the requirement that a patch that fails regression tests is diagnosed and corrected in a merge-request policy gate.
C:In a merge-request policy gate, broad edits create new regression surfaces while the cause remains unclear; as a result, the stated requirement that a patch that fails regression tests is diagnosed and corrected would still not be met.
Question 172
Tests for a backend API maintenance team will pass only if an approved plan is translated into controlled edits and tests and if the assistant can use external service capabilities via MCP. Which proposed design directly satisfies both checks?
- exit the planning stage and perform scoped implementation with verification; and configure a compatible MCP server and expose its declared tools to the client
- exit the planning stage and perform scoped implementation with verification; and describe the external API in a prompt without connecting any tool
- remain in read-only planning and claim the code was updated; and configure a compatible MCP server and expose its declared tools to the client
- remain in read-only planning and claim the code was updated; and describe the external API in a prompt without connecting any tool
Explanation
Correct Answer
A:In a backend API maintenance team, planning describes intended operations while execution applies and checks them; alongside this, MCP bridges a client to provider-defined capabilities rather than inventing a Claude built-in, satisfying the distinct requirements that an approved plan is translated into controlled edits and tests and that the assistant can use external service capabilities via MCP.
Incorrect Answers
B:In a backend API maintenance team, planning describes intended operations while execution applies and checks them, 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.
C:In a backend API maintenance team, MCP bridges a client to provider-defined capabilities rather than inventing a Claude built-in, but a proposal alone does not modify repository state; therefore the separate requirement that an approved plan is translated into controlled edits and tests would remain unsatisfied.
D:In a backend API maintenance team, a proposal alone does not modify repository state and instructions cannot create an executable integration endpoint; the design would fail both conditions: an approved plan is translated into controlled edits and tests and the assistant can use external service capabilities via MCP.
Question 173
An audit of an automated test-generation workflow asks how to make sure that separate code modules can be inspected in parallel. Which implementation should be selected?
- define each subagent role and expose the minimum matching tools
- specify the question, allowed sources, expected output, and stopping criterion
- spawn independent specialists in the same delegation stage
- make the second specialist wait for the first even though their modules are independent
Explanation
Correct Answer
C:For an automated test-generation workflow, concurrent subagents can examine non-overlapping modules before the coordinator merges their reports; this directly establishes that separate code modules can be inspected in parallel instead of relying on an unrelated workflow control.
Incorrect Answers
A:Although tool scoping shrinks both decision confusion and the blast radius of delegated actions, that only supports the distinct goal that specialized agents work with only relevant permissions, not the requirement that separate code modules can be inspected in parallel in an automated test-generation workflow.
B:Although a task contract prevents specialist exploration from swallowing the coordinator's larger goal, that only supports the distinct goal that delegated investigations stay within bounded scope, not the requirement that separate code modules can be inspected in parallel in an automated test-generation workflow.
D:In an automated test-generation workflow, serialization wastes time without supplying a dependency; as a result, the stated requirement that separate code modules can be inspected in parallel would still not be met.
Question 174
Tests for a database migration coding project will pass only if all contributors receive the repository's stable engineering conventions and if the agent executes tests and examines their exit status. Which proposed design directly satisfies both checks?
- put team-wide rules only in one developer's user-level instructions; and inspect the test configuration only with Read and claim tests passed
- put concise shared guidance in the repository root CLAUDE.md; and inspect the test configuration only with Read and claim tests passed
- put team-wide rules only in one developer's user-level instructions; and use Bash with an approved test command
- put concise shared guidance in the repository root CLAUDE.md; and use Bash with an approved test command
Explanation
Correct Answer
D:In a database migration coding project, project instructions travel with the codebase and establish common architecture and build constraints; alongside this, the shell can run build tools and return execution feedback that Read cannot supply, satisfying the distinct requirements that all contributors receive the repository's stable engineering conventions and that the agent executes tests and examines their exit status.
Incorrect Answers
A:In a database migration coding project, personal files do not distribute the intended conventions to other contributors and reading configuration does not execute a test suite; the design would fail both conditions: all contributors receive the repository's stable engineering conventions and the agent executes tests and examines their exit status.
B:In a database migration coding project, project instructions travel with the codebase and establish common architecture and build constraints, 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.
C:In a database migration coding project, the shell can run build tools and return execution feedback that Read cannot supply, but personal files do not distribute the intended conventions to other contributors; therefore the separate requirement that all contributors receive the repository's stable engineering conventions would remain unsatisfied.
Question 175
A team operating a build verification pipeline wants to establish two separate behaviors: a common security rule remains active across the project; in addition, a broad tool catalog does not overwhelm a small task. Which plan implements both?
- keep project-wide security guidance in shared instructions rather than a narrow path glob; and supply only context-relevant tools for the current agent
- scope the security instruction only to one unrelated test directory; and load all available MCP tools into every specialist turn
- keep project-wide security guidance in shared instructions rather than a narrow path glob; and load all available MCP tools into every specialist turn
- scope the security instruction only to one unrelated test directory; and supply only context-relevant tools for the current agent
Explanation
Correct Answer
A:In a build verification pipeline, cross-cutting obligations should not disappear when an agent changes directories; alongside this, reducing irrelevant tool definitions improves selection and saves context, satisfying the distinct requirements that a common security rule remains active across the project and that a broad tool catalog does not overwhelm a small task.
Incorrect Answers
B:In a build verification pipeline, other code paths would lack the universal control and tool bloat makes the available actions harder to discriminate; the design would fail both conditions: a common security rule remains active across the project and a broad tool catalog does not overwhelm a small task.
C:In a build verification pipeline, cross-cutting obligations should not disappear when an agent changes directories, but tool bloat makes the available actions harder to discriminate; therefore the separate requirement that a broad tool catalog does not overwhelm a small task would remain unsatisfied.
D:In a build verification pipeline, reducing irrelevant tool definitions improves selection and saves context, but other code paths would lack the universal control; therefore the separate requirement that a common security rule remains active across the project would remain unsatisfied.
Question 176
The release checklist for a competitive benchmarking pipeline explicitly checks that a downstream subagent acts on concrete upstream results; it also checks that tool output is normalized before it enters the agent context. What coordinated solution meets the checklist?
- pass the preceding artifact identifier and a focused summary to the next agent; and use a PostToolUse processing hook to standardize the returned data
- send only a generic instruction to continue the work; and use a PostToolUse processing hook to standardize the returned data
- pass the preceding artifact identifier and a focused summary to the next agent; and preprocess only the original user message
- send only a generic instruction to continue the work; and preprocess only the original user message
Explanation
Correct Answer
A:In a competitive benchmarking pipeline, explicit handoff preserves the specific result that the dependent stage must process; 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 a downstream subagent acts on concrete upstream results and that tool output is normalized before it enters the agent context.
Incorrect Answers
B:In a competitive benchmarking pipeline, post-execution interception can clean result fields and attach useful status without changing the model's tool selection, 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.
C:In a competitive benchmarking pipeline, explicit handoff preserves the specific result that the dependent stage must process, 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.
D:In a competitive benchmarking pipeline, the later agent cannot know which evidence or state was produced previously and input normalization does not correct inconsistent tool outputs; the design would fail both conditions: a downstream subagent acts on concrete upstream results and tool output is normalized before it enters the agent context.
Question 177
While preparing a purchase-order parsing service for deployment, engineers must ensure that an unresolved claim is qualified without inventing certainty; they must also ensure that offline extraction cost is controlled without missing a service-level deadline. Which combination best satisfies those requirements?
- state a firm conclusion because the report needs a complete ending; and select the lowest-cost async path even for strict real-time actions
- state a firm conclusion because the report needs a complete ending; and compare batch turnaround with the workload's time requirements
- express the uncertainty and identify what verification is missing; and select the lowest-cost async path even for strict real-time actions
- express the uncertainty and identify what verification is missing; and compare batch turnaround with the workload's time requirements
Explanation
Correct Answer
D:In a purchase-order parsing service, calibrated language communicates a bounded evidence gap honestly; alongside this, asynchronous savings are appropriate only when delayed completion is acceptable, satisfying the distinct requirements that an unresolved claim is qualified without inventing certainty and that offline extraction cost is controlled without missing a service-level deadline.
Incorrect Answers
A:In a purchase-order parsing service, a polished narrative cannot supply missing corroboration and meeting a live deadline can matter more than per-request savings; the design would fail both conditions: an unresolved claim is qualified without inventing certainty and offline extraction cost is controlled without missing a service-level deadline.
B:In a purchase-order parsing service, asynchronous savings are appropriate only when delayed completion is acceptable, but a polished narrative cannot supply missing corroboration; therefore the separate requirement that an unresolved claim is qualified without inventing certainty would remain unsatisfied.
C:In a purchase-order parsing service, calibrated language communicates a bounded evidence gap honestly, but meeting a live deadline can matter more than per-request savings; therefore the separate requirement that offline extraction cost is controlled without missing a service-level deadline would remain unsatisfied.
Question 178
Before expanding a billing-dispute support agent, the owner must demonstrate that a paused server-side tool loop can continue without losing work, while also demonstrating that a new agent gets only durable context from a completed job. Which design provides both controls?
- preserve the paused assistant response and resume the server-tool turn; and initialize a fresh session with a verified structured summary
- restart from a blank conversation whenever pause_turn occurs; and paste a full historical transcript into every new session
- preserve the paused assistant response and resume the server-tool turn; and paste a full historical transcript into every new session
- restart from a blank conversation whenever pause_turn occurs; and initialize a fresh session with a verified structured summary
Explanation
Correct Answer
A:In a billing-dispute support agent, pause_turn indicates an internal tool loop pause rather than a user-facing conclusion; alongside this, a bounded handoff transfers necessary facts without carrying discarded trial-and-error context, satisfying the distinct requirements that a paused server-side tool loop can continue without losing work and that a new agent gets only durable context from a completed job.
Incorrect Answers
B:In a billing-dispute support agent, dropping tool context can repeat work and omit intermediate evidence and irrelevant turns can consume context and revive outdated assumptions; the design would fail both conditions: a paused server-side tool loop can continue without losing work and a new agent gets only durable context from a completed job.
C:In a billing-dispute support agent, pause_turn indicates an internal tool loop pause rather than a user-facing conclusion, but irrelevant turns can consume context and revive outdated assumptions; therefore the separate requirement that a new agent gets only durable context from a completed job would remain unsatisfied.
D:In a billing-dispute support agent, a bounded handoff transfers necessary facts without carrying discarded trial-and-error context, 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.
Question 179
While preparing an after-sales issue resolver for deployment, engineers must ensure that a tool receives a typed and bounded request; they must also ensure that an order adjustment uses the current order record. Which combination best satisfies those requirements?
- define required properties and types in the input schema and validate arguments at the execution boundary; and issue the update using details inferred only from conversation
- accept one unstructured free-text argument for every operation; and issue the update using details inferred only from conversation
- accept one unstructured free-text argument for every operation; and require the order lookup result before calculating or applying a change
- define required properties and types in the input schema and validate arguments at the execution boundary; and require the order lookup result before calculating or applying a change
- implement only require the order lookup result before calculating or applying a change; make no corresponding change for the first requirement
Explanation
Correct Answer
D:In an after-sales issue resolver, input schemas describe legal arguments, while explicit validation prevents unsupported values from reaching tool logic; alongside this, the dependent operation needs authoritative state and must not guess from the customer's description, satisfying the distinct requirements that a tool receives a typed and bounded request and that an order adjustment uses the current order record.
Incorrect Answers
A:In an after-sales issue resolver, input schemas describe legal arguments, while explicit validation prevents unsupported values from reaching tool logic, 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.
B:In an after-sales issue resolver, unconstrained prose leaves parsing and validation errors to ad hoc handler inference and unverified user text can reference the wrong order or outdated state; the design would fail both conditions: a tool receives a typed and bounded request and an order adjustment uses the current order record.
C:In an after-sales issue resolver, the dependent operation needs authoritative state and must not guess from the customer's description, 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.
E:In an after-sales issue resolver, the dependent operation needs authoritative state and must not guess from the customer's description, 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.
Question 180
During review of a product landscape research agent, an unmet criterion states that a long workflow preserves confirmed facts separately from speculation. Which measure resolves this specific gap?
- combine guesses and verified attributes in one unqualified summary
- pass a compact structured record of facts, decisions, pending tasks, and sources
- retrieve authoritative facts from a durable store when needed
- mark verified, user-reported, and unknown state explicitly
Explanation
Correct Answer
D:For a product landscape research agent, epistemic labels stop a tentative suggestion becoming a confirmed action parameter; this directly establishes that a long workflow preserves confirmed facts separately from speculation instead of relying on an unrelated workflow control.
Incorrect Answers
A:In a product landscape research agent, downstream operations may rely on an assumption as though it were checked; as a result, the stated requirement that a long workflow preserves confirmed facts separately from speculation would still not be met.
B:Although focused handoffs reduce context size while protecting continuity-critical details, that only supports the distinct goal that a handoff retains only action-relevant context, not the requirement that a long workflow preserves confirmed facts separately from speculation in a product landscape research agent.
C:Although re-reading source state restores precision that a condensed history cannot guarantee, that only supports the distinct goal that the agent can recover exact policy facts after compaction, not the requirement that a long workflow preserves confirmed facts separately from speculation in a product landscape research agent.