All challenges
Multiple ChoiceBeginner 45s

Multi-tenant data isolation strategy

You are designing a multi-tenant SaaS. Which approach most directly prevents one tenant from reading another tenant's rows in a shared database?
Options
  1. 1Encrypting tenant data at rest with a shared KMS key
  2. 2Running all tenants in a single shared schema with no filter
  3. 3Adding a tenant_id column plus row-level security policies enforced in the DB
  4. 4Using different table names per tenant in the same schema

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle