Interview questions
Security, auth & multi-tenancyMediumSDE-2

A bug in one API endpoint returned another customer's invoices because a query missed the tenant filter. How would you use Postgres Row-Level Security to prevent this class of bug, and what are the pitfalls?

Asked at
AtlassianFreshworksZoho

Think first

Answer out loud as you would in the room — clarify, give numbers, name the trade-off — then compare with the model answer.

Saved on this device. Create a free account to keep it on every device.

Practise this with Sam

A real mock interview, out loud, with an honest scorecard. Free to start.

Start free