DP-900 Describe core data concepts Practice Question
Which TWO are benefits of using a NoSQL database like Azure Cosmos DB? (Choose two.)
⚠ Common exam trap
Microsoft often tests the misconception that NoSQL databases support full ACID transactions across multiple documents like relational databases, but in Cosmos DB, multi-document transactions are limited to the same logical partition and are not fully ACID across partitions.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Horizontal scalability
Option C (Horizontal scalability) is correct because Azure Cosmos DB is designed to scale out by partitioning data across many physical nodes, allowing throughput and storage to grow elastically without vertical hardware upgrades. Option D (Schema flexibility) is correct because NoSQL databases like Cosmos DB store JSON documents whose properties can vary per item, so the data model can evolve without migrations or a fixed table schema. Option A is incorrect because enforcing referential integrity is a hallmark of relational databases with foreign keys, which Cosmos DB does not enforce across containers. Option B is incorrect because complex multi-entity joins are a relational strength; Cosmos DB favors denormalization and embedded documents rather than SQL-style joins. Option E is incorrect as a general NoSQL benefit because full multi-document ACID transactions are not universal to NoSQL, and Cosmos DB only offers them within a single logical partition, so it is not a defining benefit of the category.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Enforcing referential integrity
Why it's wrong here
Referential integrity is implemented in relational databases through foreign key constraints that guarantee a child record always points to an existing parent record. NoSQL databases typically avoid such constraints because they favor denormalized data models, where related data is embedded or duplicated rather than referenced. In a distributed system, enforcing foreign keys across partitions would require expensive coordination and would undermine availability and write performance. Therefore, this is a capability of relational systems, not a benefit of NoSQL.
- ✗
Support for complex joins
Why it's wrong here
Relational databases use SQL joins to combine data across multiple tables on the fly, which is a fundamental query pattern that NoSQL databases do not natively support for complex, ad-hoc relationships. Instead, NoSQL models are designed around pre-joined or denormalized storage, such as embedding related documents within a single record, to avoid the need for server-side joins. When joins are needed in NoSQL, they must be implemented in application code or performed through limited, client-side queries, which is inefficient at scale. Hence, complex joins are a relational strength, not a NoSQL benefit.
- ✓
Horizontal scalability
Why this is correct
Horizontal scalability is a core design goal of NoSQL databases, which distribute data and query load across many commodity servers using sharding and consistent hashing. Unlike a single relational server that must be upgraded vertically (scale-up), NoSQL systems can add more nodes dynamically to handle increased traffic and data volume (scale-out). Azure Cosmos DB, for example, automatically splits partitions based on partition keys and can elastically scale throughput and storage across regions. This makes horizontal scalability a primary advantage for global, high-velocity applications.
- ✓
Schema flexibility
Why this is correct
Schema flexibility means NoSQL databases allow each record to have a different set of attributes, so developers can evolve data structures without executing ALTER TABLE migrations or locking the database. This is especially valuable for applications with heterogeneous data, rapid changes in requirements, or ingestion of semi-structured JSON documents where fields may be optional or vary over time. Because there is no fixed relational schema, adding a new field does not require updating existing records or coordinating a migration across a busy production system. Thus, schema flexibility is an important benefit of NoSQL, but it is distinct from scalability.
- ✗
Full ACID transactions across multiple documents
Why it's wrong here
Full ACID transactions across multiple documents are not a general benefit of NoSQL; many NoSQL databases relax cross-document atomicity and isolation in favor of eventual consistency and partition tolerance. While some NoSQL systems, including Azure Cosmos DB, now offer multi-item transactions within a single logical partition, these transactions are limited in scope and do not span arbitrary partitions or collections as easily as relational transactions. Relational databases enforce strict ACID guarantees globally, including serializable isolation and rollback across tables, which NoSQL often sacrifices. Therefore, this option describes a feature that is more characteristic of relational platforms, not a core NoSQL benefit.
Go deeper
Related to this question
Learn chapter
Relational Data Concepts
Key term
Denormalization
Denormalization is a database design strategy that adds redundant data to one or more tables to reduce the number of joins needed in queries, improving read performance at the cost of extra storage and more complex writes.
Key term
Azure Cosmos DB
Azure Cosmos DB is a fully managed, globally distributed NoSQL database service that offers fast reads and writes anywhere in the world with automatic scaling and multiple consistency models.
About these practice questions
Courseiva writes every DP-900 question from scratch — 851 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This DP-900 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DP-900 exam.