Azure Data Fundamentals Cosmos DB Core Concepts Quiz

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Thames
T
Thames
Community Contributor
Quizzes Created: 11982 | Total Attempts: 187,298
| Attempts: 11 | Questions: 20 | Updated: Aug 14, 2026
Please wait...
Question 1 / 21
🏆 Rank #-- ▾
0 %
0/100
Score 0/100

1. True or False: Throughput in Cosmos DB can only be set at the database level.

Explanation

Throughput in Azure Cosmos DB can be provisioned at either the database level or the individual container level. Database-level throughput can be shared among containers, while container-level throughput is dedicated to that container, so it is not limited to database-level settings.

Submit
Please wait...
About This Quiz
Azure Data Fundamentals Cosmos Db Core Concepts Quiz - Quiz

This quiz evaluates your understanding of Azure Cosmos DB's core concepts, including its distributed architecture, consistency models, and data organization. Designed for college-level learners, it covers key features such as partitioning, replication, and API options. Master the fundamentals of this globally distributed database service to support modern cloud application development.

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. Which of the following best describes the TTL (Time to Live) feature in Cosmos DB?

Explanation

Cosmos DB’s TTL setting lets you define how long an item remains available, typically in seconds. When that duration expires, Cosmos DB automatically removes the item, helping manage data retention without requiring an application to issue deletion requests.

Submit

3. True or False: Cross-region failover in Cosmos DB is manual and requires user intervention.

Explanation

False. Azure Cosmos DB supports automatic failover for accounts configured with multiple write regions or with automatic failover enabled. If a region becomes unavailable, the service can promote another region according to the account’s failover priorities, without requiring user intervention. Manual failover is also available when administrators need to control the process.

Submit

4. Cosmos DB's ______ API provides graph database capabilities using the Gremlin query language.

Explanation

Azure Cosmos DB’s Gremlin API supports graph data models and lets you query and traverse connected data using the Gremlin query language.

Submit

5. What is the maximum number of unique partition key values that can exist in a Cosmos DB container?

Explanation

A Cosmos DB container has no fixed limit on the number of distinct partition key values it can contain. Each unique value identifies a logical partition, and applications can create additional values as data grows. However, individual logical partitions and the container remain subject to applicable storage, throughput, and service limits.

Submit

6. In Cosmos DB, a ______ is a set of items defined by a common partition key.

Explanation

A logical partition in Azure Cosmos DB is the collection of all items that share the same partition key value. It provides a logical grouping for data and is the unit used for partition-level operations and limits. Cosmos DB may distribute logical partitions across physical partitions as storage and throughput needs grow.

Submit

7. True or False: Cosmos DB's indexing is automatic by default for all properties.

Explanation

True. Azure Cosmos DB automatically indexes every property in each item by default, so queries can filter or sort on properties without requiring a separate index configuration. Indexing policies can be customized to include or exclude specific paths when needed.

Submit

8. Which consistency model provides the best performance in Cosmos DB?

Explanation

Eventual consistency generally delivers the highest performance in Azure Cosmos DB because reads do not need to wait for replicas to synchronize, minimizing coordination and latency while supporting high throughput. The trade-off is that a read may briefly return an older value; replicas converge once updates have propagated, assuming no further changes occur.

Submit

9. Azure Cosmos DB's ______ consistency model guarantees that all replicas see the same data in the same order.

Explanation

Strong consistency ensures that every replica returns the latest committed write, and all clients observe writes in the same order. This provides a single, globally consistent view of the data, though it may increase latency or reduce availability during network disruptions.

Submit

10. What is the purpose of a logical partition in Cosmos DB?

Explanation

A logical partition groups all items that share the same partition key value. This lets Cosmos DB organize and distribute data efficiently, while enabling operations and queries scoped to that partition. It does not provide encryption or automatic backups.

Submit

11. What is the primary benefit of Azure Cosmos DB's global distribution?

Explanation

Azure Cosmos DB can replicate data across multiple geographic regions, allowing users and applications to access nearby copies. This reduces network delays and provides low-latency reads and writes worldwide, while also supporting high availability if a region becomes unavailable.

