Question 60
The Claude application case reports: A retried agent resumes with a different system policy than the original task. Select TWO: a safe corrective action and an independent acceptance test for this failure. (Select TWO.)
Explanation
Correct Answers
This corrective action targets A retried agent resumes with a different system policy than the original task by applying: For custom agent loops, persist structured messages and tool state, validate transitions, and resume idempotently after process interruption. It addresses: A homemade loop with missing state or replay protection can reexecute chargeable or destructive tools.
This evidence independently verifies the intervention for A retried agent resumes with a different system policy than the original task: Crash-restart tests resume with matching tool call IDs and exactly one authorized external side effect.
Incorrect Answers
Hosted versus self-hosted agent deployment: Assuming managed execution removes responsibility for identity, tool authorization, and data handling creates unsafe deployments. That mechanism alone cannot establish Custom agent harness and state persistence for this question.
Claude agent sdk session and tools: An SDK integration that assumes default filesystem or network permissions can fail silently or overreach the host. That may be useful independently, but the missing requirement here is Custom agent harness and state persistence.
Agentic stopping and budget limits: Stopping on natural-language phrases or continuing without bounds can lose results, repeat actions, and exhaust budgets. The observed issue still requires Custom agent harness and state persistence; the proposed alternative tests another control.