Q24 Cosmos DB Domain 2 · 25–30% of exam

What is the main advantage of Cosmos DB's hierarchical partition keys?

  1. A Enables strong consistency across regions
  2. B Allows containers to exceed the 20 GB logical partition limit by creating sub-partitions (correct answer)
  3. C Enables multi-master writes per partition
  4. D Provides automatic index management

Shortcut: Hierarchical partition keys (up to 3 levels) distribute data more granularly, preventing hot partitions when a single partition key value approaches the 20 GB limit.