About this exam
This Microsoft exam leads to Azure Cosmos DB AI Developer Associate, an associate-level certification renamed from Azure Cosmos DB Developer Specialty on October 6, 2026. It is aimed at developers who design and build high-performance, scalable applications and AI applications with Azure Cosmos DB, covering data modeling and distribution, ingesting and querying data, performance, scalability and cost optimization, security, AI retrieval and RAG, agent memory, and integration with Microsoft Fabric.
Try a sample question
This is an original sample question written by itmoshi based on the exam objectives.
A social app stores its data in an Azure Cosmos DB for NoSQL account with one write region and several read regions. After a user publishes a post, the app loads that user's feed with the same SDK client, in the same session. Users must always see their own post immediately after publishing it, but it is fine if other users' posts appear a few seconds late. You want read RU consumption and write latency to be as low as possible. Which default consistency level should you choose?
- AStrong
- BEventual
- CConsistent Prefix
- DSession
Show answer and explanation
Answer:D Session consistency guarantees read-your-own-writes within a session at low cost.
Why it is correct
Session consistency guarantees that, within a session (clients sharing a session token), you can read your own writes and reads never go back in time. Here the post and the feed load use the same SDK client, so that guarantee applies directly. Other sessions may see slightly stale data, which the scenario allows. Reads need only a single replica, so there is no doubled read RU charge as with Strong and no added write latency across regions.
The other options
- ✗ A Strong always returns the latest committed write, but reads cost twice the RUs of Session and, across multiple regions, write latency rises. Choose it only when everyone must always see the latest value.
- ✗ B Eventual only guarantees that replicas converge once writes stop; an immediate read can be stale or out of order, so the author might not see the new post. It suits data such as like counts, where slightly stale values are fine.
- ✗ C Consistent Prefix keeps updates committed together in a transaction from being seen only partially, but it gives the author no guarantee of reading an individually written post right away. It suits data where updates written together must become visible together.
Key takeaway
Choose by what you guarantee to whom. Latest value for everyone → Strong (double read RUs, higher write latency across regions). Your own writes visible within a session → Session (the default). Updates written together become visible together → Consistent Prefix. Convergence is enough → Eventual. Session, Consistent Prefix and Eventual have the same read RU cost.
Try 20 questions like this for free
itmoshi is an unofficial study service and is not affiliated with Microsoft or any exam provider.