Question 140
In a controlled acceptance test for: A multitenant document-retrieval API queries every item using tenantId but stores all customers in one logical partition. What evidence confirms the intended behavior?
Explanation
Correct Answer
Representative tenant queries stay partition-targeted and meet RU/latency targets without hotspots. The scenario specifically states: A multitenant document-retrieval API queries every item using tenantId but stores all customers in one logical partition. A suitable Cosmos DB partition key distributes load and enables efficient tenant-scoped queries across physical partitions. This result directly measures the intended change after implementation. The corresponding corrective action is Select a scalable tenant-aware partition strategy for the new container and migrate data appropriately. The important remaining qualification is: A poor tenant distribution can create hot partitions even when requests specify the key.
Incorrect Answers
Hierarchical partition keys can distribute very large tenant datasets by additional key components. That addresses a different mechanism; this question turns on Representative tenant queries stay partition-targeted and meet RU/latency targets.
Cosmos DB indexing policies influence write RU and should align with actual query paths. That observation may hold without resolving the relevant issue: Representative tenant queries stay partition-targeted and meet RU/latency targets.
Supported Cosmos DB vector index types differ in approximate recall, memory and performance tradeoffs. It does not verify the requested outcome; here the decisive check concerns Representative tenant queries stay partition-targeted and meet RU/latency targets.