📖 What is Azure Cosmos DB?

Azure Cosmos DB is a globally distributed, multi-model database service. It supports document, graph, key-value, and column-family data models. It guarantees single-digit millisecond latency at the 99th percentile, with automatic and elastic scalability to handle demanding application workloads.

🥋 Sensei Says:

"Key exam focus: global distribution and multi-model capabilities. Understand the concept of Request Units (RUs) for throughput provisioning. Distractors often relate to traditional relational database limitations that Cosmos DB overcomes, such as scalability and geo-replication."

📚 Certification: Microsoft Azure Fundamentals (AZ-900)

🔑 What are the Key Concepts of Azure Cosmos DB?

  • Cosmos DB offers multiple API options (SQL, MongoDB, Cassandra, Gremlin, Table) allowing developers to use familiar tools and skills.
  • Globally distributed data ensures low latency for users worldwide through configurable replication and read regions.
  • Request Units (RUs) measure throughput and are used to provision database resources; understanding RU/s is crucial for cost management.
  • Automatic indexing speeds up queries without requiring manual index creation or maintenance, simplifying development.
  • Multi-model support allows storing data in various formats within a single database, offering flexibility for diverse application needs.

🎯 How does Azure Cosmos DB appear on the AZ-900 Exam?

You may be asked to identify the Azure service best suited for an application requiring single-digit millisecond response times at a global scale, with automatic scaling.

A scenario might describe an application needing to store both relational and graph data; determine which Azure database service can handle both efficiently.

Expect questions about how to optimize Cosmos DB costs by adjusting Request Unit (RU) settings based on application workload patterns.

❓ Frequently Asked Questions

How does Cosmos DB handle data consistency?

Cosmos DB offers five well-defined consistency levels (Strong, Bounded Staleness, Session, Consistent Prefix, Eventual). Choosing the right level balances consistency needs with latency and availability requirements.


What are read regions and why are they important?

Read regions allow you to replicate your data to geographically closer locations, reducing read latency for users in those regions. This is key for global applications and improving user experience.


When would I choose Cosmos DB over Azure SQL Database?

Choose Cosmos DB when you need global distribution, multi-model support, and guaranteed low latency at scale. Azure SQL Database is better for applications requiring full ACID transactions and complex relational queries.

Related Terms from Microsoft Azure Fundamentals

📝 Related Study Guides

Study Guide 10 min read

Azure Fundamentals (AZ-900): How to Pass on Your First Try

To pass the Azure AZ-900 exam, focus on the three core domains: Cloud Concepts, Azure Architecture, and Management and Governance. Combine Microsoft Learn's free modules with high-volume practice exams—like the 1,000 questions at Cert Sensei—to master service distinctions and governance tools. Aim for a 700/1000 score across 40-60 questions.

Deep Dive 8 min read

What is an Azure Resource Group? AZ-900 Governance Guide

An Azure Resource Group is a logical container that holds related resources for an Azure solution. It enables efficient lifecycle management, allowing you to deploy, update, and delete a group of resources as a single unit, while providing a centralized point for applying governance, security policies, and Role-Based Access Control (RBAC).

Comparison 7 min read

Azure Data Lake vs Blob Storage: AZ-900 Explained

Azure Blob Storage is object storage for unstructured data using a flat namespace. Azure Data Lake Storage Gen2 builds on Blob storage by adding a hierarchical namespace, making it optimized for big data analytics and high-performance Hadoop workloads. For AZ-900, choose Data Lake when you see "hierarchical" or "analytics."

🧠

Test Your Knowledge

Think you understand Azure Cosmos DB? Put it to the test with our practice exam.

Try 10 Free Questions

⭐ 1,000 expert-curated questions available with Premium

Upgrade Premium