Q: 11
You are developing an Azure Cosmos DB solution by using the Azure Cosmos DB SQL API. The data includes millions of documents. Each document may contain hundreds of properties. The properties of the documents do not contain distinct values for partitioning. Azure Cosmos DB must scale individual containers in the database to meet the performance needs of the application by spreading the workload evenly across all partitions over time. You need to select a partition key. Which two partition keys can you use? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.
Options
Discussion
A and C. Only those will really maximize distribution across partitions in Cosmos DB. Pretty sure that's what Microsoft wants here.
A C. Similar question popped up for me on a practice exam, patterns like random or hash suffixes are what Azure recommends when you don't have natural high-cardinality keys.
A or C, not B. Low frequency keys like B won't spread data, so you get hot partitions.
Why not B? Using a property that doesn't show up a lot sounds like it would minimize cross-partition queries.
Be respectful. No spam.