DP-900 Describe core data concepts Practice Question
Which THREE are valid use cases for Azure Cosmos DB?
⚠ Common exam trap
Many candidates confuse Azure Cosmos DB's multi-model support (e.g., table API, Cassandra API) with relational database capabilities, leading them to incorrectly select Option B for OLTP with complex joins, or they assume Cosmos DB can handle large binary files like Blob Storage, missing the 2 MB document size limit.
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
✓
Storing IoT telemetry data with low latency
Azure Cosmos DB is a globally distributed, multi-model NoSQL database designed for low-latency, high-throughput workloads, making option A correct: storing IoT telemetry data benefits from its single-digit-millisecond reads/writes and elastic scale across regions. Option C is correct because session state management for web applications fits Cosmos DB's key-value/document model with a TTL (time-to-live) feature that automatically expires session data, plus low-latency access from any region. Option D is correct because personalization and recommendation engines rely on fast lookups of user profiles and interaction data, which Cosmos DB supports through its multi-model APIs and global distribution. Option B is not valid because relational OLTP with complex joins requires a relational engine with strong schema enforcement and JOIN semantics, which Cosmos DB does not provide as a core capability. Option E is not valid because storing large files like images and videos is better suited to Azure Blob Storage, since Cosmos DB is optimized for small, structured JSON documents rather than large binary objects.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Storing IoT telemetry data with low latency
Why this is correct
Cosmos DB is engineered for single-digit-millisecond read and write latency at any scale, making it ideal for high-velocity IoT telemetry where sensors and devices emit continuous time-series data. Its automatic horizontal partitioning distributes partitions across physical machines to absorb massive ingest rates, while multiple consistency levels allow you to tune performance versus data freshness. Global distribution lets telemetry be replicated to edge regions for local access, so device data is both durable and quickly retrievable without operational overhead.
- ✗
Relational OLTP with complex joins
Why it's wrong here
Cosmos DB is a NoSQL database that uses a schema-agnostic data model (documents, graphs, key-value, wide-column) and does not perform relational-style joins across collections efficiently. An OLTP system with complex join-heavy transactions requires enforcing referential integrity and ACID guarantees across normalized tables, which is the purpose of Azure SQL Database rather than Cosmos DB. While the SQL API lets you query JSON documents with some joins within a single document, multi-document set operations must be manually implemented via denormalized embedded data or client-side logic, so it is not a valid substitute for a relational OLTP engine.
- ✓
Session state management for web applications
Why this is correct
Session state storage is a common Cosmos DB workload because each HTTP request can read and write a small session document with consistent, single-digit-millisecond latency. Cosmos DB supports TTL to automatically expire stale session records, preventing unbounded growth, and its global replication enables session access from any geographic region without sticky load-balancer affinity. The official Azure Cosmos DB session-state provider for ASP.NET Core serializes user session data into a JSON document, taking advantage of point reads by session ID instead of expensive scans.
- ✓
Personalization and recommendation engines
Why this is correct
Personalization and recommendation engines thrive on Cosmos DB because it can ingest near-real-time user clickstreams, behavioral events, and profile updates while simultaneously serving read-heavy recommendation queries with global low latency. The store allows denormalized per-user preference and interaction documents to be partitioned by customer ID, giving rapid point reads even as user bases scale into the billions. Cosmos DB feeds into Azure Machine Learning or Azure Synapse pipelines for scoring, returning recommendations without requiring a separate caching tier for hot user data.
- ✗
Storing large files like images and videos
Why it's wrong here
Cosmos DB document items have a maximum size of 2 MB, so large binary assets such as images and videos exceed its payload limits and cannot be stored as documents. Azure Blob Storage is the correct service for unstructured large files because it supports up to ~4.77 TB per blob and is optimized for high-throughput streaming. A common pattern is to store the file in Blob Storage and keep only a URL or metadata reference inside Cosmos DB, using Cosmos for querying metadata rather than for binary content itself.
Quick reference
Azure Blob Storage Tier Comparison
| Tier | Storage Cost | Retrieval Cost | Latency | Use Case |
|---|---|---|---|---|
| Hot | Highest | Lowest | Immediate | Active data, frequent reads |
| Cool | Lower | Higher | Immediate | Data accessed < once / month |
| Cold | Lower still | Higher | Immediate | Data accessed < once / quarter |
| Archive | Lowest | Highest + rehydration delay | Hours | Long-term compliance retention |
Go deeper
Related to this question
Learn chapter
Azure Database for PostgreSQL
Key term
Data
Data is raw, unprocessed information, like numbers, words, or measurements, that can be stored, processed, and analyzed by computers.
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
This DP-900 question is part of Courseiva's 851-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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.