Question 140A research assistant's context window grows with raw tool outputs and begins omitting the user's original requirements. Which recurring verification should remain in place after repair? Expire task memory and continuously check access boundaries when rehydrating agent context. Use structured summaries with scoped identifiers and expirations rather than unlabelled memory blobs. Implement result limits and source filters for all agent search interfaces. Version compaction policies and test preservation of critical obligations in long agent runs. ExplanationCorrect Answer D:Version compaction policies and test preservation of critical obligations in long agent runs. This maintains the fix beyond the immediate incident. The underlying issue is that compaction helps only if the essential task state survives and irrelevant intermediate material is removed. The immediate corrective action remains: Compact historical context while explicitly preserving requirements, completed steps, open questions, and source citations. Other Answers A:Memory is application-managed context, not a guarantee of relevance or security across user sessions. The stronger recurring control is to version compaction policies and test preservation of critical obligations in long agent runs. B:Context compression without provenance can mix incompatible facts and undermine auditability. A more direct preventive measure is to version compaction policies and test preservation of critical obligations in long agent runs. C:External retrieval tools reduce context pressure and let source data remain outside the model's fixed window. A more direct preventive measure is to version compaction policies and test preservation of critical obligations in long agent runs.
Question 141A development team uses LangGraph for a single predictable model call and introduces unnecessary checkpoint complexity. What action would correct this specific behavior? Use an orchestration framework or harness that persists explicit state and resumes from an approved checkpoint. Replace unnecessary graph orchestration with a direct Claude API call or simple deterministic wrapper. Give each subagent a separate proposal artifact and merge through deterministic conflict and policy review. Evaluate Strands, LangGraph, PydanticAI, and simple loops against concrete service constraints rather than popularity. ExplanationCorrect Answer B:Graph frameworks help when explicit state, branches, and recovery are needed; they add cost to trivial tasks. To confirm, benchmark the direct path and graph path on the same single-step workload and compare failure modes. Other Answers A:Durable graph or workflow state can model waits and branching without losing completed authorized actions. The required change instead is to replace unnecessary graph orchestration with a direct Claude API call or simple deterministic wrapper. C:Concurrent model edits can race; isolation and explicit merge semantics prevent silent loss of changes. A more relevant action is to replace unnecessary graph orchestration with a direct Claude API call or simple deterministic wrapper. D:Frameworks standardize orchestration but do not improve model reasoning or erase integration responsibilities. This failure calls for a decision to replace unnecessary graph orchestration with a direct Claude API call or simple deterministic wrapper.
Question 142A development team uses LangGraph for a single predictable model call and introduces unnecessary checkpoint complexity. Which technical mechanism explains why the intended correction works? Graph frameworks help when explicit state, branches, and recovery are needed; they add cost to trivial tasks. Frameworks standardize orchestration but do not improve model reasoning or erase integration responsibilities. Durable graph or workflow state can model waits and branching without losing completed authorized actions. Concurrent model edits can race; isolation and explicit merge semantics prevent silent loss of changes. ExplanationCorrect Answer A:Graph frameworks help when explicit state, branches, and recovery are needed; they add cost to trivial tasks. This is why the appropriate action is to replace unnecessary graph orchestration with a direct Claude API call or simple deterministic wrapper. The expected evidence is: Benchmark the direct path and graph path on the same single-step workload and compare failure modes. Other Answers B:Frameworks standardize orchestration but do not improve model reasoning or erase integration responsibilities. In the stated system, graph frameworks help when explicit state, branches, and recovery are needed; they add cost to trivial tasks. C:Durable graph or workflow state can model waits and branching without losing completed authorized actions. By contrast, graph frameworks help when explicit state, branches, and recovery are needed; they add cost to trivial tasks. D:Concurrent model edits can race; isolation and explicit merge semantics prevent silent loss of changes. By contrast, graph frameworks help when explicit state, branches, and recovery are needed; they add cost to trivial tasks.
Question 143A development team uses LangGraph for a single predictable model call and introduces unnecessary checkpoint complexity. How should the implementation be tested against this failure? Benchmark the direct path and graph path on the same single-step workload and compare failure modes. Prototype a representative recovery path and compare traces, state handling, and maintenance effort. Run conflicting test proposals and confirm the merger flags differences instead of overwriting silently. Restart the worker during an approval wait and verify no earlier purchase action is repeated. ExplanationCorrect Answer A:Benchmark the direct path and graph path on the same single-step workload and compare failure modes. This directly checks whether the proposed action occurred: Replace unnecessary graph orchestration with a direct Claude API call or simple deterministic wrapper. The relevant mechanism is: Graph frameworks help when explicit state, branches, and recovery are needed; they add cost to trivial tasks. Other Answers B:Frameworks standardize orchestration but do not improve model reasoning or erase integration responsibilities. The relevant acceptance check is to benchmark the direct path and graph path on the same single-step workload and compare failure modes. C:Concurrent model edits can race; isolation and explicit merge semantics prevent silent loss of changes. Proving this correction calls for a check to benchmark the direct path and graph path on the same single-step workload and compare failure modes. D:Durable graph or workflow state can model waits and branching without losing completed authorized actions. The failure is checked more directly by a test to benchmark the direct path and graph path on the same single-step workload and compare failure modes.
Question 144A development team uses LangGraph for a single predictable model call and introduces unnecessary checkpoint complexity. What durable design rule should be enforced? Set a documented orchestration complexity threshold before choosing an agent framework. Test pause-resume and idempotency invariants for every long-running workflow stage. Keep a framework decision record tied to observable requirements and migration costs. Require versioned artifacts and human review for conflicting security policy edits. ExplanationCorrect Answer A:Set a documented orchestration complexity threshold before choosing an agent framework. This maintains the fix beyond the immediate incident. The underlying issue is that graph frameworks help when explicit state, branches, and recovery are needed; they add cost to trivial tasks. The immediate corrective action remains: Replace unnecessary graph orchestration with a direct Claude API call or simple deterministic wrapper. Other Answers B:Durable graph or workflow state can model waits and branching without losing completed authorized actions. Reducing this risk requires a practice to set a documented orchestration complexity threshold before choosing an agent framework. C:Frameworks standardize orchestration but do not improve model reasoning or erase integration responsibilities. The stronger recurring control is to set a documented orchestration complexity threshold before choosing an agent framework. D:Concurrent model edits can race; isolation and explicit merge semantics prevent silent loss of changes. A more direct preventive measure is to set a documented orchestration complexity threshold before choosing an agent framework.
Question 145A multi-step procurement agent must pause for an external approval and resume reliably after a service restart. What is the most defensible fix under these conditions? Strip secrets before persisting framework state and re-acquire scoped credentials at execution time. Use an orchestration framework or harness that persists explicit state and resumes from an approved checkpoint. Evaluate Strands, LangGraph, PydanticAI, and simple loops against concrete service constraints rather than popularity. Replace unnecessary graph orchestration with a direct Claude API call or simple deterministic wrapper. ExplanationCorrect Answer B:Durable graph or workflow state can model waits and branching without losing completed authorized actions. To confirm, restart the worker during an approval wait and verify no earlier purchase action is repeated. Other Answers A:Durable state and memory are data-retention surfaces, not secure credential vaults. The required change instead is to use an orchestration framework or harness that persists explicit state and resumes from an approved checkpoint. C:Frameworks standardize orchestration but do not improve model reasoning or erase integration responsibilities. This failure calls for a decision to use an orchestration framework or harness that persists explicit state and resumes from an approved checkpoint. D:Graph frameworks help when explicit state, branches, and recovery are needed; they add cost to trivial tasks. The corrective action for this requirement is to use an orchestration framework or harness that persists explicit state and resumes from an approved checkpoint.
Question 146A multi-step procurement agent must pause for an external approval and resume reliably after a service restart. Which engineering principle most directly fits these observations? Frameworks standardize orchestration but do not improve model reasoning or erase integration responsibilities. Durable graph or workflow state can model waits and branching without losing completed authorized actions. Graph frameworks help when explicit state, branches, and recovery are needed; they add cost to trivial tasks. Durable state and memory are data-retention surfaces, not secure credential vaults. ExplanationCorrect Answer B:Durable graph or workflow state can model waits and branching without losing completed authorized actions. This is why the appropriate action is to use an orchestration framework or harness that persists explicit state and resumes from an approved checkpoint. The expected evidence is: Restart the worker during an approval wait and verify no earlier purchase action is repeated. Other Answers A:Frameworks standardize orchestration but do not improve model reasoning or erase integration responsibilities. By contrast, durable graph or workflow state can model waits and branching without losing completed authorized actions. C:Graph frameworks help when explicit state, branches, and recovery are needed; they add cost to trivial tasks. In the stated system, durable graph or workflow state can model waits and branching without losing completed authorized actions. D:Durable state and memory are data-retention surfaces, not secure credential vaults. By contrast, durable graph or workflow state can model waits and branching without losing completed authorized actions.
Question 147A multi-step procurement agent must pause for an external approval and resume reliably after a service restart. Which evidence distinguishes success from an unverified claim? Restart the worker during an approval wait and verify no earlier purchase action is repeated. Restore a checkpoint in a test environment and verify no usable bearer token is present. Benchmark the direct path and graph path on the same single-step workload and compare failure modes. Prototype a representative recovery path and compare traces, state handling, and maintenance effort. ExplanationCorrect Answer A:Restart the worker during an approval wait and verify no earlier purchase action is repeated. This directly checks whether the proposed action occurred: Use an orchestration framework or harness that persists explicit state and resumes from an approved checkpoint. The relevant mechanism is: Durable graph or workflow state can model waits and branching without losing completed authorized actions. Other Answers B:Durable state and memory are data-retention surfaces, not secure credential vaults. The failure is checked more directly by a test to restart the worker during an approval wait and verify no earlier purchase action is repeated. C:Graph frameworks help when explicit state, branches, and recovery are needed; they add cost to trivial tasks. A more meaningful verification is to restart the worker during an approval wait and verify no earlier purchase action is repeated. D:Frameworks standardize orchestration but do not improve model reasoning or erase integration responsibilities. The relevant acceptance check is to restart the worker during an approval wait and verify no earlier purchase action is repeated.
Question 148A multi-step procurement agent must pause for an external approval and resume reliably after a service restart. Which preventive measure best fits this case? Scan persisted agent state for secrets and enforce bounded retention and encryption. Set a documented orchestration complexity threshold before choosing an agent framework. Keep a framework decision record tied to observable requirements and migration costs. Test pause-resume and idempotency invariants for every long-running workflow stage. ExplanationCorrect Answer D:Test pause-resume and idempotency invariants for every long-running workflow stage. This maintains the fix beyond the immediate incident. The underlying issue is that durable graph or workflow state can model waits and branching without losing completed authorized actions. The immediate corrective action remains: Use an orchestration framework or harness that persists explicit state and resumes from an approved checkpoint. Other Answers A:Durable state and memory are data-retention surfaces, not secure credential vaults. The stronger recurring control is to test pause-resume and idempotency invariants for every long-running workflow stage. B:Graph frameworks help when explicit state, branches, and recovery are needed; they add cost to trivial tasks. A more direct preventive measure is to test pause-resume and idempotency invariants for every long-running workflow stage. C:Frameworks standardize orchestration but do not improve model reasoning or erase integration responsibilities. The lasting safeguard is to test pause-resume and idempotency invariants for every long-running workflow stage.
Question 149A product-search assistant holds entire unfiltered catalogs in its working context instead of querying an approved search tool. Which change should the team prioritize for this problem? Compact historical context while explicitly preserving requirements, completed steps, open questions, and source citations. Retrieve a small relevant set on demand and return compact evidence rather than keeping the entire catalog in memory. Compact per-task threads separately and preserve source IDs and resolution boundaries in any reusable summary. Attach source freshness and revocation checks to remembered conclusions before using them operationally. ExplanationCorrect Answer B:External retrieval tools reduce context pressure and let source data remain outside the model's fixed window. To confirm, ask for a rare catalog item and confirm the answer cites a fresh authorized retrieval result. Other Answers A:Compaction helps only if the essential task state survives and irrelevant intermediate material is removed. The corrective action for this requirement is to retrieve a small relevant set on demand and return compact evidence rather than keeping the entire catalog in memory. C:Context compression without provenance can mix incompatible facts and undermine auditability. The corrective action for this requirement is to retrieve a small relevant set on demand and return compact evidence rather than keeping the entire catalog in memory. D:Memory is not authoritative when external policy state changes; cached conclusions need revalidation. The required change instead is to retrieve a small relevant set on demand and return compact evidence rather than keeping the entire catalog in memory.
Question 150A product-search assistant holds entire unfiltered catalogs in its working context instead of querying an approved search tool. Why is the recommended intervention appropriate here? Compaction helps only if the essential task state survives and irrelevant intermediate material is removed. Context compression without provenance can mix incompatible facts and undermine auditability. External retrieval tools reduce context pressure and let source data remain outside the model's fixed window. Memory is not authoritative when external policy state changes; cached conclusions need revalidation. ExplanationCorrect Answer C:External retrieval tools reduce context pressure and let source data remain outside the model's fixed window. This is why the appropriate action is to retrieve a small relevant set on demand and return compact evidence rather than keeping the entire catalog in memory. The expected evidence is: Ask for a rare catalog item and confirm the answer cites a fresh authorized retrieval result. Other Answers A:Compaction helps only if the essential task state survives and irrelevant intermediate material is removed. By contrast, external retrieval tools reduce context pressure and let source data remain outside the model's fixed window. B:Context compression without provenance can mix incompatible facts and undermine auditability. By contrast, external retrieval tools reduce context pressure and let source data remain outside the model's fixed window. D:Memory is not authoritative when external policy state changes; cached conclusions need revalidation. In the stated system, external retrieval tools reduce context pressure and let source data remain outside the model's fixed window.