Question 610
The Claude application case reports: A hook is configured for a tool name that never matches the renamed command. Which TWO options form a suitable correction and a separate proof of effectiveness? (Select TWO.)
Explanation
Correct Answers
This corrective action targets A hook is configured for a tool name that never matches the renamed command by applying: Use supported hooks as enforceable programmatic checkpoints for specified tool events, while validating exact hook timing and scope. It addresses: A hook that only advises the model rather than blocking the unsafe call can leave security guarantees unenforced.
This evidence independently verifies the intervention for A hook is configured for a tool name that never matches the renamed command: A simulated disallowed tool invocation is interrupted at the intended hook and logged without executing.
Incorrect Answers
Layered validation and guardrail design: A single model-side refusal prompt cannot replace application security controls or operational approvals. That may be useful independently, but the missing requirement here is Deterministic hooks for tool safety.
Prompt injection and trust boundaries: An adversary can embed deceptive instructions into low-trust text to redirect tool calls or exfiltrate secrets. The observed issue still requires Deterministic hooks for tool safety; the proposed alternative tests another control.
Safe deployment with privacy and monitoring: Production telemetry that captures secrets or ignores model-quality regressions creates privacy and reliability hazards. Without demonstrating Deterministic hooks for tool safety, that option does not satisfy the requested outcome.