Question 340
Tests for a database migration coding project will pass only if regressions introduced during refinement are detected and fixed and if a developer has private preferences that should not change team guidance. Which proposed design directly satisfies both checks?
- keep layering patches without checking the last stable behavior; and place personal instructions in the user-level CLAUDE.md
- restore or revise the problematic change and retest affected paths; and add private preferences to the shared repository CLAUDE.md
- keep layering patches without checking the last stable behavior; and add private preferences to the shared repository CLAUDE.md
- restore or revise the problematic change and retest affected paths; and place personal instructions in the user-level CLAUDE.md
Explanation
Correct Answer
D:In a database migration coding project, iteration includes detecting regressions and returning to a passing state; alongside this, global personal guidance is available to that user's sessions without committing preferences to the project, satisfying the distinct requirements that regressions introduced during refinement are detected and fixed and that a developer has private preferences that should not change team guidance.
Incorrect Answers
A:In a database migration coding project, global personal guidance is available to that user's sessions without committing preferences to the project, 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 database migration coding project, iteration includes detecting regressions and returning to a passing state, but project instructions would impose one person's settings on the whole team; therefore the separate requirement that a developer has private preferences that should not change team guidance would remain unsatisfied.
C:In a database migration coding project, cumulative changes can bury the source of failure and project instructions would impose one person's settings on the whole team; the design would fail both conditions: regressions introduced during refinement are detected and fixed and a developer has private preferences that should not change team guidance.
Question 341
In an internal knowledge research system, the acceptance criteria require that invalid parameters lead to a clear correction rather than a blind retry and that an alternate implementation is explored without rewriting the original branch. Which paired implementation meets both?
- hide the invalid field behind a generic internal-error message; and fork the existing session into a separate line of exploration
- return a non-retryable validation error with the field and expected constraint; and fork the existing session into a separate line of exploration
- hide the invalid field behind a generic internal-error message; and continue changing the original session as though it were an isolated experiment
- return a non-retryable validation error with the field and expected constraint; and continue changing the original session as though it were an isolated experiment
Explanation
Correct Answer
B:In an internal knowledge research system, field-specific feedback lets the caller fix the input before resubmission; alongside this, a fork supports competing paths while preserving the original session history, satisfying the distinct requirements that invalid parameters lead to a clear correction rather than a blind retry and that an alternate implementation is explored without rewriting the original branch.
Incorrect Answers
A:In an internal knowledge research system, a fork supports competing paths while preserving the original session history, but the client lacks the information needed to repair the request; therefore the separate requirement that invalid parameters lead to a clear correction rather than a blind retry would remain unsatisfied.
C:In an internal knowledge research system, the client lacks the information needed to repair the request and the experiment then shares and alters the active thread's direction; the design would fail both conditions: invalid parameters lead to a clear correction rather than a blind retry and an alternate implementation is explored without rewriting the original branch.
D:In an internal knowledge research system, field-specific feedback lets the caller fix the input before resubmission, but the experiment then shares and alters the active thread's direction; therefore the separate requirement that an alternate implementation is explored without rewriting the original branch would remain unsatisfied.
Question 342
Tests for a continuous integration repair assistant will pass only if conflicting guidance from different files is detected before rollout and if a coding assistant's output passes explicit acceptance checks. Which proposed design directly satisfies both checks?
- assume the model will infer which contradictory rule to follow; and run the specified tests and compare results against acceptance criteria
- assume the model will infer which contradictory rule to follow; and accept an implementation because the agent describes it as complete
- audit overlapping CLAUDE.md files and resolve instruction contradictions; and run the specified tests and compare results against acceptance criteria
- audit overlapping CLAUDE.md files and resolve instruction contradictions; and accept an implementation because the agent describes it as complete
Explanation
Correct Answer
C:In a continuous integration repair assistant, clear ownership and scope prevent two directions from competing in the same coding task; alongside this, objective checks support a pass decision better than self-reported confidence, satisfying the distinct requirements that conflicting guidance from different files is detected before rollout and that a coding assistant's output passes explicit acceptance checks.
Incorrect Answers
A:In a continuous integration repair assistant, objective checks support a pass decision better than self-reported confidence, but unresolved conflicts create inconsistent output across directories; therefore the separate requirement that conflicting guidance from different files is detected before rollout would remain unsatisfied.
B:In a continuous integration repair assistant, unresolved conflicts create inconsistent output across directories and model assertions cannot replace build and behavior evidence; the design would fail both conditions: conflicting guidance from different files is detected before rollout and a coding assistant's output passes explicit acceptance checks.
D:In a continuous integration repair assistant, clear ownership and scope prevent two directions from competing in the same coding task, but model assertions cannot replace build and behavior evidence; therefore the separate requirement that a coding assistant's output passes explicit acceptance checks would remain unsatisfied.
Question 343
When designing a purchase-order parsing service, the requirement is not satisfied unless an extractor always returns the identifiers required by downstream code and multiple draft branches are merged without contradictory statements. Which implementation addresses the two independent conditions?
- declare mandatory schema fields in the required list; and concatenate every agent's conclusion into the final report
- treat every identifier as an optional free-form note; and create a reconciliation stage that checks citations and resolves overlaps
- declare mandatory schema fields in the required list; and create a reconciliation stage that checks citations and resolves overlaps
- treat every identifier as an optional free-form note; and concatenate every agent's conclusion into the final report
Explanation
Correct Answer
C:In a purchase-order parsing service, required properties prevent accidental omission of key attributes; alongside this, synthesis must select mutually consistent claims with defensible evidence, satisfying the distinct requirements that an extractor always returns the identifiers required by downstream code and that multiple draft branches are merged without contradictory statements.
Incorrect Answers
A:In a purchase-order parsing service, required properties prevent accidental omission of key attributes, but raw merger preserves disagreements and duplicated statements; therefore the separate requirement that multiple draft branches are merged without contradictory statements would remain unsatisfied.
B:In a purchase-order parsing service, synthesis must select mutually consistent claims with defensible evidence, but the consumer cannot reliably rely on a field that may be omitted; therefore the separate requirement that an extractor always returns the identifiers required by downstream code would remain unsatisfied.
D:In a purchase-order parsing service, the consumer cannot reliably rely on a field that may be omitted and raw merger preserves disagreements and duplicated statements; the design would fail both conditions: an extractor always returns the identifiers required by downstream code and multiple draft branches are merged without contradictory statements.
Question 344
For a payment microservice repository, acceptance depends on demonstrating that documentation-only conventions do not dilute code-editing tasks. Which approach is the strongest fit?
- keep project-wide security guidance in shared instructions rather than a narrow path glob
- place all documentation writing rules in a global user file
- create separate path-specific rule files for each package
- scope documentation style rules to matching documentation paths
Explanation
Correct Answer
D:For a payment microservice repository, conditional loading keeps instruction context relevant to the file being worked on; this directly establishes that documentation-only conventions do not dilute code-editing tasks instead of relying on an unrelated workflow control.
Incorrect Answers
A:Although cross-cutting obligations should not disappear when an agent changes directories, that only supports the distinct goal that a common security rule remains active across the project, not the requirement that documentation-only conventions do not dilute code-editing tasks in a payment microservice repository.
B:In a payment microservice repository, those conventions will follow unrelated code tasks; as a result, the stated requirement that documentation-only conventions do not dilute code-editing tasks would still not be met.
C:Although scoped conventions avoid contradictory patterns between codebases sharing a monorepo, that only supports the distinct goal that two nested packages follow distinct framework conventions, not the requirement that documentation-only conventions do not dilute code-editing tasks in a payment microservice repository.
Question 345
In a technical review of a multi-source policy brief service, the architect must address the following constraints together: thousands of independent documents can finish without interactive response deadlines; a large research job combines specialized findings into one answer. Which change set is most defensible?
- use asynchronous Message Batches processing for the bulk workload; and have all subagents independently publish the final answer
- make every document a synchronous request inside the user interaction; and have all subagents independently publish the final answer
- use asynchronous Message Batches processing for the bulk workload; and use a coordinator that delegates focused tasks and owns final synthesis
- make every document a synchronous request inside the user interaction; and use a coordinator that delegates focused tasks and owns final synthesis
Explanation
Correct Answer
C:In a multi-source policy brief service, batching suits non-blocking independent requests and can reduce processing cost; alongside this, the hub can integrate distinct subagent outputs and resolve overlap without peer-to-peer chatter, satisfying the distinct requirements that thousands of independent documents can finish without interactive response deadlines and that a large research job combines specialized findings into one answer.
Incorrect Answers
A:In a multi-source policy brief service, batching suits non-blocking independent requests and can reduce processing cost, but independent final outputs offer no single point to reconcile contradictions; therefore the separate requirement that a large research job combines specialized findings into one answer would remain unsatisfied.
B:In a multi-source policy brief service, serial immediate calls add latency where no caller is waiting and independent final outputs offer no single point to reconcile contradictions; the design would fail both conditions: thousands of independent documents can finish without interactive response deadlines and a large research job combines specialized findings into one answer.
D:In a multi-source policy brief service, the hub can integrate distinct subagent outputs and resolve overlap without peer-to-peer chatter, but serial immediate calls add latency where no caller is waiting; therefore the separate requirement that thousands of independent documents can finish without interactive response deadlines would remain unsatisfied.
Question 346
In a technical review of a vendor onboarding document pipeline, the architect must address the following constraints together: few-shot material does not contain contradictory answer labels; extracted records are labeled only when required fields agree. Which change set is most defensible?
- keep historical examples even after the labeling policy changes; and classify as a match when any one keyword overlaps
- audit examples against the current decision rubric before use; and classify as a match when any one keyword overlaps
- keep historical examples even after the labeling policy changes; and state the conjunction of required matching conditions
- audit examples against the current decision rubric before use; and state the conjunction of required matching conditions
Explanation
Correct Answer
D:In a vendor onboarding document pipeline, consistent labels reinforce the intended criteria rather than training ambiguity into the prompt; alongside this, explicit multi-field criteria prevent a single suggestive field from dominating the outcome, satisfying the distinct requirements that few-shot material does not contain contradictory answer labels and that extracted records are labeled only when required fields agree.
Incorrect Answers
A:In a vendor onboarding document pipeline, stale demonstrations can contradict the updated standard and a shared keyword does not prove record identity; the design would fail both conditions: few-shot material does not contain contradictory answer labels and extracted records are labeled only when required fields agree.
B:In a vendor onboarding document pipeline, consistent labels reinforce the intended criteria rather than training ambiguity into the prompt, but a shared keyword does not prove record identity; therefore the separate requirement that extracted records are labeled only when required fields agree would remain unsatisfied.
C:In a vendor onboarding document pipeline, explicit multi-field criteria prevent a single suggestive field from dominating the outcome, 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.
Question 347
In a legacy service decomposition, the immediate design requirement is that the team obtains a read-only survey of an unfamiliar module. Which change most directly establishes that behavior?
- present ordered changes, risks, and verification steps before switching to execution
- exit the planning stage and perform scoped implementation with verification
- investigate in plan-oriented or read-only mode first
- run write tools to discover how the module behaves
Explanation
Correct Answer
C:For a legacy service decomposition, inspection can establish architecture and change scope without side effects; this directly establishes that the team obtains a read-only survey of an unfamiliar module instead of relying on an unrelated workflow control.
Incorrect Answers
A:Although an explicit review point aligns the agent's work with the authorized scope, that only supports the distinct goal that the implementation plan receives stakeholder sign-off, not the requirement that the team obtains a read-only survey of an unfamiliar module in a legacy service decomposition.
B:Although planning describes intended operations while execution applies and checks them, that only supports the distinct goal that an approved plan is translated into controlled edits and tests, not the requirement that the team obtains a read-only survey of an unfamiliar module in a legacy service decomposition.
D:In a legacy service decomposition, mutation is unnecessary for gaining initial understanding; as a result, the stated requirement that the team obtains a read-only survey of an unfamiliar module would still not be met.
Question 348
The release checklist for an account recovery support process explicitly checks that a function call accepts only valid argument shapes; it also checks that critical account identifiers survive a long support conversation. What coordinated solution meets the checklist?
- allow arbitrary keys and silently coerce incorrect types; and rely only on a conversational summary of the earliest turns
- allow arbitrary keys and silently coerce incorrect types; and store verified IDs and decisions in an explicit structured case-facts record
- define the tool input schema, enable strict tool use where available, and validate inputs in the handler; and rely only on a conversational summary of the earliest turns
- define the tool input schema, enable strict tool use where available, and validate inputs in the handler; and store verified IDs and decisions in an explicit structured case-facts record
Explanation
Correct Answer
D:In an account recovery support process, strict tool inputs constrain generation, and handler validation provides a final enforceable argument boundary; alongside this, durable structured state prevents essential exact values being lost during summarization, satisfying the distinct requirements that a function call accepts only valid argument shapes and that critical account identifiers survive a long support conversation.
Incorrect Answers
A:In an account recovery support process, unvalidated coercion can change intended operations or silently drop important fields and compression can omit or alter identifiers that later actions require; the design would fail both conditions: a function call accepts only valid argument shapes and critical account identifiers survive a long support conversation.
B:In an account recovery support process, durable structured state prevents essential exact values being lost during summarization, but unvalidated coercion can change intended operations or silently drop important fields; therefore the separate requirement that a function call accepts only valid argument shapes would remain unsatisfied.
C:In an account recovery support process, strict tool inputs constrain generation, and handler validation provides a final enforceable argument boundary, but compression can omit or alter identifiers that later actions require; therefore the separate requirement that critical account identifiers survive a long support conversation would remain unsatisfied.
Question 349
For a product landscape research agent, a reviewer identifies two independent obligations: a forced tool call still honors business authorization and tool-call logging does not modify a successful tool result. Which proposal should be approved?
- combine tool_choice with server-side policy checks; and use an observation-only hook for telemetry when rewriting is unnecessary
- treat a forced tool choice as equivalent to user approval; and use an observation-only hook for telemetry when rewriting is unnecessary
- treat a forced tool choice as equivalent to user approval; and rewrite every tool result as a free-form paraphrase
- combine tool_choice with server-side policy checks; and rewrite every tool result as a free-form paraphrase
Explanation
Correct Answer
A:In a product landscape research agent, selection controls when a tool is proposed but does not grant permission to execute; alongside this, separating instrumentation from mutation reduces the risk of corrupting evidence, satisfying the distinct requirements that a forced tool call still honors business authorization and that tool-call logging does not modify a successful tool result.
Incorrect Answers
B:In a product landscape research agent, separating instrumentation from mutation reduces the risk of corrupting evidence, but tool selection and authorization are different controls; therefore the separate requirement that a forced tool call still honors business authorization would remain unsatisfied.
C:In a product landscape research agent, tool selection and authorization are different controls and summaries can discard fields that subsequent steps require; the design would fail both conditions: a forced tool call still honors business authorization and tool-call logging does not modify a successful tool result.
D:In a product landscape research agent, selection controls when a tool is proposed but does not grant permission to execute, but summaries can discard fields that subsequent steps require; therefore the separate requirement that tool-call logging does not modify a successful tool result would remain unsatisfied.
Question 350
An audit of an order-status triage agent identifies two unmet requirements: temporary service faults can be retried selectively and a report separates documented findings from its own inference. Select TWO actions that remedy those particular deficiencies.
- label direct source facts separately from analytical conclusions
- include a retryable classification and bounded retry advice
- retry every error with the same request indefinitely
- present every deduction as a direct source quotation
Explanation
Correct Answers
A:For an order-status triage agent, distinguishing evidence from interpretation prevents inference being misattributed to a document, which directly establishes that a report separates documented findings from its own inference; the separate requirement that temporary service faults can be retried selectively is handled by a different action.
B:For an order-status triage agent, typed transient failures allow backoff without treating permanent errors the same way, which directly establishes that temporary service faults can be retried selectively; the separate requirement that a report separates documented findings from its own inference is handled by a different action.
Incorrect Answers
C:For an order-status triage agent, permission and validation failures will not heal through repetition, so this option cannot establish that temporary service faults can be retried selectively; correctly addressing a report separates documented findings from its own inference elsewhere does not repair that deficiency.
D:For an order-status triage agent, unsupported attribution misrepresents what the source actually says, so this option cannot establish that a report separates documented findings from its own inference; correctly addressing temporary service faults can be retried selectively elsewhere does not repair that deficiency.