Question 170
A chat application queries one tenant's conversation records constantly but partitions documents only by creation month. Which configuration BEST satisfies these constraints?
Explanation
Correct Answer
Partition-key choice should match high-volume query predicates and distribute traffic.
Incorrect Answers
Use session consistency with the appropriate session token handling: use session consistency with the appropriate session token handling: session consistency supports read-your-writes for the client session without requiring global strong consistency; Partition by an appropriate tenant or tenant-session key to localize frequent reads.
Include the tenant partition-key value in SDK queries or requests: include the tenant partition-key value in SDK queries or requests: supplying the partition key narrows execution instead of fanning queries across partitions; Partition by an appropriate tenant or tenant-session key to localize frequent reads.
Choose a higher-cardinality partition key aligned with workload access patterns: choose a higher-cardinality partition key aligned with workload access patterns: a constant partition key concentrates data and throughput into a hot logical partition.





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