Question 130
The release checklist for a research PDF metadata pipeline explicitly checks that a machine consumer receives a schema-compliant JSON object; it also checks that policy decisions use measurable conditions rather than tone. What coordinated solution meets the checklist?
- use supported structured JSON output with a declared schema; and describe exact observable triggers and exception rules
- use supported structured JSON output with a declared schema; and ask the model to use its general intuition about severity
- rely only on a sentence requesting JSON with no validation; and describe exact observable triggers and exception rules
- rely only on a sentence requesting JSON with no validation; and ask the model to use its general intuition about severity
- implement only use supported structured JSON output with a declared schema; make no corresponding change for the second requirement
Explanation
Correct Answer
A:In a research PDF metadata pipeline, constrained output enforces parseable structure and required field types at generation; alongside this, operationalized criteria reduce disagreement across similar inputs, satisfying the distinct requirements that a machine consumer receives a schema-compliant JSON object and that policy decisions use measurable conditions rather than tone.
Incorrect Answers
B:In a research PDF metadata pipeline, constrained output enforces parseable structure and required field types at generation, but unquantified intuition varies between cases and reviewers; therefore the separate requirement that policy decisions use measurable conditions rather than tone would remain unsatisfied.
C:In a research PDF metadata pipeline, operationalized criteria reduce disagreement across similar inputs, 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.
D:In a research PDF metadata pipeline, prompt-only formatting can still produce malformed or incomplete results and unquantified intuition varies between cases and reviewers; the design would fail both conditions: a machine consumer receives a schema-compliant JSON object and policy decisions use measurable conditions rather than tone.
E:In a research PDF metadata pipeline, constrained output enforces parseable structure and required field types at generation, but the independent mechanism for the other criterion is absent: operationalized criteria reduce disagreement across similar inputs; as written, the design does not ensure that policy decisions use measurable conditions rather than tone.
Question 131
For a subscription support service, a reviewer identifies two independent obligations: refund execution is blocked until customer identity is verified and every high-impact tool invocation produces an audit event. Which proposal should be approved?
- enforce a prerequisite gate in application logic before the write tool; and infer tool activity from the final natural-language answer
- enforce a prerequisite gate in application logic before the write tool; and record the tool name, permitted inputs, outcome, and task identifier in a hook
- ask the assistant in prose to remember verification first; and infer tool activity from the final natural-language answer
- ask the assistant in prose to remember verification first; and record the tool name, permitted inputs, outcome, and task identifier in a hook
Explanation
Correct Answer
B:In a subscription support service, deterministic preconditions protect an irreversible operation even if the model proposes it early; alongside this, runtime instrumentation observes actual proposed or completed tool activity, satisfying the distinct requirements that refund execution is blocked until customer identity is verified and that every high-impact tool invocation produces an audit event.
Incorrect Answers
A:In a subscription support service, deterministic preconditions protect an irreversible operation even if the model proposes it early, but a summary can omit failed calls or delegated actions; therefore the separate requirement that every high-impact tool invocation produces an audit event would remain unsatisfied.
C:In a subscription support service, a prompt is advisory and does not technically block an unauthorized tool call and a summary can omit failed calls or delegated actions; the design would fail both conditions: refund execution is blocked until customer identity is verified and every high-impact tool invocation produces an audit event.
D:In a subscription support service, runtime instrumentation observes actual proposed or completed tool activity, 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.
Question 132
A team operating a code policy conformance job wants to establish two separate behaviors: a forced tool call still honors business authorization; in addition, a new source file is created from supplied content. Which plan implements both?
- combine tool_choice with server-side policy checks; and use Grep to create the source file
- treat a forced tool choice as equivalent to user approval; and use Grep to create the source file
- treat a forced tool choice as equivalent to user approval; and use Write for file creation
- combine tool_choice with server-side policy checks; and use Write for file creation
Explanation
Correct Answer
D:In a code policy conformance job, selection controls when a tool is proposed but does not grant permission to execute; alongside this, writing a new artifact is appropriate when no existing target needs surgical modification, satisfying the distinct requirements that a forced tool call still honors business authorization and that a new source file is created from supplied content.
Incorrect Answers
A:In a code policy conformance job, selection controls when a tool is proposed but does not grant permission to execute, 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.
B:In a code policy conformance job, tool selection and authorization are different controls and search utilities do not create code artifacts; the design would fail both conditions: a forced tool call still honors business authorization and a new source file is created from supplied content.
C:In a code policy conformance job, writing a new artifact is appropriate when no existing target needs surgical modification, but tool selection and authorization are different controls; therefore the separate requirement that a forced tool call still honors business authorization would remain unsatisfied.
Question 133
For a technical due-diligence report generator, a reviewer identifies two independent obligations: example selection stays relevant to the current workload and multiple draft branches are merged without contradictory statements. Which proposal should be approved?
- use a compact sample covering common cases and one important edge case; and create a reconciliation stage that checks citations and resolves overlaps
- use a compact sample covering common cases and one important edge case; and concatenate every agent's conclusion into the final report
- include dozens of unrelated demonstrations from other domains; and concatenate every agent's conclusion into the final report
- include dozens of unrelated demonstrations from other domains; and create a reconciliation stage that checks citations and resolves overlaps
Explanation
Correct Answer
A:In a technical due-diligence report generator, high-signal examples guide the task without overloading context; alongside this, synthesis must select mutually consistent claims with defensible evidence, satisfying the distinct requirements that example selection stays relevant to the current workload and that multiple draft branches are merged without contradictory statements.
Incorrect Answers
B:In a technical due-diligence report generator, high-signal examples guide the task without overloading context, but raw merger preserves disagreements and duplicated statements; therefore the separate requirement that multiple draft branches are merged without contradictory statements would remain unsatisfied.
C:In a technical due-diligence report generator, irrelevant examples dilute the pattern and consume tokens and raw merger preserves disagreements and duplicated statements; the design would fail both conditions: example selection stays relevant to the current workload and multiple draft branches are merged without contradictory statements.
D:In a technical due-diligence report generator, synthesis must select mutually consistent claims with defensible evidence, 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.
Question 134
When designing a legacy service decomposition, the requirement is not satisfied unless tool output is normalized before it enters the agent context and a conversational task does not invoke tools needlessly. Which implementation addresses the two independent conditions?
- use a PostToolUse processing hook to standardize the returned data; and use automatic tool choice when a call is optional
- use a PostToolUse processing hook to standardize the returned data; and force a tool on every message regardless of intent
- preprocess only the original user message; and force a tool on every message regardless of intent
- preprocess only the original user message; and use automatic tool choice when a call is optional
Explanation
Correct Answer
A:In a legacy service decomposition, post-execution interception can clean result fields and attach useful status without changing the model's tool selection; alongside this, auto allows the model to answer directly when no external side effect or fresh data is needed, satisfying the distinct requirements that tool output is normalized before it enters the agent context and that a conversational task does not invoke tools needlessly.
Incorrect Answers
B:In a legacy service decomposition, post-execution interception can clean result fields and attach useful status without changing the model's tool selection, but mandatory calls add latency and can invoke irrelevant operations; therefore the separate requirement that a conversational task does not invoke tools needlessly would remain unsatisfied.
C:In a legacy service decomposition, input normalization does not correct inconsistent tool outputs and mandatory calls add latency and can invoke irrelevant operations; the design would fail both conditions: tool output is normalized before it enters the agent context and a conversational task does not invoke tools needlessly.
D:In a legacy service decomposition, auto allows the model to answer directly when no external side effect or fresh data is needed, 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.
Question 135
For a structured report conversion service, acceptance depends on demonstrating that the retry process does not create duplicate records. Which approach is the strongest fit?
- record validation failure codes and field paths per attempt
- insert a fresh record on every model retry
- stop after defined retries and route unresolved cases to a reviewer
- assign stable source identifiers and deduplicate writes
- retain the original source, response version, and retry feedback
Explanation
Correct Answer
D:For a structured report conversion service, idempotent processing separates repeated model attempts from committed business mutations; this directly establishes that the retry process does not create duplicate records instead of relying on an unrelated workflow control.
Incorrect Answers
A:Although granular observability reveals schema weaknesses and document patterns, that only supports the distinct goal that the team can diagnose which fields repeatedly fail extraction, not the requirement that the retry process does not create duplicate records in a structured report conversion service.
B:In a structured report conversion service, repeated extraction attempts could create duplicate downstream state; as a result, the stated requirement that the retry process does not create duplicate records would still not be met.
C:Although a bounded escalation path prevents infinite loops and invented resolutions, that only supports the distinct goal that persistent ambiguous data receives human review, not the requirement that the retry process does not create duplicate records in a structured report conversion service.
E:Although traceable attempts allow auditors to distinguish correction from silent overwrite, that only supports the distinct goal that a corrected attempt preserves a record of prior validation findings, not the requirement that the retry process does not create duplicate records in a structured report conversion service.
Question 136
An architecture review of a cross-service developer portal finds two missing guarantees: a team compares two candidate patches against the same baseline; the assistant locates files containing a particular symbol or string. What two-part change closes both gaps?
- evaluate alternatives using the same tests and scoped diffs; and use Grep to search file contents
- choose whichever patch has the more persuasive natural-language summary; and use Grep to search file contents
- evaluate alternatives using the same tests and scoped diffs; and scan only filenames with Glob
- choose whichever patch has the more persuasive natural-language summary; and scan only filenames with Glob
Explanation
Correct Answer
A:In a cross-service developer portal, consistent acceptance evidence reveals which candidate improves the relevant behavior; alongside this, text search locates occurrences efficiently before focused reading, satisfying the distinct requirements that a team compares two candidate patches against the same baseline and that the assistant locates files containing a particular symbol or string.
Incorrect Answers
B:In a cross-service developer portal, text search locates occurrences efficiently before focused 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.
C:In a cross-service developer portal, consistent acceptance evidence reveals which candidate improves the relevant behavior, but path matching does not inspect symbol occurrences inside files; therefore the separate requirement that the assistant locates files containing a particular symbol or string would remain unsatisfied.
D:In a cross-service developer portal, rhetorical fluency does not establish code correctness and path matching does not inspect symbol occurrences inside files; the design would fail both conditions: a team compares two candidate patches against the same baseline and the assistant locates files containing a particular symbol or string.
Question 137
Tests for an automated CI review service will pass only if the CI parser receives predictable machine-readable Claude output and if developers can explicitly invoke an established project procedure. Which proposed design directly satisfies both checks?
- request the CLI JSON output format and parse its documented structure; and make the skill available under a recognizable slash invocation
- scrape a human-oriented terminal transcript with regular expressions; and make the skill available under a recognizable slash invocation
- scrape a human-oriented terminal transcript with regular expressions; and write undocumented one-off ad hoc prompts for each engineer
- request the CLI JSON output format and parse its documented structure; and write undocumented one-off ad hoc prompts for each engineer
Explanation
Correct Answer
A:In an automated CI review service, machine-readable envelopes avoid brittle extraction from colored console prose; alongside this, a discoverable workflow gives the team a consistent entry point for repetitive work, satisfying the distinct requirements that the CI parser receives predictable machine-readable Claude output and that developers can explicitly invoke an established project procedure.
Incorrect Answers
B:In an automated CI review service, a discoverable workflow gives the team a consistent entry point for repetitive work, but presentation formatting can change and break the parser; therefore the separate requirement that the CI parser receives predictable machine-readable Claude output would remain unsatisfied.
C:In an automated CI review service, presentation formatting can change and break the parser and unshared prompts make results hard to reproduce and review; the design would fail both conditions: the CI parser receives predictable machine-readable Claude output and developers can explicitly invoke an established project procedure.
D:In an automated CI review service, machine-readable envelopes avoid brittle extraction from colored console prose, but unshared prompts make results hard to reproduce and review; therefore the separate requirement that developers can explicitly invoke an established project procedure would remain unsatisfied.
Question 138
For a service refactoring initiative, a reviewer identifies two independent obligations: agents exchange outputs without losing important structure and a large investigation spans unrelated subsystems. Which proposal should be approved?
- pass raw chat logs between every stage; and give every specialist the complete monorepo transcript
- define artifact schemas and handoff contracts between roles; and give every specialist the complete monorepo transcript
- pass raw chat logs between every stage; and delegate bounded subsystem searches and merge path-based findings
- define artifact schemas and handoff contracts between roles; and delegate bounded subsystem searches and merge path-based findings
Explanation
Correct Answer
D:In a service refactoring initiative, bounded interfaces make missing fields and incompatible assumptions visible; alongside this, subsystem partitioning permits parallel work without duplicating full repository context, satisfying the distinct requirements that agents exchange outputs without losing important structure and that a large investigation spans unrelated subsystems.
Incorrect Answers
A:In a service refactoring initiative, unstructured context is noisy and can obscure the decision fields and each branch pays the same large context cost and increases noise; the design would fail both conditions: agents exchange outputs without losing important structure and a large investigation spans unrelated subsystems.
B:In a service refactoring initiative, bounded interfaces make missing fields and incompatible assumptions visible, but each branch pays the same large context cost and increases noise; therefore the separate requirement that a large investigation spans unrelated subsystems would remain unsatisfied.
C:In a service refactoring initiative, subsystem partitioning permits parallel work without duplicating full repository context, but unstructured context is noisy and can obscure the decision fields; therefore the separate requirement that agents exchange outputs without losing important structure would remain unsatisfied.
Question 139
A team operating a merge-request policy gate wants to establish two separate behaviors: developers can explicitly invoke an established project procedure; in addition, few-shot material does not contain contradictory answer labels. Which plan implements both?
- write undocumented one-off ad hoc prompts for each engineer; and keep historical examples even after the labeling policy changes
- make the skill available under a recognizable slash invocation; and keep historical examples even after the labeling policy changes
- make the skill available under a recognizable slash invocation; and audit examples against the current decision rubric before use
- write undocumented one-off ad hoc prompts for each engineer; and audit examples against the current decision rubric before use
Explanation
Correct Answer
C:In a merge-request policy gate, a discoverable workflow gives the team a consistent entry point for repetitive work; alongside this, consistent labels reinforce the intended criteria rather than training ambiguity into the prompt, satisfying the distinct requirements that developers can explicitly invoke an established project procedure and that few-shot material does not contain contradictory answer labels.
Incorrect Answers
A:In a merge-request policy gate, unshared prompts make results hard to reproduce and review and stale demonstrations can contradict the updated standard; the design would fail both conditions: developers can explicitly invoke an established project procedure and few-shot material does not contain contradictory answer labels.
B:In a merge-request policy gate, a discoverable workflow gives the team a consistent entry point for repetitive work, but stale demonstrations can contradict the updated standard; therefore the separate requirement that few-shot material does not contain contradictory answer labels would remain unsatisfied.
D:In a merge-request policy gate, consistent labels reinforce the intended criteria rather than training ambiguity into the prompt, but unshared prompts make results hard to reproduce and review; therefore the separate requirement that developers can explicitly invoke an established project procedure would remain unsatisfied.
Question 140
In a technical review of a customer refund workflow, the architect must address the following constraints together: a consequential claim receives independent human sign-off; the team can diagnose which fields repeatedly fail extraction. Which change set is most defensible?
- accept model confidence as a substitute for authorization; and record validation failure codes and field paths per attempt
- route high-impact or low-evidence results to an authorized reviewer; and log only the final success-or-failure boolean
- accept model confidence as a substitute for authorization; and log only the final success-or-failure boolean
- route high-impact or low-evidence results to an authorized reviewer; and record validation failure codes and field paths per attempt
Explanation
Correct Answer
D:In a customer refund workflow, human approval supplies accountability where a mistaken model result has material cost; alongside this, granular observability reveals schema weaknesses and document patterns, satisfying the distinct requirements that a consequential claim receives independent human sign-off and that the team can diagnose which fields repeatedly fail extraction.
Incorrect Answers
A:In a customer refund workflow, granular observability reveals schema weaknesses and document patterns, but a model score does not confer business or legal authority; therefore the separate requirement that a consequential claim receives independent human sign-off would remain unsatisfied.
B:In a customer refund workflow, human approval supplies accountability where a mistaken model result has material cost, but an aggregate flag hides the source of extraction errors; therefore the separate requirement that the team can diagnose which fields repeatedly fail extraction would remain unsatisfied.
C:In a customer refund workflow, a model score does not confer business or legal authority and an aggregate flag hides the source of extraction errors; the design would fail both conditions: a consequential claim receives independent human sign-off and the team can diagnose which fields repeatedly fail extraction.