Submit

12. Which API in Cosmos DB is best suited for applications that need MongoDB compatibility?

Explanation

MongoDB API is designed for applications that use MongoDB drivers, tools, and query syntax, making it the best fit for MongoDB compatibility in Azure Cosmos DB.

Submit

13. In Cosmos DB, ______ consistency allows reads to see the most recent committed writes but with a time delay.

Explanation

Bounded staleness consistency in Azure Cosmos DB lets reads lag behind the latest committed writes, but only within a configured limit. That limit can be expressed as a maximum number of versions or a time interval. This provides predictable freshness while balancing availability and performance.

Submit

14. What is the maximum item size that can be stored in a single Cosmos DB container?

Explanation

A Cosmos DB container can hold many items, but each individual item has a maximum size of 2 MB. This limit applies to the complete item, including its JSON properties and values. Larger data should be split across multiple items or stored externally, with a reference kept in the Cosmos DB item.

Submit

15. True or False: Cosmos DB automatically replicates data across multiple regions for high availability.

Explanation

Azure Cosmos DB can automatically replicate data across the regions configured for an account. This global distribution helps keep data available if a region experiences an outage and can reduce latency for users nearby. Replication is managed by the service, while the account’s regional configuration determines where copies are maintained.

Submit

16. Partition key selection is critical in Cosmos DB. A good partition key should have ______ cardinality.

Explanation

A partition key with high cardinality has many distinct values, helping distribute data and requests across partitions. This reduces the chance of any single partition becoming overloaded and supports better scalability and performance.

Submit

17. Azure Cosmos DB supports multiple APIs. Which of the following is NOT a supported API?

Explanation

Azure Cosmos DB provides APIs for several data models, including SQL (NoSQL), MongoDB, Cassandra, Gremlin, and Table. Oracle API is not among its supported interfaces; Oracle databases use a separate platform and protocol ecosystem. Therefore, applications requiring Oracle compatibility cannot connect through an Oracle API in Cosmos DB natively.

Submit

18. What does RU stand for in Azure Cosmos DB pricing?

Explanation

RU stands for Request Unit, a measure of the compute resources used to process database operations in Azure Cosmos DB. The number of RUs consumed depends on factors such as the operation type, item size, and indexing requirements.

Submit

19. In Cosmos DB, a ______ is a logical container for storing items and associated indexes.

Explanation

In Azure Cosmos DB, a container is the logical unit that stores items, such as JSON documents, and their associated indexes. It also defines key properties, including partitioning and indexing behavior. Containers are created within databases and provide the scope for querying and managing related data.

Submit

20. Which consistency model in Cosmos DB offers the strongest guarantee?

Explanation

Strong consistency provides the strongest guarantee in Cosmos DB: reads return the most recent committed write, ensuring clients see a consistent, up-to-date value.

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
True or False: Throughput in Cosmos DB can only be set at the database...
Which of the following best describes the TTL (Time to Live) feature...
True or False: Cross-region failover in Cosmos DB is manual and...
Cosmos DB's ______ API provides graph database capabilities using the...
What is the maximum number of unique partition key values that can...
In Cosmos DB, a ______ is a set of items defined by a common partition...
True or False: Cosmos DB's indexing is automatic by default for all...
Which consistency model provides the best performance in Cosmos DB?
Azure Cosmos DB's ______ consistency model guarantees that all...
What is the purpose of a logical partition in Cosmos DB?
What is the primary benefit of Azure Cosmos DB's global distribution?
Which API in Cosmos DB is best suited for applications that need...
In Cosmos DB, ______ consistency allows reads to see the most recent...
What is the maximum item size that can be stored in a single Cosmos DB...
True or False: Cosmos DB automatically replicates data across multiple...
Partition key selection is critical in Cosmos DB. A good partition key...
Azure Cosmos DB supports multiple APIs. Which of the following is NOT...
What does RU stand for in Azure Cosmos DB pricing?
In Cosmos DB, a ______ is a logical container for storing items and...
Which consistency model in Cosmos DB offers the strongest guarantee?
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!