Question 620
The Claude application case reports: An agent shares the same unrestricted database token across all tenants. Select TWO: a safe corrective action and an independent acceptance test for this failure. (Select TWO.)
Explanation
Correct Answers
This corrective action targets An agent shares the same unrestricted database token across all tenants by applying: Keep API keys and external-service credentials server-side, scoped to minimal privileges, rotated and protected by audit and expiry controls. It addresses: Exposed or overprivileged secrets permit impersonation and unauthorized access beyond the intended application.
This evidence independently verifies the intervention for An agent shares the same unrestricted database token across all tenants: A credential-leak drill revokes the test key, demonstrates least-privilege denial, and confirms redacted logs.
Incorrect Answers
Prompt injection and trust boundaries: An adversary can embed deceptive instructions into low-trust text to redirect tool calls or exfiltrate secrets. That mechanism alone cannot establish Credential scope, secrets and rotation for this question.
Deterministic hooks for tool safety: A hook that only advises the model rather than blocking the unsafe call can leave security guarantees unenforced. The observed issue still requires Credential scope, secrets and rotation; the proposed alternative tests another control.
Input validation and output exfiltration controls: Filtering only the final reply fails to stop unauthorized external effects already performed by tools. Without demonstrating Credential scope, secrets and rotation, that option does not satisfy the requested outcome.