What is Azure Cosmos DB? A plain-English explainer
Azure Cosmos DB is Microsoft’s fully managed, globally distributed, multi-model NoSQL database, built to serve data with low latency wherever in the world it is accessed from. A single database server, however well run, sits in one place, and every request to it has to travel there — fine for a regional application, awkward for one with users spread across continents who all expect fast responses. Cosmos DB is built around solving that specific problem, alongside the schema flexibility NoSQL databases are known for. Here is what "NoSQL" and "multi-model" actually mean, what the global distribution buys you, and when it is the right tool.
What NoSQL and multi-model actually mean
Our relational-vs-nosql-databases explainer covers the core distinction: a relational database organises data into fixed tables with defined relationships, while a NoSQL database uses more flexible structures — documents, key-value pairs, graphs — that do not require every record to fit the same rigid schema in advance. Cosmos DB is Azure’s NoSQL offering.
"Multi-model" means Cosmos DB does not lock you into one of those flexible structures — it can present data as documents, key-value pairs, graphs or column-family data, depending on what an application needs, through different APIs over the same underlying service. That flexibility is on top of the schema flexibility NoSQL already offers.
Global distribution and low latency
Cosmos DB is designed to replicate data across multiple regions around the world, so a request can be served from a copy physically close to the user making it, rather than travelling to a single central database. Conceptually, that is the same idea behind a content delivery network moving content closer to users — applied to a database instead of static content.
The practical effect is consistently fast reads and writes for a global user base, without an application having to build that geographic distribution itself. Configuring exactly how many regions and how consistency behaves across them is a deeper topic than this explainer covers.
When you would use it
Cosmos DB fits applications with a genuinely global user base that need consistently low latency wherever a user is, and applications whose data does not fit neatly into a fixed relational schema — content with varying shapes, user profiles with optional fields, catalogues that evolve over time.
It is less suited to workloads that are single-region, relational by nature, and better served by the simplicity of a managed relational database like Azure SQL Database, or to cases where the flexibility and distribution Cosmos DB offers are not actually needed.
Its counterpart on other clouds
The closest equivalent on AWS is Amazon DynamoDB — a fully managed NoSQL database also built for scale and low-latency access, though with a different model and API. The two are often compared directly when a team is choosing between Azure and AWS for a NoSQL workload; the underlying idea, a managed, flexible-schema database built for scale, is the same on both.
Pricing model, in one line
Cosmos DB is billed on the throughput and storage a database consumes, following the general consumption pattern of paying for what is actually provisioned or used rather than fixed hardware. Exact rates and options change over time, so treat this as the shape of the model rather than a number, and check Microsoft’s current pricing page for specifics.
Where Cosmos DB appears in certification study
Cosmos DB is introduced conceptually in Azure Fundamentals as one of Azure’s core database services, and it appears in more depth in the Azure Administrator Associate, where choosing and managing the right Azure data service is part of the material. The broader NoSQL concept it builds on is also relevant background for the Microsoft Fabric Data Engineer Associate.
As with the other services covered here, this article stays at the concept level. Configuring consistency levels, partitioning and throughput belongs in our /revision study material, not in a beginner explainer.
Original practice questions, timed mock exams and revision notes. No card, nothing to pay.