Question 180
Two tenants share a cached prompt prefix containing one tenant's confidential data. What evidence or diagnostic detail should the engineer inspect FIRST?
Explanation
Correct Answer
Inspect repeated prefix byte identity, cache breakpoint, model compatibility, cache TTL and usage accounting. Prompt caching optimizes matching prefixes, not semantic similarity; variable content before a breakpoint defeats reuse. The appropriate response is: Place stable reusable prefix content before varying user material, use cache controls appropriately and monitor token accounting and hit rates. Situation: Two tenants share a cached prompt prefix containing one tenant's confidential data.
Incorrect Answers
Inspect CI secret scans, environment injection, package provenance, dependency vulnerabilities and access role assignments. This evidence is useful for Secret and dependency hygiene in development but would not isolate the primary failure in this scenario. The decisive check is: Inspect repeated prefix byte identity, cache breakpoint, model compatibility, cache TTL and usage accounting. Situation: Two tenants share a cached prompt prefix containing one tenant's confidential data.
Inspect roles, content block types, API schema versions, authentication headers and message ordering. This evidence is useful for Messages API role and content structure but would not isolate the primary failure in this scenario. The decisive check is: Inspect repeated prefix byte identity, cache breakpoint, model compatibility, cache TTL and usage accounting. Situation: Two tenants share a cached prompt prefix containing one tenant's confidential data.
Inspect image MIME types, resolution, source references, parser results and payload size limits. This evidence is useful for Vision and document input handling but would not isolate the primary failure in this scenario. The decisive check is: Inspect repeated prefix byte identity, cache breakpoint, model compatibility, cache TTL and usage accounting. Situation: Two tenants share a cached prompt prefix containing one tenant's confidential data.

