Question 20
A multitenant Cosmos container receives heavy writes and a partition key based on one constant value throttles all tenants together. Which solution should the developer choose?
Explanation
Correct Answer
A constant partition key concentrates data and throughput into a hot logical partition.
Incorrect Answers
Partition by an appropriate tenant or tenant-session key to localize frequent reads: partition-key choice should match high-volume query predicates and distribute traffic.
Use a point read with the document id and partition key: point reads avoid the RU cost of a general query when both the id and partition key are known.
Include the tenant partition-key value in SDK queries or requests: supplying the partition key narrows execution instead of fanning queries across partitions.





Developing AI Cloud Solutions on Azure (AI-200) Practice Tests