← All questions
MediumTechnical

A red admin reads invoice I1 with private fields. The API caches by invoice ID. A red viewer may see only summary fields and later receives that cache entry. The database query was tenant-scoped. Diagnose and repair.

1Give yourself 5 minutes
2Answer out loud, not in your head
3Then compare with the answer below
0

Reference answer

Then expect these follow-ups

  • How do you test tenant context with a pooled database connection?

Free to read · better with Enzo

Practice this out loud with Enzo

Enzo runs it as a mock interview, pushes back with follow-ups, and grades you on the rubric.

Next question