Question 360
The release gate for a financial statement data extractor requires that an extractor always returns the identifiers required by downstream code; it also requires that a classification uses a limited approved category set. Which TWO actions meet the specified checks? Choose TWO.
- define precise output labels and mapping rules
- declare mandatory schema fields in the required list
- allow a free-form category for each case
- treat every identifier as an optional free-form note
Explanation
Correct Answers
A:For a financial statement data extractor, controlled categories reduce schema drift and make downstream analytics comparable, which directly establishes that a classification uses a limited approved category set; the separate requirement that an extractor always returns the identifiers required by downstream code is handled by a different action.
B:For a financial statement data extractor, required properties prevent accidental omission of key attributes, which directly establishes that an extractor always returns the identifiers required by downstream code; the separate requirement that a classification uses a limited approved category set is handled by a different action.
Incorrect Answers
C:For a financial statement data extractor, unbounded labels fragment the intended taxonomy, so this option cannot establish that a classification uses a limited approved category set; correctly addressing an extractor always returns the identifiers required by downstream code elsewhere does not repair that deficiency.
D:For a financial statement data extractor, the consumer cannot reliably rely on a field that may be omitted, so this option cannot establish that an extractor always returns the identifiers required by downstream code; correctly addressing a classification uses a limited approved category set elsewhere does not repair that deficiency.
Question 361
Tests for a pre-merge code inspection workflow will pass only if a specialist handoff retains its prerequisites and evidence and if the assistant locates files containing a particular symbol or string. Which proposed design directly satisfies both checks?
- send a structured state packet with completed checks and unresolved decisions; and scan only filenames with Glob
- send a structured state packet with completed checks and unresolved decisions; and use Grep to search file contents
- handoff only a conversational sentence saying the stage is finished; and scan only filenames with Glob
- handoff only a conversational sentence saying the stage is finished; and use Grep to search file contents
Explanation
Correct Answer
B:In a pre-merge code inspection workflow, a typed transition preserves obligations and facts between workflow stages; alongside this, text search locates occurrences efficiently before focused reading, satisfying the distinct requirements that a specialist handoff retains its prerequisites and evidence and that the assistant locates files containing a particular symbol or string.
Incorrect Answers
A:In a pre-merge code inspection workflow, a typed transition preserves obligations and facts between workflow stages, 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.
C:In a pre-merge code inspection workflow, the receiving stage cannot audit what actually passed and path matching does not inspect symbol occurrences inside files; the design would fail both conditions: a specialist handoff retains its prerequisites and evidence and the assistant locates files containing a particular symbol or string.
D:In a pre-merge code inspection workflow, text search locates occurrences efficiently before focused reading, but the receiving stage cannot audit what actually passed; therefore the separate requirement that a specialist handoff retains its prerequisites and evidence would remain unsatisfied.
Question 362
Production readiness for a database migration coding project depends on ensuring that a destructive tool receives human authorization at execution time and that context reduction does not erase unresolved obligations. Select the most appropriate combined approach.
- interrupt or deny the tool until an authorization callback approves it; and assume the agent will recall every open action from memory
- collect a general approval at the start of the conversation; and track pending approvals and required next steps in durable task state
- collect a general approval at the start of the conversation; and assume the agent will recall every open action from memory
- implement only interrupt or deny the tool until an authorization callback approves it; make no corresponding change for the second requirement
- interrupt or deny the tool until an authorization callback approves it; and track pending approvals and required next steps in durable task state
Explanation
Correct Answer
E:In a database migration coding project, execution gates make the approval binding on the selected action and inputs; alongside this, persisted obligations survive when natural-language history is shortened, satisfying the distinct requirements that a destructive tool receives human authorization at execution time and that context reduction does not erase unresolved obligations.
Incorrect Answers
A:In a database migration coding project, execution gates make the approval binding on the selected action and inputs, but window truncation can drop an outstanding approval or escalation; therefore the separate requirement that context reduction does not erase unresolved obligations would remain unsatisfied.
B:In a database migration coding project, persisted obligations survive when natural-language history is shortened, but blanket consent does not verify the later high-risk operation; therefore the separate requirement that a destructive tool receives human authorization at execution time would remain unsatisfied.
C:In a database migration coding project, blanket consent does not verify the later high-risk operation and window truncation can drop an outstanding approval or escalation; the design would fail both conditions: a destructive tool receives human authorization at execution time and context reduction does not erase unresolved obligations.
D:In a database migration coding project, execution gates make the approval binding on the selected action and inputs, but the independent mechanism for the other criterion is absent: persisted obligations survive when natural-language history is shortened; as written, the design does not ensure that context reduction does not erase unresolved obligations.
Question 363
An incident postmortem for a code-reference retrieval assistant requires controls so that path-scoped rules are loaded for all intended source directories and that secrets are not embedded in a shared MCP setup. Which paired remedy covers both failure modes?
- update the rule's paths glob to include the actual target paths; and inject credentials through approved environment or secret-management mechanisms
- update the rule's paths glob to include the actual target paths; and place long-lived access tokens directly in .mcp.json
- add more prose telling the model to remember the missing rule; and place long-lived access tokens directly in .mcp.json
- implement only update the rule's paths glob to include the actual target paths; make no corresponding change for the second requirement
- add more prose telling the model to remember the missing rule; and inject credentials through approved environment or secret-management mechanisms
Explanation
Correct Answer
A:In a code-reference retrieval assistant, correct glob coverage determines whether conditional guidance is in context; alongside this, separating credentials from versioned configuration limits accidental disclosure, satisfying the distinct requirements that path-scoped rules are loaded for all intended source directories and that secrets are not embedded in a shared MCP setup.
Incorrect Answers
B:In a code-reference retrieval assistant, correct glob coverage determines whether conditional guidance is in context, but repository history can expose tokens to everyone with code access; therefore the separate requirement that secrets are not embedded in a shared MCP setup would remain unsatisfied.
C:In a code-reference retrieval assistant, instructions outside the matched scope still will not be loaded and repository history can expose tokens to everyone with code access; the design would fail both conditions: path-scoped rules are loaded for all intended source directories and secrets are not embedded in a shared MCP setup.
D:In a code-reference retrieval assistant, correct glob coverage determines whether conditional guidance is in context, but the independent mechanism for the other criterion is absent: separating credentials from versioned configuration limits accidental disclosure; as written, the design does not ensure that secrets are not embedded in a shared MCP setup.
E:In a code-reference retrieval assistant, separating credentials from versioned configuration limits accidental disclosure, but instructions outside the matched scope still will not be loaded; therefore the separate requirement that path-scoped rules are loaded for all intended source directories would remain unsatisfied.
Question 364
In a technical review of a cross-platform application migration, the architect must address the following constraints together: delegated investigations stay within bounded scope; the agent executes tests and examines their exit status. Which change set is most defensible?
- specify the question, allowed sources, expected output, and stopping criterion; and use Bash with an approved test command
- specify the question, allowed sources, expected output, and stopping criterion; and inspect the test configuration only with Read and claim tests passed
- ask every subagent to investigate everything it can find; and inspect the test configuration only with Read and claim tests passed
- ask every subagent to investigate everything it can find; and use Bash with an approved test command
Explanation
Correct Answer
A:In a cross-platform application migration, a task contract prevents specialist exploration from swallowing the coordinator's larger goal; alongside this, the shell can run build tools and return execution feedback that Read cannot supply, satisfying the distinct requirements that delegated investigations stay within bounded scope and that the agent executes tests and examines their exit status.
Incorrect Answers
B:In a cross-platform application migration, a task contract prevents specialist exploration from swallowing the coordinator's larger goal, 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 cross-platform application migration, unbounded exploration dilutes signal and inflates context and latency and reading configuration does not execute a test suite; the design would fail both conditions: delegated investigations stay within bounded scope and the agent executes tests and examines their exit status.
D:In a cross-platform application migration, the shell can run build tools and return execution feedback that Read cannot supply, but unbounded exploration dilutes signal and inflates context and latency; therefore the separate requirement that delegated investigations stay within bounded scope would remain unsatisfied.
Question 365
When designing a monorepo testing overhaul, the requirement is not satisfied unless ambiguous requirements are resolved before a destructive migration and regressions introduced during refinement are detected and fixed. Which implementation addresses the two independent conditions?
- clarify scope and acceptance criteria while planning; and keep layering patches without checking the last stable behavior
- make assumptions and migrate production files immediately; and keep layering patches without checking the last stable behavior
- make assumptions and migrate production files immediately; and restore or revise the problematic change and retest affected paths
- clarify scope and acceptance criteria while planning; and restore or revise the problematic change and retest affected paths
- implement only restore or revise the problematic change and retest affected paths; make no corresponding change for the first requirement
Explanation
Correct Answer
D:In a monorepo testing overhaul, a reviewed plan should resolve unknown targets and rollback expectations before writes; alongside this, iteration includes detecting regressions and returning to a passing state, satisfying the distinct requirements that ambiguous requirements are resolved before a destructive migration and that regressions introduced during refinement are detected and fixed.
Incorrect Answers
A:In a monorepo testing overhaul, a reviewed plan should resolve unknown targets and rollback expectations before writes, but cumulative changes can bury the source of failure; therefore the separate requirement that regressions introduced during refinement are detected and fixed would remain unsatisfied.
B:In a monorepo testing overhaul, guessed intent can create costly irreversible changes and cumulative changes can bury the source of failure; the design would fail both conditions: ambiguous requirements are resolved before a destructive migration and regressions introduced during refinement are detected and fixed.
C:In a monorepo testing overhaul, iteration includes detecting regressions and returning to a passing state, but guessed intent can create costly irreversible changes; therefore the separate requirement that ambiguous requirements are resolved before a destructive migration would remain unsatisfied.
E:In a monorepo testing overhaul, iteration includes detecting regressions and returning to a passing state, but the independent mechanism for the other criterion is absent: a reviewed plan should resolve unknown targets and rollback expectations before writes; as written, the design does not ensure that ambiguous requirements are resolved before a destructive migration.
Question 366
During review of a cross-platform application migration, an unmet criterion states that a delegated agent receives the background it needs to act. Which measure resolves this specific gap?
- pass the necessary task context and references explicitly at invocation
- specify the question, allowed sources, expected output, and stopping criterion
- assume the child agent sees all previous coordinator turns
- spawn independent specialists in the same delegation stage
Explanation
Correct Answer
A:For a cross-platform application migration, subagents do not automatically inherit the coordinator's entire conversational history; this directly establishes that a delegated agent receives the background it needs to act instead of relying on an unrelated workflow control.
Incorrect Answers
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 a delegated agent receives the background it needs to act in a cross-platform application migration.
C:In a cross-platform application migration, implicit context inheritance makes delegation fragile and incomplete; as a result, the stated requirement that a delegated agent receives the background it needs to act would still not be met.
D:Although concurrent subagents can examine non-overlapping modules before the coordinator merges their reports, that only supports the distinct goal that separate code modules can be inspected in parallel, not the requirement that a delegated agent receives the background it needs to act in a cross-platform application migration.
Question 367
In a branch protection review bot, the engineering team must guarantee that a new source file is created from supplied content. What is the most appropriate control?
- use Grep to create the source file
- use Grep to search file contents
- use Read on the identified file
- use Write for file creation
Explanation
Correct Answer
D:For a branch protection review bot, writing a new artifact is appropriate when no existing target needs surgical modification; this directly establishes that a new source file is created from supplied content instead of relying on an unrelated workflow control.
Incorrect Answers
A:In a branch protection review bot, search utilities do not create code artifacts; as a result, the stated requirement that a new source file is created from supplied content would still not be met.
B:Although text search locates occurrences efficiently before focused reading, that only supports the distinct goal that the assistant locates files containing a particular symbol or string, not the requirement that a new source file is created from supplied content in a branch protection review bot.
C:Although file reading provides exact content for analysis without executing the project, that only supports the distinct goal that a coding agent inspects a known source file without changing it, not the requirement that a new source file is created from supplied content in a branch protection review bot.
Question 368
A team operating a claims form processing assistant wants to establish two separate behaviors: example selection stays relevant to the current workload; in addition, a conclusion supported by model agreement is also tested against source evidence. Which plan implements both?
- include dozens of unrelated demonstrations from other domains; and promote agreement alone to a guaranteed correctness signal
- use a compact sample covering common cases and one important edge case; and promote agreement alone to a guaranteed correctness signal
- use a compact sample covering common cases and one important edge case; and require source and business-rule checks regardless of model agreement
- include dozens of unrelated demonstrations from other domains; and require source and business-rule checks regardless of model agreement
Explanation
Correct Answer
C:In a claims form processing assistant, high-signal examples guide the task without overloading context; alongside this, correlated model errors can survive consensus without external verification, satisfying the distinct requirements that example selection stays relevant to the current workload and that a conclusion supported by model agreement is also tested against source evidence.
Incorrect Answers
A:In a claims form processing assistant, irrelevant examples dilute the pattern and consume tokens and shared biases can produce identical wrong conclusions; the design would fail both conditions: example selection stays relevant to the current workload and a conclusion supported by model agreement is also tested against source evidence.
B:In a claims form processing assistant, high-signal examples guide the task without overloading context, but shared biases can produce identical wrong conclusions; therefore the separate requirement that a conclusion supported by model agreement is also tested against source evidence would remain unsatisfied.
D:In a claims form processing assistant, correlated model errors can survive consensus without external verification, 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 369
The release checklist for a release-triage developer agent explicitly checks that a required validation step runs before the final response even when the model does not support forced tool choice; it also checks that client-side tool requests trigger another model turn after execution. What coordinated solution meets the checklist?
- enforce the validator in application control flow, using forced tool_choice only with compatible models; and end the loop whenever assistant text appears
- enforce the validator in application control flow, using forced tool_choice only with compatible models; and branch on stop_reason tool_use and execute returned tool_use blocks
- rely on a prompt asking the model to call the validator; and branch on stop_reason tool_use and execute returned tool_use blocks
- rely on a prompt asking the model to call the validator; and end the loop whenever assistant text appears
Explanation
Correct Answer
B:In a release-triage developer agent, application-level orchestration guarantees the required stage across models, while forced tool_choice is limited to compatible models and settings; alongside this, the response explicitly signals pending client execution and the loop must provide results before another model decision, satisfying the distinct requirements that a required validation step runs before the final response even when the model does not support forced tool choice and that client-side tool requests trigger another model turn after execution.
Incorrect Answers
A:In a release-triage developer agent, application-level orchestration guarantees the required stage across models, while forced tool_choice is limited to compatible models and settings, but text may accompany a tool request and is not the completion signal; therefore the separate requirement that client-side tool requests trigger another model turn after execution would remain unsatisfied.
C:In a release-triage developer agent, the response explicitly signals pending client execution and the loop must provide results before another model decision, but prompt instructions do not guarantee execution of the validator or override model-specific tool-choice restrictions; therefore the separate requirement that a required validation step runs before the final response even when the model does not support forced tool choice would remain unsatisfied.
D:In a release-triage developer agent, prompt instructions do not guarantee execution of the validator or override model-specific tool-choice restrictions and text may accompany a tool request and is not the completion signal; the design would fail both conditions: a required validation step runs before the final response even when the model does not support forced tool choice and client-side tool requests trigger another model turn after execution.
Question 370
For a test failure triage bot, acceptance depends on demonstrating that independent stages of a complex job run efficiently. Which approach is the strongest fit?
- use one focused tool-assisted agent for the bounded task
- place evidence validation before the drafting stage
- divide work along independent outputs and run those stages in parallel
- add a synthesis stage with explicit conflict-resolution criteria
- split the job into an arbitrary fixed chain of agents
Explanation
Correct Answer
C:For a test failure triage bot, dependency-aware decomposition avoids serial work when branches do not consume one another; this directly establishes that independent stages of a complex job run efficiently instead of relying on an unrelated workflow control.
Incorrect Answers
A:Although orchestration overhead is not justified when there is no useful specialization or concurrency, that only supports the distinct goal that a straightforward lookup avoids unnecessary agent coordination, not the requirement that independent stages of a complex job run efficiently in a test failure triage bot.
B:Although a dependent stage must receive validated inputs to avoid propagating unsupported conclusions, that only supports the distinct goal that the report is not drafted before evidence is checked, not the requirement that independent stages of a complex job run efficiently in a test failure triage bot.
D:Although merging divergent work requires an authoritative step rather than choosing by arrival time, that only supports the distinct goal that two teams' analyses are reconciled before publication, not the requirement that independent stages of a complex job run efficiently in a test failure triage bot.
E:In a test failure triage bot, a rigid sequence creates waits even where no dependency exists; as a result, the stated requirement that independent stages of a complex job run efficiently would still not be met.