Microsoft
DP-420 · Question #190
You have an Azure Cosmos DB for NoSQL container named Container1 that contains 20,000 items. The items have 1,000 unique partition key values. Each item is 50 KB. You need to evaluate the cost of…
The correct answer is B. Increase the number of items in Container1. Too few items to evaluate the cost. Add more items. https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/how-to-query-container
Optimize an Azure Cosmos DB solution
Question
You have an Azure Cosmos DB for NoSQL container named Container1 that contains 20,000 items. The items have 1,000 unique partition key values. Each item is 50 KB. You need to evaluate the cost of running cross-partition queries by using Container1. What should you do first?
Options
- ARecreate Container1 by using a partition key that has higher cardinality.
- BIncrease the number of items in Container1.
- CRecreate Container1 by using a partition key that has lower cardinality.
- DDecrease the number of items in Container1.
How the community answered
(56 responses)- A7% (4)
- B79% (44)
- C4% (2)
- D11% (6)
Explanation
Too few items to evaluate the cost. Add more items. https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/how-to-query-container
Topics
#Cross-partition queries#Cost evaluation#Partitioning#Data volume
Community Discussion
No community discussion yet for this question.