Question 320
An incident postmortem for a shipping-exception helpdesk requires controls so that an out-of-policy request is escalated consistently and that a classification uses a limited approved category set. Which paired remedy covers both failure modes?
- escalate only when the customer's sentiment is strongly negative; and define precise output labels and mapping rules
- use an explicit exception trigger and designated human review queue; and allow a free-form category for each case
- use an explicit exception trigger and designated human review queue; and define precise output labels and mapping rules
- escalate only when the customer's sentiment is strongly negative; and allow a free-form category for each case
- implement only use an explicit exception trigger and designated human review queue; make no corresponding change for the second requirement
Explanation
Correct Answer
C:In a shipping-exception helpdesk, policy-driven routing is predictable across changes in user tone; alongside this, controlled categories reduce schema drift and make downstream analytics comparable, satisfying the distinct requirements that an out-of-policy request is escalated consistently and that a classification uses a limited approved category set.
Incorrect Answers
A:In a shipping-exception helpdesk, controlled categories reduce schema drift and make downstream analytics comparable, but calmly phrased exceptions still exceed the agent's authority; therefore the separate requirement that an out-of-policy request is escalated consistently would remain unsatisfied.
B:In a shipping-exception helpdesk, policy-driven routing is predictable across changes in user tone, but unbounded labels fragment the intended taxonomy; therefore the separate requirement that a classification uses a limited approved category set would remain unsatisfied.
D:In a shipping-exception helpdesk, calmly phrased exceptions still exceed the agent's authority and unbounded labels fragment the intended taxonomy; the design would fail both conditions: an out-of-policy request is escalated consistently and a classification uses a limited approved category set.
E:In a shipping-exception helpdesk, policy-driven routing is predictable across changes in user tone, but the independent mechanism for the other criterion is absent: controlled categories reduce schema drift and make downstream analytics comparable; as written, the design does not ensure that a classification uses a limited approved category set.
Question 321
A team operating a test failure triage bot wants to establish two separate behaviors: a pipeline gate reflects objective test outcomes; in addition, a repeatable code-review procedure is available as a named workflow. Which plan implements both?
- implement only run tests and use actual exit codes and artifacts for the pass decision; make no corresponding change for the second requirement
- accept a green status based on a model-written test summary alone; and create a documented reusable skill in SKILL.md
- run tests and use actual exit codes and artifacts for the pass decision; and retype the entire procedure in every conversation
- run tests and use actual exit codes and artifacts for the pass decision; and create a documented reusable skill in SKILL.md
- accept a green status based on a model-written test summary alone; and retype the entire procedure in every conversation
Explanation
Correct Answer
D:In a test failure triage bot, external deterministic checks prevent an assistant summary from declaring unexecuted tests successful; alongside this, skills package instructions and supporting resources for invocation across similar tasks, satisfying the distinct requirements that a pipeline gate reflects objective test outcomes and that a repeatable code-review procedure is available as a named workflow.
Incorrect Answers
A:In a test failure triage bot, external deterministic checks prevent an assistant summary from declaring unexecuted tests successful, but the independent mechanism for the other criterion is absent: skills package instructions and supporting resources for invocation across similar tasks; as written, the design does not ensure that a repeatable code-review procedure is available as a named workflow.
B:In a test failure triage bot, skills package instructions and supporting resources for invocation across similar tasks, but a textual report may not correspond to any test execution; therefore the separate requirement that a pipeline gate reflects objective test outcomes would remain unsatisfied.
C:In a test failure triage bot, external deterministic checks prevent an assistant summary from declaring unexecuted tests successful, but manual repetition produces drift and loses shared revisions; therefore the separate requirement that a repeatable code-review procedure is available as a named workflow would remain unsatisfied.
E:In a test failure triage bot, a textual report may not correspond to any test execution and manual repetition produces drift and loses shared revisions; the design would fail both conditions: a pipeline gate reflects objective test outcomes and a repeatable code-review procedure is available as a named workflow.
Question 322
While preparing an order-status triage agent for deployment, engineers must ensure that several requested client tools are returned in one response; they must also ensure that a selector accepts only supported operation names. Which combination best satisfies those requirements?
- execute only the first returned tool call; and ask the model to invent a suitable action string
- execute every tool_use block and return a result with each corresponding ID; and ask the model to invent a suitable action string
- execute only the first returned tool call; and declare an operation enum in the schema and reject values outside it in the tool handler
- execute every tool_use block and return a result with each corresponding ID; and declare an operation enum in the schema and reject values outside it in the tool handler
- implement only declare an operation enum in the schema and reject values outside it in the tool handler; make no corresponding change for the first requirement
Explanation
Correct Answer
D:In an order-status triage agent, a multi-tool assistant turn can request independent actions and must receive all matching outcomes; alongside this, schema constraints guide valid selections and runtime validation blocks unsupported operation values, satisfying the distinct requirements that several requested client tools are returned in one response and that a selector accepts only supported operation names.
Incorrect Answers
A:In an order-status triage agent, the unanswered tool uses remain unresolved and later reasoning loses evidence and free-form labels can name unimplemented operations, and a prompt is not an enforced allowlist; the design would fail both conditions: several requested client tools are returned in one response and a selector accepts only supported operation names.
B:In an order-status triage agent, a multi-tool assistant turn can request independent actions and must receive all matching outcomes, but free-form labels can name unimplemented operations, and a prompt is not an enforced allowlist; therefore the separate requirement that a selector accepts only supported operation names would remain unsatisfied.
C:In an order-status triage agent, schema constraints guide valid selections and runtime validation blocks unsupported operation values, but the unanswered tool uses remain unresolved and later reasoning loses evidence; therefore the separate requirement that several requested client tools are returned in one response would remain unsatisfied.
E:In an order-status triage agent, schema constraints guide valid selections and runtime validation blocks unsupported operation values, but the independent mechanism for the other criterion is absent: a multi-tool assistant turn can request independent actions and must receive all matching outcomes; as written, the design does not ensure that several requested client tools are returned in one response.
Question 323
In a security-advisory aggregation workflow, the immediate design requirement is that each tool interface has a single clear operation boundary. Which change most directly establishes that behavior?
- return structured identifiers, status, and provenance with the data
- separate read-only lookup from side-effecting update interfaces
- use a single universal tool that infers read versus write from prose
- document examples and conditions where each tool must not be used
Explanation
Correct Answer
B:For a security-advisory aggregation workflow, clear operation boundaries support least privilege and understandable approvals; this directly establishes that each tool interface has a single clear operation boundary instead of relying on an unrelated workflow control.
Incorrect Answers
A:Although machine-readable outputs let downstream stages validate exactly what was retrieved, that only supports the distinct goal that a tool result includes enough fields to support audit and follow-on actions, not the requirement that each tool interface has a single clear operation boundary in a security-advisory aggregation workflow.
C:In a security-advisory aggregation workflow, overloading hides effects and makes execution review harder; as a result, the stated requirement that each tool interface has a single clear operation boundary would still not be met.
D:Although contrastive guidance helps tool choice when resource names look similar, that only supports the distinct goal that near-overlapping retrieval tools are selected by actual boundary, not the requirement that each tool interface has a single clear operation boundary in a security-advisory aggregation workflow.
Question 324
In a technical review of a multi-repository troubleshooting agent, the architect must address the following constraints together: the developer inspects a suspicious implementation in context; one specialist's crash does not discard other verified outputs. Which change set is most defensible?
- read targeted code ranges and nearby dependencies; and isolate branch failures and preserve completed artifacts for coordination
- read targeted code ranges and nearby dependencies; and restart every agent and erase prior results after a single crash
- replace source inspection with a guessed architecture overview; and isolate branch failures and preserve completed artifacts for coordination
- replace source inspection with a guessed architecture overview; and restart every agent and erase prior results after a single crash
Explanation
Correct Answer
A:In a multi-repository troubleshooting agent, focused inspection preserves exact implementation detail without loading the whole codebase; alongside this, fault containment avoids losing good work while a failed branch is repaired, satisfying the distinct requirements that the developer inspects a suspicious implementation in context and that one specialist's crash does not discard other verified outputs.
Incorrect Answers
B:In a multi-repository troubleshooting agent, focused inspection preserves exact implementation detail without loading the whole codebase, but unaffected branches would be redone and provenance could be lost; therefore the separate requirement that one specialist's crash does not discard other verified outputs would remain unsatisfied.
C:In a multi-repository troubleshooting agent, fault containment avoids losing good work while a failed branch is repaired, but a general overview cannot verify the specific logic being debugged; therefore the separate requirement that the developer inspects a suspicious implementation in context would remain unsatisfied.
D:In a multi-repository troubleshooting agent, a general overview cannot verify the specific logic being debugged and unaffected branches would be redone and provenance could be lost; the design would fail both conditions: the developer inspects a suspicious implementation in context and one specialist's crash does not discard other verified outputs.
Question 325
An architecture review of a warranty claims assistant finds two missing guarantees: refund execution is blocked until customer identity is verified; tool responses are associated with the exact invocations that produced them. What two-part change closes both gaps?
- enforce a prerequisite gate in application logic before the write tool; and return tool_result blocks using the original tool_use_id values
- ask the assistant in prose to remember verification first; and return tool_result blocks using the original tool_use_id values
- ask the assistant in prose to remember verification first; and return tool results with newly invented identifiers
- enforce a prerequisite gate in application logic before the write tool; and return tool results with newly invented identifiers
Explanation
Correct Answer
A:In a warranty claims assistant, deterministic preconditions protect an irreversible operation even if the model proposes it early; alongside this, correlation identifiers bind asynchronous or parallel results to the right requests, satisfying the distinct requirements that refund execution is blocked until customer identity is verified and that tool responses are associated with the exact invocations that produced them.
Incorrect Answers
B:In a warranty claims assistant, correlation identifiers bind asynchronous or parallel results to the right requests, but a prompt is advisory and does not technically block an unauthorized tool call; therefore the separate requirement that refund execution is blocked until customer identity is verified would remain unsatisfied.
C:In a warranty claims assistant, a prompt is advisory and does not technically block an unauthorized tool call and the model cannot reliably associate a result with an outstanding call; the design would fail both conditions: refund execution is blocked until customer identity is verified and tool responses are associated with the exact invocations that produced them.
D:In a warranty claims assistant, deterministic preconditions protect an irreversible operation even if the model proposes it early, but the model cannot reliably associate a result with an outstanding call; therefore the separate requirement that tool responses are associated with the exact invocations that produced them would remain unsatisfied.
Question 326
For an analyst research coordinator, a reviewer identifies two independent obligations: offline extraction cost is controlled without missing a service-level deadline and a formatter handles diverse legitimate examples consistently. Which proposal should be approved?
- compare batch turnaround with the workload's time requirements; and supply only a bare instruction to keep formatting consistent
- select the lowest-cost async path even for strict real-time actions; and supply only a bare instruction to keep formatting consistent
- compare batch turnaround with the workload's time requirements; and give a small set of representative input-output demonstrations
- select the lowest-cost async path even for strict real-time actions; and give a small set of representative input-output demonstrations
Explanation
Correct Answer
C:In an analyst research coordinator, asynchronous savings are appropriate only when delayed completion is acceptable; alongside this, few-shot examples show the intended mapping more concretely than broad style adjectives, satisfying the distinct requirements that offline extraction cost is controlled without missing a service-level deadline and that a formatter handles diverse legitimate examples consistently.
Incorrect Answers
A:In an analyst research coordinator, asynchronous savings are appropriate only when delayed completion is acceptable, but abstract instructions leave many output choices open; therefore the separate requirement that a formatter handles diverse legitimate examples consistently would remain unsatisfied.
B:In an analyst research coordinator, meeting a live deadline can matter more than per-request savings and abstract instructions leave many output choices open; the design would fail both conditions: offline extraction cost is controlled without missing a service-level deadline and a formatter handles diverse legitimate examples consistently.
D:In an analyst research coordinator, few-shot examples show the intended mapping more concretely than broad style adjectives, 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 327
During review of a payment microservice repository, an unmet criterion states that all contributors receive the repository's stable engineering conventions. Which measure resolves this specific gap?
- place personal instructions in the user-level CLAUDE.md
- audit overlapping CLAUDE.md files and resolve instruction contradictions
- keep the top-level instruction set concise and move specialized details to scoped files
- put team-wide rules only in one developer's user-level instructions
- put concise shared guidance in the repository root CLAUDE.md
Explanation
Correct Answer
E:For a payment microservice repository, project instructions travel with the codebase and establish common architecture and build constraints; this directly establishes that all contributors receive the repository's stable engineering conventions instead of relying on an unrelated workflow control.
Incorrect Answers
A:Although global personal guidance is available to that user's sessions without committing preferences to the project, that only supports the distinct goal that a developer has private preferences that should not change team guidance, not the requirement that all contributors receive the repository's stable engineering conventions in a payment microservice repository.
B:Although clear ownership and scope prevent two directions from competing in the same coding task, that only supports the distinct goal that conflicting guidance from different files is detected before rollout, not the requirement that all contributors receive the repository's stable engineering conventions in a payment microservice repository.
C:Although focused guidance preserves useful context and reduces instruction competition, that only supports the distinct goal that project guidance fits within a limited context budget, not the requirement that all contributors receive the repository's stable engineering conventions in a payment microservice repository.
D:In a payment microservice repository, personal files do not distribute the intended conventions to other contributors; as a result, the stated requirement that all contributors receive the repository's stable engineering conventions would still not be met.
Question 328
In a procurement document processing system, the engineering team must guarantee that file writes are blocked outside an approved workspace. What is the most appropriate control?
- interrupt or deny the tool until an authorization callback approves it
- check resolved target paths in the pre-tool policy gate
- tell the model not to leave the workspace
- record the tool name, permitted inputs, outcome, and task identifier in a hook
Explanation
Correct Answer
B:For a procurement document processing system, a boundary check on the actual tool argument enforces the permitted filesystem scope; this directly establishes that file writes are blocked outside an approved workspace instead of relying on an unrelated workflow control.
Incorrect Answers
A:Although execution gates make the approval binding on the selected action and inputs, that only supports the distinct goal that a destructive tool receives human authorization at execution time, not the requirement that file writes are blocked outside an approved workspace in a procurement document processing system.
C:In a procurement document processing system, language instructions do not intercept a disallowed filesystem operation; as a result, the stated requirement that file writes are blocked outside an approved workspace would still not be met.
D:Although runtime instrumentation observes actual proposed or completed tool activity, that only supports the distinct goal that every high-impact tool invocation produces an audit event, not the requirement that file writes are blocked outside an approved workspace in a procurement document processing system.
Question 329
In a test failure triage bot, the acceptance criteria require that a pipeline gate reflects objective test outcomes and that the implementation plan receives stakeholder sign-off. Which paired implementation meets both?
- accept a green status based on a model-written test summary alone; and present ordered changes, risks, and verification steps before switching to execution
- accept a green status based on a model-written test summary alone; and treat the agent's internally generated plan as implicit approval
- run tests and use actual exit codes and artifacts for the pass decision; and treat the agent's internally generated plan as implicit approval
- run tests and use actual exit codes and artifacts for the pass decision; and present ordered changes, risks, and verification steps before switching to execution
Explanation
Correct Answer
D:In a test failure triage bot, external deterministic checks prevent an assistant summary from declaring unexecuted tests successful; alongside this, an explicit review point aligns the agent's work with the authorized scope, satisfying the distinct requirements that a pipeline gate reflects objective test outcomes and that the implementation plan receives stakeholder sign-off.
Incorrect Answers
A:In a test failure triage bot, an explicit review point aligns the agent's work with the authorized scope, but a textual report may not correspond to any test execution; therefore the separate requirement that a pipeline gate reflects objective test outcomes would remain unsatisfied.
B:In a test failure triage bot, a textual report may not correspond to any test execution and the system cannot infer external authorization from its own reasoning; the design would fail both conditions: a pipeline gate reflects objective test outcomes and the implementation plan receives stakeholder sign-off.
C:In a test failure triage bot, external deterministic checks prevent an assistant summary from declaring unexecuted tests successful, but the system cannot infer external authorization from its own reasoning; therefore the separate requirement that the implementation plan receives stakeholder sign-off would remain unsatisfied.
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?
- use the CLI structured-output schema option for the response
- run tests and use actual exit codes and artifacts for the pass decision
- persist structured errors, relevant logs, and a bounded diagnostic summary
- 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.