Q15 Cosmos DB Domain 2 · 25–30% of exam Priority · Real Exam

A multi-tenant app filters nearly every query by tenantId. Which partition key choice minimises RU cost?

  1. A /id
  2. B /tenantId (correct answer)
  3. C /createdDate
  4. D A synthetic key of /type-/region

Shortcut: Partitioning by tenantId makes those filtered queries single-partition, which is the cheapest access pattern. /id would spread a tenant's documents across every partition, forcing fan-out.