Question 620
A customer platform build contains an upstream function and a separate downstream function. The upstream work must test application logic without issuing real model calls or payments; the downstream work must recover from transient 429 responses without synchronized retry storms. Which configuration pair covers both?
- First component: Validate webhook signatures. Second component: Use explicit HTTP method semantics.
- First component: Apply dependency injection for external clients. Second component: Validate webhook signatures.
- First component: Apply dependency injection for external clients. Second component: Use exponential backoff with jitter.
- First component: Use explicit HTTP method semantics. Second component: Use exponential backoff with jitter.
Explanation
Correct Answer
C:The first proposal fits its assigned role because injected interfaces allow deterministic stubs and reduce coupling to vendors, while the second proposal fits its assigned role because increasing randomized delays reduce contention and respect service throttling signals; their respective acceptance criteria are to test application logic without issuing real model calls or payments and to recover from transient 429 responses without synchronized retry storms.
Incorrect Answers
A:The first proposal serves the different purpose to reject forged callbacks from an external asynchronous job service instead of the assigned first role because cryptographic verification checks the sender and payload integrity before processing the event, while the second proposal serves the different purpose to prevent a supposedly read-only status lookup from changing a server-side record instead of the assigned second role because gET should retrieve resources while state changes use appropriate mutation methods and authorization checks; their respective acceptance criteria are to test application logic without issuing real model calls or payments and to recover from transient 429 responses without synchronized retry storms.
B:The first proposal fits its assigned role because injected interfaces allow deterministic stubs and reduce coupling to vendors, while the second proposal serves the different purpose to reject forged callbacks from an external asynchronous job service instead of the assigned second role because cryptographic verification checks the sender and payload integrity before processing the event; their respective acceptance criteria are to test application logic without issuing real model calls or payments and to recover from transient 429 responses without synchronized retry storms.
D:The first proposal serves the different purpose to prevent a supposedly read-only status lookup from changing a server-side record instead of the assigned first role because gET should retrieve resources while state changes use appropriate mutation methods and authorization checks, while the second proposal fits its assigned role because increasing randomized delays reduce contention and respect service throttling signals; their respective acceptance criteria are to test application logic without issuing real model calls or payments and to recover from transient 429 responses without synchronized retry storms.
Question 621
Two features of a document processing system are under review. One feature must give Claude Code the project's build, test, and architecture conventions; the other must trace a quality regression to the exact instruction revision used. Which plan matches the respective needs?
- First component: Put repository guidance in CLAUDE.md. Second component: Store API keys in managed secret storage.
- First component: Store API keys in managed secret storage. Second component: Use settings.json for Claude Code permissions.
- First component: Use settings.json for Claude Code permissions. Second component: Version prompt templates alongside code.
- First component: Put repository guidance in CLAUDE.md. Second component: Version prompt templates alongside code.
Explanation
Correct Answer
D:The first proposal fits its assigned role because repository memory files provide persistent instructional context to coding sessions, while the second proposal fits its assigned role because source-controlled prompt assets make rollbacks, diffs, and evaluations possible; their respective acceptance criteria are to give Claude Code the project's build, test, and architecture conventions and to trace a quality regression to the exact instruction revision used.
Incorrect Answers
A:The first proposal fits its assigned role because repository memory files provide persistent instructional context to coding sessions, while the second proposal serves the different purpose to rotate production credentials without committing new source code instead of the assigned second role because central secret management supports scoped access, auditing, and key rotation; their respective acceptance criteria are to give Claude Code the project's build, test, and architecture conventions and to trace a quality regression to the exact instruction revision used.
B:The first proposal serves the different purpose to rotate production credentials without committing new source code instead of the assigned first role because central secret management supports scoped access, auditing, and key rotation, while the second proposal serves the different purpose to constrain a repository coding assistant's allowed tools and execution behavior instead of the assigned second role because permission settings define configurable controls for Claude Code rather than merely describing preferences; their respective acceptance criteria are to give Claude Code the project's build, test, and architecture conventions and to trace a quality regression to the exact instruction revision used.
C:The first proposal serves the different purpose to constrain a repository coding assistant's allowed tools and execution behavior instead of the assigned first role because permission settings define configurable controls for Claude Code rather than merely describing preferences, while the second proposal fits its assigned role because source-controlled prompt assets make rollbacks, diffs, and evaluations possible; their respective acceptance criteria are to give Claude Code the project's build, test, and architecture conventions and to trace a quality regression to the exact instruction revision used.
Question 622
A retrieval pipeline review requires two independent, explicitly defined outcomes: the first workstream must reject a response that omits a mandated account identifier; a second must prevent a parser crash when the model returns no ordinary text. Which TWO actions directly provide these capabilities? Choose TWO.
- Handle refusal and empty content explicitly
- Escape generated content in the UI
- Keep raw and normalized values distinct
- Separate a partial streaming fragment from a finished object
- Validate required schema fields
Explanation
Correct Answers
A:Response handling must branch on stop reason and content block types before decoding data; this directly supports task 2 to prevent a parser crash when the model returns no ordinary text, not the separate task or tasks to reject a response that omits a mandated account identifier; assuming every call yields a usable business record creates hidden error paths.
E:Schema checks enforce field presence, types, and enumerations before the result enters a database; this directly supports task 1 to reject a response that omits a mandated account identifier, not the separate task or tasks to prevent a parser crash when the model returns no ordinary text; syntactically valid JSON may still be contract-invalid.
Incorrect Answers
B:Output encoding or sanitization protects display contexts from untrusted markup; this implements the different outcome to show model-produced HTML snippets without allowing browser script injection rather than the required tasks to reject a response that omits a mandated account identifier and to prevent a parser crash when the model returns no ordinary text, and a correct JSON wrapper does not make embedded HTML safe, so it is not a direct solution to any of the assigned workstreams.
C:Storing the original evidence and validated normalized value supports later reconciliation; this implements the different outcome to preserve auditability when an extractor reformats a date or currency rather than the required tasks to reject a response that omits a mandated account identifier and to prevent a parser crash when the model returns no ordinary text, and overwriting the raw source eliminates a useful verification trail, so it is not a direct solution to any of the assigned workstreams.
D:Stream consumers must buffer and recognize completion before strict object validation; this implements the different outcome to prevent the frontend from parsing an incomplete JSON chunk as a complete response rather than the required tasks to reject a response that omits a mandated account identifier and to prevent a parser crash when the model returns no ordinary text, and an arbitrary content delta may end halfway through a field, so it is not a direct solution to any of the assigned workstreams.
Question 623
An incident response team owns two independent components. The first must ensure a generated specification is validated before code generation begins; the second must resume a multi-step agentic process after worker or network failure. Which paired plan fulfills both?
- First component: Use sequential chaining for dependent subtasks. Second component: Use a central state record for orchestration.
- First component: Apply routing before task execution. Second component: Use an agentic decision loop.
- First component: Use an agentic decision loop. Second component: Use a central state record for orchestration.
- First component: Use sequential chaining for dependent subtasks. Second component: Apply routing before task execution.
Explanation
Correct Answer
A:The first proposal fits its assigned role because each stage consumes an approved artifact from the previous stage, preserving dependency order and stage-specific checks, while the second proposal fits its assigned role because persisted job state tracks completed stages, pending actions, and recoverable checkpoints outside the model context; their respective acceptance criteria are to ensure a generated specification is validated before code generation begins and to resume a multi-step agentic process after worker or network failure.
Incorrect Answers
B:The first proposal serves the different purpose to choose the right specialised handling path from the request category instead of the assigned first role because an inexpensive classification or rule-based router sends each request to the applicable predefined workflow, while the second proposal serves the different purpose to investigate an open-ended incident where the next query depends on earlier findings instead of the assigned second role because a model-directed loop can choose subsequent actions based on tool observations until it reaches a stopping condition; their respective acceptance criteria are to ensure a generated specification is validated before code generation begins and to resume a multi-step agentic process after worker or network failure.
C:The first proposal serves the different purpose to investigate an open-ended incident where the next query depends on earlier findings instead of the assigned first role because a model-directed loop can choose subsequent actions based on tool observations until it reaches a stopping condition, while the second proposal fits its assigned role because persisted job state tracks completed stages, pending actions, and recoverable checkpoints outside the model context; their respective acceptance criteria are to ensure a generated specification is validated before code generation begins and to resume a multi-step agentic process after worker or network failure.
D:The first proposal fits its assigned role because each stage consumes an approved artifact from the previous stage, preserving dependency order and stage-specific checks, while the second proposal serves the different purpose to choose the right specialised handling path from the request category instead of the assigned second role because an inexpensive classification or rule-based router sends each request to the applicable predefined workflow; their respective acceptance criteria are to ensure a generated specification is validated before code generation begins and to resume a multi-step agentic process after worker or network failure.
Question 624
A release plan for a retrieval pipeline platform has two acceptance checks: component one must obtain named fields in a consistent response layout for subsequent processing; component two must reduce unsupported claims in answers about internal procedures. Which proposal passes both?
- First component: Specify output format in the prompt. Second component: Delimit untrusted source material.
- First component: Specify output format in the prompt. Second component: Request evidence before conclusions.
- First component: Iterate prompts against an evaluation set. Second component: Request evidence before conclusions.
- First component: Delimit untrusted source material. Second component: Iterate prompts against an evaluation set.
Explanation
Correct Answer
B:The first proposal fits its assigned role because explicit field descriptions guide generation toward the consumer's expected structure, while the second proposal fits its assigned role because asking for citations to provided excerpts promotes inspectable grounding and makes verification possible; their respective acceptance criteria are to obtain named fields in a consistent response layout for subsequent processing and to reduce unsupported claims in answers about internal procedures.
Incorrect Answers
A:The first proposal fits its assigned role because explicit field descriptions guide generation toward the consumer's expected structure, while the second proposal serves the different purpose to let the model summarize a hostile email without obeying its embedded commands instead of the assigned second role because clear source boundaries and explicit treatment as quoted evidence help reduce instruction confusion; their respective acceptance criteria are to obtain named fields in a consistent response layout for subsequent processing and to reduce unsupported claims in answers about internal procedures.
C:The first proposal serves the different purpose to improve extraction quality after discovering consistent edge-case failures instead of the assigned first role because controlled revisions measured on stable examples show whether a change actually helps, while the second proposal fits its assigned role because asking for citations to provided excerpts promotes inspectable grounding and makes verification possible; their respective acceptance criteria are to obtain named fields in a consistent response layout for subsequent processing and to reduce unsupported claims in answers about internal procedures.
D:The first proposal serves the different purpose to let the model summarize a hostile email without obeying its embedded commands instead of the assigned first role because clear source boundaries and explicit treatment as quoted evidence help reduce instruction confusion, while the second proposal serves the different purpose to improve extraction quality after discovering consistent edge-case failures instead of the assigned second role because controlled revisions measured on stable examples show whether a change actually helps; their respective acceptance criteria are to obtain named fields in a consistent response layout for subsequent processing and to reduce unsupported claims in answers about internal procedures.
Question 625
A release plan for a production API platform has two acceptance checks: component one must avoid starting two extraction jobs for the same uploaded document after repeated browser submissions; component two must compute discounts through verified business code rather than generated arithmetic alone. Which proposal passes both?
- First component: Deduplicate application events. Second component: Separate model reasoning from authoritative calculations.
- First component: Limit retained context to authorized history. Second component: Keep user tasks in the user message.
- First component: Keep user tasks in the user message. Second component: Separate model reasoning from authoritative calculations.
- First component: Deduplicate application events. Second component: Limit retained context to authorized history.
Explanation
Correct Answer
A:The first proposal fits its assigned role because an idempotent job key lets the server recognize duplicates at its request boundary, while the second proposal fits its assigned role because deterministic services can enforce exact formulas and rounding before the model explains the result; their respective acceptance criteria are to avoid starting two extraction jobs for the same uploaded document after repeated browser submissions and to compute discounts through verified business code rather than generated arithmetic alone.
Incorrect Answers
B:The first proposal serves the different purpose to prevent a new user from inheriting another user's document excerpts instead of the assigned first role because context assembly must apply access checks before adding prior turns or retrieved evidence, while the second proposal serves the different purpose to separate an end user's request from the developer's stable operating instructions instead of the assigned second role because explicit message roles distinguish requested work from higher-priority operational framing; their respective acceptance criteria are to avoid starting two extraction jobs for the same uploaded document after repeated browser submissions and to compute discounts through verified business code rather than generated arithmetic alone.
C:The first proposal serves the different purpose to separate an end user's request from the developer's stable operating instructions instead of the assigned first role because explicit message roles distinguish requested work from higher-priority operational framing, while the second proposal fits its assigned role because deterministic services can enforce exact formulas and rounding before the model explains the result; their respective acceptance criteria are to avoid starting two extraction jobs for the same uploaded document after repeated browser submissions and to compute discounts through verified business code rather than generated arithmetic alone.
D:The first proposal fits its assigned role because an idempotent job key lets the server recognize duplicates at its request boundary, while the second proposal serves the different purpose to prevent a new user from inheriting another user's document excerpts instead of the assigned second role because context assembly must apply access checks before adding prior turns or retrieved evidence; their respective acceptance criteria are to avoid starting two extraction jobs for the same uploaded document after repeated browser submissions and to compute discounts through verified business code rather than generated arithmetic alone.
Question 626
A design review identifies a missing capability in an MCP interoperability project: it must prevent a valid MCP client from reading another tenant's resources. Which change meets that goal?
- Apply authorization inside the MCP server
- Use stdio for a local MCP process
- Use a remote HTTP transport for shared MCP access
- Expose an MCP resource for reference content
Explanation
Correct Answer
A:The server must enforce caller identity and resource scope on each operation; this behavior directly supports the need to prevent a valid MCP client from reading another tenant's resources. Tool discovery is not proof that a user may invoke a capability on all records.
Incorrect Answers
B:When an application needs to connect a desktop development tool to a trusted local server process, standard input and output transport is suitable for a client-managed local subprocess; the current capability must instead prevent a valid MCP client from reading another tenant's resources, while it is not a remotely addressable network service by itself.
C:An HTTP-based endpoint supports remotely hosted servers with authentication and network controls; the supported outcome is to serve approved tools to multiple distributed client environments, whereas this scenario requires the ability to prevent a valid MCP client from reading another tenant's resources; a local-only subprocess transport does not provide central network access.
D:This approach serves the separate need to make a versioned product catalog available for read-oriented context retrieval because resources provide identifiable data that clients can fetch for model context; it does not establish the outcome to prevent a valid MCP client from reading another tenant's resources, and treating static content as a privileged executable tool unnecessarily expands authority.
Question 627
An agent governance group is preparing a production change intended to let a support assistant read shipment status without issuing refunds. Which technique matches that intent?
- Run adversarial prompt-injection tests
- Enforce least-privilege tool permissions
- Rate-limit high-risk endpoints
- Use layered checks for unsafe requests
Explanation
Correct Answer
B:Restricted scopes and read-only interfaces limit impact if a tool request is manipulated; this behavior directly supports the need to let a support assistant read shipment status without issuing refunds. Role language in the prompt cannot prevent an overprivileged API token from writing.
Incorrect Answers
A:Purposeful hostile test cases probe whether the trust boundary holds under manipulated evidence; the supported outcome is to find vulnerabilities in a retrieval-augmented assistant before it accesses production tools, whereas this scenario requires the ability to let a support assistant read shipment status without issuing refunds; ordinary happy-path tests rarely exercise attacker instructions.
C:Per-identity quotas and anomaly monitoring make bulk misuse harder; despite being useful when a service must reduce automated abuse of a model-backed export or search capability, it is not a solution to let a support assistant read shipment status without issuing refunds; a single global throughput cap may still let one actor consume all capacity.
D:For the alternate objective to detect harmful instructions at input, tool-call, and output boundaries, independent controls catch failures that a single prompt-level rule may miss; the feature here must let a support assistant read shipment status without issuing refunds, and a system prompt alone is not a complete enforcement strategy.
Question 628
Engineers are splitting an agent extensibility service into two independently tested functions. Function A must connect a desktop development tool to a trusted local server process, while function B must make a versioned product catalog available for read-oriented context retrieval. Which plan is sound?
- First component: Expose an MCP prompt template. Second component: Expose an MCP resource for reference content.
- First component: Validate MCP tool schemas and results. Second component: Expose an MCP prompt template.
- First component: Use stdio for a local MCP process. Second component: Expose an MCP resource for reference content.
- First component: Use stdio for a local MCP process. Second component: Validate MCP tool schemas and results.
Explanation
Correct Answer
C:The first proposal fits its assigned role because standard input and output transport is suitable for a client-managed local subprocess, while the second proposal fits its assigned role because resources provide identifiable data that clients can fetch for model context; their respective acceptance criteria are to connect a desktop development tool to a trusted local server process and to make a versioned product catalog available for read-oriented context retrieval.
Incorrect Answers
A:The first proposal serves the different purpose to share a repeatable analyst workflow across supported clients instead of the assigned first role because prompts describe reusable message templates or workflows offered by the server, while the second proposal fits its assigned role because resources provide identifiable data that clients can fetch for model context; their respective acceptance criteria are to connect a desktop development tool to a trusted local server process and to make a versioned product catalog available for read-oriented context retrieval.
B:The first proposal serves the different purpose to prevent a server update from returning incompatible payloads to clients instead of the assigned first role because contract tests check declared capabilities, argument shapes, and expected response content, while the second proposal serves the different purpose to share a repeatable analyst workflow across supported clients instead of the assigned second role because prompts describe reusable message templates or workflows offered by the server; their respective acceptance criteria are to connect a desktop development tool to a trusted local server process and to make a versioned product catalog available for read-oriented context retrieval.
D:The first proposal fits its assigned role because standard input and output transport is suitable for a client-managed local subprocess, while the second proposal serves the different purpose to prevent a server update from returning incompatible payloads to clients instead of the assigned second role because contract tests check declared capabilities, argument shapes, and expected response content; their respective acceptance criteria are to connect a desktop development tool to a trusted local server process and to make a versioned product catalog available for read-oriented context retrieval.
Question 629
A production API team owns two independent components. The first must route uncertain medical-style recommendations to an authorized human instead of issuing final decisions; the second must let an operator approve a proposed customer-address change before submission. Which paired plan fulfills both?
- First component: Design an explicit escalation path. Second component: Return user-friendly error states.
- First component: Return user-friendly error states. Second component: Add explicit provenance to retrieved evidence.
- First component: Design an explicit escalation path. Second component: Expose a review screen before tool-based writes.
- First component: Add explicit provenance to retrieved evidence. Second component: Expose a review screen before tool-based writes.
Explanation
Correct Answer
C:The first proposal fits its assigned role because risk-based thresholds separate assistance from decisions reserved for accountable staff, while the second proposal fits its assigned role because a confirmation UI converts a model suggestion into a separately authorized human action; their respective acceptance criteria are to route uncertain medical-style recommendations to an authorized human instead of issuing final decisions and to let an operator approve a proposed customer-address change before submission.
Incorrect Answers
A:The first proposal fits its assigned role because risk-based thresholds separate assistance from decisions reserved for accountable staff, while the second proposal serves the different purpose to explain service limits or tool outages without leaking stack traces or secrets instead of the assigned second role because structured error mapping presents actionable feedback while retaining detailed diagnostics in protected logs; their respective acceptance criteria are to route uncertain medical-style recommendations to an authorized human instead of issuing final decisions and to let an operator approve a proposed customer-address change before submission.
B:The first proposal serves the different purpose to explain service limits or tool outages without leaking stack traces or secrets instead of the assigned first role because structured error mapping presents actionable feedback while retaining detailed diagnostics in protected logs, while the second proposal serves the different purpose to let reviewers trace each summary claim to its authoritative document version instead of the assigned second role because source identifiers, timestamps, and passage boundaries make citations and later audits possible; their respective acceptance criteria are to route uncertain medical-style recommendations to an authorized human instead of issuing final decisions and to let an operator approve a proposed customer-address change before submission.
D:The first proposal serves the different purpose to let reviewers trace each summary claim to its authoritative document version instead of the assigned first role because source identifiers, timestamps, and passage boundaries make citations and later audits possible, while the second proposal fits its assigned role because a confirmation UI converts a model suggestion into a separately authorized human action; their respective acceptance criteria are to route uncertain medical-style recommendations to an authorized human instead of issuing final decisions and to let an operator approve a proposed customer-address change before submission.
Question 630
The acceptance criteria for an inference routing change state that it must prevent a background processor from overwhelming the upstream API during bursts. Which implementation aligns with that criterion?
- Parse responses by content block type
- Use direct HTTP REST integration for unsupported runtimes
- Use JSON-safe types in request bodies
- Honor server rate-limit signals
- Separate transport failures from model refusals
Explanation
Correct Answer
D:Throttling and backoff work with provider limits rather than assuming infinite request capacity; this behavior directly supports the need to prevent a background processor from overwhelming the upstream API during bursts. Parallelism beyond quota can reduce successful throughput.
Incorrect Answers
A:Structured outputs can contain different block kinds that need type-aware handling; the supported outcome is to avoid treating a tool call or thinking block as user-visible answer text, whereas this scenario requires the ability to prevent a background processor from overwhelming the upstream API during bursts; concatenating arbitrary block payloads risks displaying internal control data.
B:This approach serves the separate need to call the Messages endpoint from a language without a mature provider SDK because a standards-based HTTP client can send JSON requests with the correct headers and decode responses; it does not establish the outcome to prevent a background processor from overwhelming the upstream API during bursts, and a wrapper package is optional, not the underlying API transport.
C:Structured request encoding enforces objects, arrays, strings, booleans, and numeric representations; despite being useful when a service must avoid rejecting tool schemas because serialized values are invalid, it is not a solution to prevent a background processor from overwhelming the upstream API during bursts; python object repr strings are not valid JSON contracts.
E:A transport error occurs before a valid application-level completion; refusals are model outcomes; this applies to the different goal to surface network timeouts differently from a completed response that declines a task, not the requirement to prevent a background processor from overwhelming the upstream API during bursts; treating both as one generic retry condition can loop endlessly.