Describe considerations for working with non-relational data on Azure →mediumMultiple ChoiceObjective-mapped
DP-900 Practice Question: Describe considerations for working with non-relational data on Azure
A manufacturing company collects sensor data from thousands of IoT devices. Each sensor reading includes a timestamp, device ID, and a variable set of measurements (e.g., temperature, pressure, vibration) that differ by device type. The company needs to store this data in a globally distributed NoSQL database that supports low-latency writes and flexible schema. Which Azure data store should they choose?
⚠ Common exam trap
Many candidates confuse Azure Cache for Redis as a primary database for IoT data, but it is an in-memory cache without durability guarantees, not a globally distributed NoSQL store for persistent sensor readings.
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
✓
Azure Cosmos DB with the NoSQL API
Azure Cosmos DB with the NoSQL API is the correct choice because it is a globally distributed, multi-model database service that supports low-latency writes at scale, a flexible schema (schemaless), and automatic indexing of variable sensor measurements. Its multi-region write capability and configurable consistency levels meet the requirements of high-throughput IoT ingestion from thousands of devices.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Azure SQL Database
Why it's wrong here
Azure SQL Database enforces a fixed relational schema, which cannot accommodate the variable set of measurements per device type without costly schema redesign or nullable columns, and its single-region architecture does not natively support the globally distributed, low-latency writes required by thousands of IoT devices. It is tempting because it offers strong consistency and familiar SQL queries, making it the correct choice for transactional workloads with a stable schema, such as an order-processing system that demands ACID guarantees.
- ✓
Azure Cosmos DB with the NoSQL API
Why this is correct
Azure Cosmos DB with the NoSQL API is the right fit because it stores JSON documents natively, allowing each sensor record to have a flexible set of attributes without schema migrations. Its multi-region writes and configurable consistency levels (e.g., session or eventual) provide sub-10-ms latencies at scale, which is essential for thousands of concurrent IoT devices writing variable telemetry. The global distribution also ensures data is available close to each factory or region, and the change feed can stream to downstream analytics, making it a purpose-built choice for high-velocity, schema-less sensor data.
- ✗
Azure Cache for Redis
Why it's wrong here
Azure Cache for Redis is fundamentally an in-memory key-value cache, not a durable database. While it offers extremely low latency (microseconds), it keeps data in RAM by default, so it cannot reliably store the full history of sensor data without data loss on restarts or evictions unless you enable Redis on disk or AOF persistence, which is not designed for large-scale durability. It also lacks native global distribution for writes across multiple regions, and its data modeling (keys, hashes, or streams) does not handle flexible JSON documents as naturally as a document database. Its appropriate role here would be as a hot-cache layer in front of Cosmos DB, not as the primary store.
- ✗
Azure Database for PostgreSQL
Why it's wrong here
Azure Database for PostgreSQL is a relational database that enforces a fixed schema, typically requiring a predefined table for measurements. To handle variable sensor measurements you would have to use a JSONB column, write sparse columns for every possible metric, or split into many tables with joins — all of which add complexity and hurt write performance. It also lacks native multi-master global distribution, so the single-region deployment cannot provide low-latency writes for devices spread across the globe, and a failover to another region would involve downtime or complicated replication. While it is excellent for transactional, relational data with strong consistency, it is not optimized for the high-ingest-rate, schema-flexible, globally distributed requirements of IoT telemetry.
Go deeper
Related to this question
Learn chapter
Data Roles and Core Concepts
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.
Key term
Service
A service is a software component or system that performs a specific function and is available to be used by other programs or users over a network.
About these practice questions
One of 820 original DP-900 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.