Home › Azure AZ-204 › cloudcomputing › az204storage › Which Cosmos DB concept determines the physical …
Which Cosmos DB concept determines the physical sharding strategy — how documents are distributed across partitions?
AThe choice of API (NoSQL vs MongoDB)
BThe container's TTL setting
CThe partition key chosen for the container
DThe default consistency level
Answer & Solution
Correct answer: C. The partition key chosen for the container
Partition key drives sharding — picking it well is the most important design choice for Cosmos. TTL controls expiry, consistency controls reads, API choice controls surface but not sharding.
Related questions
An app must encrypt user-uploaded blobs using a key the customer controls, rotates, and auCosmos DB's Change Feed emits document changes in order. Which scenario is its CANONICAL uWhich Azure storage feature lets you fire an Azure Function when a new blob is uploaded?What is the trade-off when using Cosmos DB session consistency (the default)?Which Cosmos DB feature lets a single container handle a sudden 10x traffic burst WITHOUT Which Azure storage feature continuously replicates blobs to a paired region for region-diWhich Azure storage feature lets you grant a client temporary download access to a specifiWhat is Cosmos DB's consistency model that guarantees clients see writes in the same globa