Question 90
The technical owner of an internal coding-assistant workflow has to preserve durable user-approved facts across agent sessions outside the context window. A separate requirement is to coordinate explicit graph transitions among multiple model and tool nodes. Which two-part remediation covers both?
- Perform both steps: (1) Persist checkpoints for tool outputs and accepted decisions; (2) run side-effect-free tool calls concurrently when their inputs are independent.
- Perform both steps: (1) Write selected durable facts to a controlled external memory store; (2) run side-effect-free tool calls concurrently when their inputs are independent.
- Perform both steps: (1) Persist checkpoints for tool outputs and accepted decisions; (2) choose a graph-based orchestration framework when state transitions justify it.
- Perform both steps: (1) Write selected durable facts to a controlled external memory store; (2) choose a graph-based orchestration framework when state transitions justify it.
Explanation
Correct Answer
D:The first change enables the team to preserve durable user-approved facts across agent sessions outside the context window because external memory allows selective retrieval in later sessions, unlike temporary model context that disappears when calls end; the second addresses the separate need to coordinate explicit graph transitions among multiple model and tool nodes because graph orchestration clarifies conditional edges and resumability; it adds complexity when a short linear function would suffice.
Incorrect Answers
A:Both steps target different results—recover a multi-hour agent workflow after an infrastructure interruption and speed up independent data lookups without causing write-order races—because durable checkpoints let the orchestrator resume from a known stage rather than rerunning costly or side-effecting actions and read-only independent calls can safely overlap; mutating operations need explicit ordering or concurrency control; the required capabilities are instead to preserve durable user-approved facts across agent sessions outside the context window and to coordinate explicit graph transitions among multiple model and tool nodes.
B:The first step is appropriate for the requirement to preserve durable user-approved facts across agent sessions outside the context window because external memory allows selective retrieval in later sessions, unlike temporary model context that disappears when calls end; the other step instead aims to speed up independent data lookups without causing write-order races because read-only independent calls can safely overlap; mutating operations need explicit ordering or concurrency control, which does not meet the second requirement to coordinate explicit graph transitions among multiple model and tool nodes.
C:The second step meets the requirement to coordinate explicit graph transitions among multiple model and tool nodes because graph orchestration clarifies conditional edges and resumability; it adds complexity when a short linear function would suffice; the first step would only help to recover a multi-hour agent workflow after an infrastructure interruption because durable checkpoints let the orchestrator resume from a known stage rather than rerunning costly or side-effecting actions, leaving the separate requirement to preserve durable user-approved facts across agent sessions outside the context window unmet.
Question 91
The team responsible for a hosted document-processing service needs to display partial sentences without publishing malformed structured records. What is the most direct engineering change?
- Delimit retrieved text as untrusted source material.
- Place stable application rules in system instructions and untrusted requests in user content.
- Buffer structured data until it can be parsed and validated before UI commit.
- Add application-owned approval logic around the refund tool.
Explanation
Correct Answer
C:To display partial sentences without publishing malformed structured records in this hosted document-processing service, a text stream can arrive in fragments; consumers must distinguish presentation updates from complete machine-readable objects; the proposed implementation directly supplies that capability.
Incorrect Answers
A:The proposed alternative helps to prevent a retrieved article's embedded commands from being treated as developer instructions because explicit trust boundaries help the model interpret documents as evidence rather than operational orders, and runtime controls must enforce privileged actions; that mechanism does not meet the different requirement to display partial sentences without publishing malformed structured records.
B:The proposed alternative helps to keep application policy separate from a user's question because instruction placement preserves the distinction between developer intent and user-supplied data; concatenating everything blurs that boundary; that mechanism does not meet the different requirement to display partial sentences without publishing malformed structured records.
D:The proposed alternative helps to ensure refunds above a policy limit receive human sign-off because decisions that create financial side effects require deterministic authorization checks beyond a model's recommendation; that mechanism does not meet the different requirement to display partial sentences without publishing malformed structured records.
Question 92
For a token-consumption optimization sprint, a design is acceptable only if it can detect changed library behavior before rolling a new version into production while also being able to choose between writing raw REST requests and using an official client library. Which paired implementation is sufficient?
- Perform both steps: (1) Record rate-limit status and relevant response headers alongside request metrics; (2) check each response block's type before extracting its fields.
- Perform both steps: (1) Run contract and integration tests against the upgraded SDK in staging; (2) check each response block's type before extracting its fields.
- Perform both steps: (1) Run contract and integration tests against the upgraded SDK in staging; (2) prefer a maintained sdk when its typed methods and retry behavior fit the integration.
- Perform both steps: (1) Record rate-limit status and relevant response headers alongside request metrics; (2) prefer a maintained sdk when its typed methods and retry behavior fit the integration.
Explanation
Correct Answer
C:The first change enables the team to detect changed library behavior before rolling a new version into production because client-library version shifts can affect serialization or errors even without changes to business prompts, so they deserve release validation; the second addresses the separate need to choose between writing raw REST requests and using an official client library because sDKs wrap the same underlying service API and can simplify serialization, error types, and streaming without removing protocol constraints.
Incorrect Answers
A:Both steps target different results—investigate inconsistent throughput during a traffic spike and prevent a tool_use block from being displayed as if it were natural-language text—because quota-related measurements explain capacity failures that may otherwise look like randomly slow model inference and typed response objects can contain several block families; assuming every block has a text field causes logic errors; the required capabilities are instead to detect changed library behavior before rolling a new version into production and to choose between writing raw REST requests and using an official client library.
B:The first step is appropriate for the requirement to detect changed library behavior before rolling a new version into production because client-library version shifts can affect serialization or errors even without changes to business prompts, so they deserve release validation; the other step instead aims to prevent a tool_use block from being displayed as if it were natural-language text because typed response objects can contain several block families; assuming every block has a text field causes logic errors, which does not meet the second requirement to choose between writing raw REST requests and using an official client library.
D:The second step meets the requirement to choose between writing raw REST requests and using an official client library because sDKs wrap the same underlying service API and can simplify serialization, error types, and streaming without removing protocol constraints; the first step would only help to investigate inconsistent throughput during a traffic spike because quota-related measurements explain capacity failures that may otherwise look like randomly slow model inference, leaving the separate requirement to detect changed library behavior before rolling a new version into production unmet.
Question 93
An operational review of a tool-calling Claude workflow reports distinct failures: it cannot enforce a mandatory fixed approval step regardless of what instructions the model follows, and it cannot share one integration with several compatible AI clients or agent runtimes. Which two repairs are required? Choose TWO.
- Package the connector behind an MCP server.
- Implement the approval in application workflow control rather than only in a Skill.
- Implement the appropriate MCP capability listing and metadata endpoints.
- Disable the capability at configuration or tool-registration level.
- Register a prompt template with its required arguments.
Explanation
Correct Answers
A:To share one integration with several compatible AI clients or agent runtimes as part of a design that must also enforce a mandatory fixed approval step regardless of what instructions the model follows, MCP standardizes capability exposure across clients, reducing duplicate integration logic compared with proprietary tool schemas everywhere; this is why the action is one of the two required selections.
B:To enforce a mandatory fixed approval step regardless of what instructions the model follows as part of a design that must also share one integration with several compatible AI clients or agent runtimes, skills can guide agent behavior, but deterministic policy gates must live in trusted code so they cannot be skipped by model interpretation; this is why the action is one of the two required selections.
Incorrect Answers
C:This alternative serves the separate goal to help a client learn which callable and informational capabilities a server offers because discovery advertises tools, resources, or prompts so clients can use supported contracts rather than guessing names or arguments; the required outcomes are instead to enforce a mandatory fixed approval step regardless of what instructions the model follows and to share one integration with several compatible AI clients or agent runtimes.
D:This alternative serves the separate goal to remove an agent's access to an obsolete integration without rewriting all its task prompts because actual registered capabilities define what may execute; changing descriptive prompt text alone does not revoke a previously available tool; the required outcomes are instead to enforce a mandatory fixed approval step regardless of what instructions the model follows and to share one integration with several compatible AI clients or agent runtimes.
E:This alternative serves the separate goal to offer users a reusable parameterized instruction template from an MCP server because MCP prompts provide structured prompt content, but by themselves do not perform external business actions; the required outcomes are instead to enforce a mandatory fixed approval step regardless of what instructions the model follows and to share one integration with several compatible AI clients or agent runtimes.
Question 94
For a team-owned Claude Code workflow, a design is acceptable only if it can introduce Claude Code to an unfamiliar codebase's conventions and commands while also being able to run a Claude Code task from an automated CI job without an interactive terminal. Which paired implementation is sufficient?
- Perform both steps: (1) Place a path-targeted rule in the repository's rules configuration; (2) invoke the supported noninteractive or print-mode command interface.
- Perform both steps: (1) Place a path-targeted rule in the repository's rules configuration; (2) define policy in the appropriate managed or shared settings scope.
- Perform both steps: (1) Initialize project guidance and review the resulting CLAUDE.md content; (2) define policy in the appropriate managed or shared settings scope.
- Perform both steps: (1) Initialize project guidance and review the resulting CLAUDE.md content; (2) invoke the supported noninteractive or print-mode command interface.
Explanation
Correct Answer
D:The first change enables the team to introduce Claude Code to an unfamiliar codebase's conventions and commands because repository setup discovers useful project practices, but autogenerated guidance still needs a human check for accuracy and unnecessary detail; the second addresses the separate need to run a Claude Code task from an automated CI job without an interactive terminal because headless operation outputs results for automation and requires explicit credential, permission, and failure handling in the CI environment.
Incorrect Answers
A:The second step meets the requirement to run a Claude Code task from an automated CI job without an interactive terminal because headless operation outputs results for automation and requires explicit credential, permission, and failure handling in the CI environment; the first step would only help to apply a coding convention only when Claude Code edits a particular path because scoped rules keep specialized instructions close to their applicable files, avoiding global instructions that conflict with other modules, leaving the separate requirement to introduce Claude Code to an unfamiliar codebase's conventions and commands unmet.
B:Both steps target different results—apply a coding convention only when Claude Code edits a particular path and enforce a team-approved permission policy despite local developer preferences—because scoped rules keep specialized instructions close to their applicable files, avoiding global instructions that conflict with other modules and Claude Code has multiple configuration scopes; binding policy to the required scope matters more than placing a rule in an arbitrary JSON file; the required capabilities are instead to introduce Claude Code to an unfamiliar codebase's conventions and commands and to run a Claude Code task from an automated CI job without an interactive terminal.
C:The first step is appropriate for the requirement to introduce Claude Code to an unfamiliar codebase's conventions and commands because repository setup discovers useful project practices, but autogenerated guidance still needs a human check for accuracy and unnecessary detail; the other step instead aims to enforce a team-approved permission policy despite local developer preferences because Claude Code has multiple configuration scopes; binding policy to the required scope matters more than placing a rule in an arbitrary JSON file, which does not meet the second requirement to run a Claude Code task from an automated CI job without an interactive terminal.
Question 95
An architecture decision for a multi-tenant inference service must support require a person to approve an irreversible administrative change and limit the consequences of a mistaken tool call in a production support system. Which option gives a complete rather than partial solution?
- Perform both steps: (1) Pause execution for explicit approval at the high-impact action boundary; (2) combine prompt boundaries, scoped credentials, validation, and approval gates.
- Perform both steps: (1) Use a server-side workload identity or scoped service credential; (2) combine prompt boundaries, scoped credentials, validation, and approval gates.
- Perform both steps: (1) Pause execution for explicit approval at the high-impact action boundary; (2) grant each runtime tool only the operations and resources required for its task.
- Perform both steps: (1) Use a server-side workload identity or scoped service credential; (2) grant each runtime tool only the operations and resources required for its task.
Explanation
Correct Answer
C:The first change enables the team to require a person to approve an irreversible administrative change because human approval is a policy-enforced transition, not a note written in the model's plan or a message displayed afterward; the second addresses the separate need to limit the consequences of a mistaken tool call in a production support system because least-privilege permissions shrink the blast radius of model errors and compromised prompts, especially for mutating actions.
Incorrect Answers
A:The first step is appropriate for the requirement to require a person to approve an irreversible administrative change because human approval is a policy-enforced transition, not a note written in the model's plan or a message displayed afterward; the other step instead aims to secure an agent against both malicious retrieved text and unsafe tool execution because defense in depth assumes individual filters can fail; independent enforcement boundaries reduce the chance of harmful side effects, which does not meet the second requirement to limit the consequences of a mistaken tool call in a production support system.
B:Both steps target different results—stop frontend users from receiving unrestricted backend tool credentials and secure an agent against both malicious retrieved text and unsafe tool execution—because service identities tie privileges to a runtime workload and avoid exposing long-lived secrets to browsers or untrusted users and defense in depth assumes individual filters can fail; independent enforcement boundaries reduce the chance of harmful side effects; the required capabilities are instead to require a person to approve an irreversible administrative change and to limit the consequences of a mistaken tool call in a production support system.
D:The second step meets the requirement to limit the consequences of a mistaken tool call in a production support system because least-privilege permissions shrink the blast radius of model errors and compromised prompts, especially for mutating actions; the first step would only help to stop frontend users from receiving unrestricted backend tool credentials because service identities tie privileges to a runtime workload and avoid exposing long-lived secrets to browsers or untrusted users, leaving the separate requirement to require a person to approve an irreversible administrative change unmet.
Question 96
A release check on an internal agent-extension rollout found two unsatisfied conditions: the service must remove an agent's access to an obsolete integration without rewriting all its task prompts, and it must enforce a mandatory fixed approval step regardless of what instructions the model follows. Which complete engineering plan satisfies both?
- Perform both steps: (1) Disable the capability at configuration or tool-registration level; (2) implement the appropriate mcp capability listing and metadata endpoints.
- Perform both steps: (1) Give each tool a timeout and controlled retry or failure result; (2) implement the appropriate mcp capability listing and metadata endpoints.
- Perform both steps: (1) Give each tool a timeout and controlled retry or failure result; (2) implement the approval in application workflow control rather than only in a skill.
- Perform both steps: (1) Disable the capability at configuration or tool-registration level; (2) implement the approval in application workflow control rather than only in a skill.
Explanation
Correct Answer
D:The first change enables the team to remove an agent's access to an obsolete integration without rewriting all its task prompts because actual registered capabilities define what may execute; changing descriptive prompt text alone does not revoke a previously available tool; the second addresses the separate need to enforce a mandatory fixed approval step regardless of what instructions the model follows because skills can guide agent behavior, but deterministic policy gates must live in trusted code so they cannot be skipped by model interpretation.
Incorrect Answers
A:The first step is appropriate for the requirement to remove an agent's access to an obsolete integration without rewriting all its task prompts because actual registered capabilities define what may execute; changing descriptive prompt text alone does not revoke a previously available tool; the other step instead aims to help a client learn which callable and informational capabilities a server offers because discovery advertises tools, resources, or prompts so clients can use supported contracts rather than guessing names or arguments, which does not meet the second requirement to enforce a mandatory fixed approval step regardless of what instructions the model follows.
B:Both steps target different results—stop a slow external system from trapping an agent loop indefinitely and help a client learn which callable and informational capabilities a server offers—because tool execution is a separate latency source; bounded calls prevent one dependency from exhausting the entire agent budget and discovery advertises tools, resources, or prompts so clients can use supported contracts rather than guessing names or arguments; the required capabilities are instead to remove an agent's access to an obsolete integration without rewriting all its task prompts and to enforce a mandatory fixed approval step regardless of what instructions the model follows.
C:The second step meets the requirement to enforce a mandatory fixed approval step regardless of what instructions the model follows because skills can guide agent behavior, but deterministic policy gates must live in trusted code so they cannot be skipped by model interpretation; the first step would only help to stop a slow external system from trapping an agent loop indefinitely because tool execution is a separate latency source; bounded calls prevent one dependency from exhausting the entire agent budget, leaving the separate requirement to remove an agent's access to an obsolete integration without rewriting all its task prompts unmet.
Question 97
The owner of a document investigation agent needs to reduce elapsed time for independent extraction tasks that do not share mutable state as well as require human approval before an autonomous task crosses a high-impact decision boundary. Which two changes belong in the minimum remediation plan? Choose TWO.
- Run independent branches concurrently and merge their outputs afterward.
- Insert an approval gate before the high-risk action.
- Persist and resume the agent session using supported state handling.
- Use isolated branch state and a controlled reconciliation step.
- Persist checkpoints for tool outputs and accepted decisions.
Explanation
Correct Answers
A:To reduce elapsed time for independent extraction tasks that do not share mutable state as part of a design that must also require human approval before an autonomous task crosses a high-impact decision boundary, parallel orchestration shortens the critical path when calls have no dependencies, while the merger checks completeness before proceeding; this is why the action is one of the two required selections.
B:To require human approval before an autonomous task crosses a high-impact decision boundary as part of a design that must also reduce elapsed time for independent extraction tasks that do not share mutable state, human-in-the-loop control interrupts execution at a defined boundary; an agent's natural-language assurance cannot substitute for authorization; this is why the action is one of the two required selections.
Incorrect Answers
C:This alternative serves the separate goal to continue a paused multi-step task with its legitimate prior context because session continuity preserves relevant work across invocations; discarding session state can cause repeated tools or lost intermediate decisions; the required outcomes are instead to reduce elapsed time for independent extraction tasks that do not share mutable state and to require human approval before an autonomous task crosses a high-impact decision boundary.
D:This alternative serves the separate goal to stop two parallel branches from overwriting the same mutable record because explicit merge rules are required when outputs converge; concurrent mutation without arbitration causes nondeterministic results; the required outcomes are instead to reduce elapsed time for independent extraction tasks that do not share mutable state and to require human approval before an autonomous task crosses a high-impact decision boundary.
E:This alternative serves the separate goal to recover a multi-hour agent workflow after an infrastructure interruption because durable checkpoints let the orchestrator resume from a known stage rather than rerunning costly or side-effecting actions; the required outcomes are instead to reduce elapsed time for independent extraction tasks that do not share mutable state and to require human approval before an autonomous task crosses a high-impact decision boundary.
Question 98
A test for a high-volume Messages API gateway fails because it cannot translate a request for citation-backed answers into observable application behavior. Which change fixes the identified failure?
- Maintain links between requirements, implementation changes, and verification cases.
- Set the appropriate application/json content type and serialize a valid payload.
- Define measurable answer-format and citation acceptance criteria.
- Specify expected concurrency and enforce admission or queueing limits.
Explanation
Correct Answer
C:To translate a request for citation-backed answers into observable application behavior in this high-volume Messages API gateway, a functional requirement specifies what the user must receive and how success is evaluated, not merely that the team will use a language model; the proposed implementation directly supplies that capability.
Incorrect Answers
A:The proposed alternative helps to ensure each production feature can be tied to an approved acceptance test because requirement traceability helps prevent a prompt or model update from silently changing behavior outside the agreed product scope; that mechanism does not meet the different requirement to translate a request for citation-backed answers into observable application behavior.
B:The proposed alternative helps to have the server parse a JSON request body predictably because a JSON body requires both correct serialization and matching HTTP metadata; raw language-model text cannot replace a valid request object; that mechanism does not meet the different requirement to translate a request for citation-backed answers into observable application behavior.
D:The proposed alternative helps to design for a documented burst of simultaneous requests without uncontrolled overload because capacity planning separates average traffic from peak demand and prevents upstream rate limits from becoming cascading application failures; that mechanism does not meet the different requirement to translate a request for citation-backed answers into observable application behavior.
Question 99
For a knowledge-grounded assistant, a design is acceptable only if it can prioritize mandatory legal requirements over optional stylistic preferences while also being able to require that a generated report have a fixed set of sections. Which paired implementation is sufficient?
- Perform both steps: (1) Apply domain-specific authorization and business rules after schema validation; (2) instruct the application to request clarification for unresolved high-impact ambiguity.
- Perform both steps: (1) Apply domain-specific authorization and business rules after schema validation; (2) name each mandatory field or section and provide formatting constraints.
- Perform both steps: (1) State explicit priority and conflict resolution for the task constraints; (2) instruct the application to request clarification for unresolved high-impact ambiguity.
- Perform both steps: (1) State explicit priority and conflict resolution for the task constraints; (2) name each mandatory field or section and provide formatting constraints.
Explanation
Correct Answer
D:The first change enables the team to prioritize mandatory legal requirements over optional stylistic preferences because without a priority rule, competing directives can create ambiguous outputs; hard requirements should guide how optional preferences are applied; the second addresses the separate need to require that a generated report have a fixed set of sections because concrete desired structure is easier to verify than a vague instruction to be professional or comprehensive.
Incorrect Answers
A:Both steps target different results—block a technically well-formed refund record with an unauthorized amount and ask for missing essential parameters rather than inventing a consequential choice—because type correctness is not permission to act; amounts, account ownership, and policy limits need independent checks and clarification reduces irreversible guesses when requirements do not uniquely determine a safe action; the required capabilities are instead to prioritize mandatory legal requirements over optional stylistic preferences and to require that a generated report have a fixed set of sections.
B:The second step meets the requirement to require that a generated report have a fixed set of sections because concrete desired structure is easier to verify than a vague instruction to be professional or comprehensive; the first step would only help to block a technically well-formed refund record with an unauthorized amount because type correctness is not permission to act; amounts, account ownership, and policy limits need independent checks, leaving the separate requirement to prioritize mandatory legal requirements over optional stylistic preferences unmet.
C:The first step is appropriate for the requirement to prioritize mandatory legal requirements over optional stylistic preferences because without a priority rule, competing directives can create ambiguous outputs; hard requirements should guide how optional preferences are applied; the other step instead aims to ask for missing essential parameters rather than inventing a consequential choice because clarification reduces irreversible guesses when requirements do not uniquely determine a safe action, which does not meet the second requirement to require that a generated report have a fixed set of sections.
Question 100
A team maintaining an incident involving failed Claude completions has two different engineering requirements: (1) distinguish a syntactically valid but low-quality answer from a transport outage, and (2) explain why an agent loop is stuck after a model requested an external function. Which TWO independent changes directly meet them? Choose TWO.
- Examine correlated request, tool, and transformation traces stage by stage.
- Check that each tool_use identifier receives one matching tool_result.
- Inspect the HTTP 429 status and rate-limit metadata before retrying.
- Compare versioned prompts and representative eval cases against model responses.
- Read the 400 error details and validate the request payload.
Explanation
Correct Answers
B:To explain why an agent loop is stuck after a model requested an external function as part of a design that must also distinguish a syntactically valid but low-quality answer from a transport outage, an unmatched tool call leaves a protocol-level continuation gap, even if the handler actually ran successfully; this is why the action is one of the two required selections.
D:To distinguish a syntactically valid but low-quality answer from a transport outage as part of a design that must also explain why an agent loop is stuck after a model requested an external function, a successful HTTP call only proves the protocol worked; quality regressions require output-level evidence and controlled comparisons; this is why the action is one of the two required selections.
Incorrect Answers
A:This alternative serves the separate goal to locate which component of a multi-tool answer introduced the wrong value because structured traces reveal whether retrieval, tool execution, postprocessing, or generation caused the defect; reading only the final text cannot isolate it; the required outcomes are instead to distinguish a syntactically valid but low-quality answer from a transport outage and to explain why an agent loop is stuck after a model requested an external function.
C:This alternative serves the separate goal to distinguish an upstream throttling response from a malformed model answer because a rate limit is a request-layer capacity problem; the response needs controlled pacing rather than a prompt rewrite; the required outcomes are instead to distinguish a syntactically valid but low-quality answer from a transport outage and to explain why an agent loop is stuck after a model requested an external function.
E:This alternative serves the separate goal to find a request schema error instead of repeatedly changing the system prompt because an invalid API field or incompatible parameter cannot be fixed by natural-language instructions within the malformed request; the required outcomes are instead to distinguish a syntactically valid but low-quality answer from a transport outage and to explain why an agent loop is stuck after a model requested an external function.