AZ-204 Develop for Azure storage Practice Question
You need to store millions of small JSON documents (each less than 1 KB) that are accessed by key. The data is read-heavy and requires low-latency access. Which Azure storage solution should you use?
⚠ Common exam trap
Test-takers frequently confuse Azure Table Storage's key-value nature with JSON document support, but Table Storage stores entities as flat rows with limited property types and no native JSON indexing, whereas Cosmos DB is purpose-built for JSON documents with automatic indexing and guaranteed low latency.
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
Azure Cosmos DB is the correct choice because it provides single-digit millisecond latency for point reads by key, supports automatic indexing of JSON documents, and offers a globally distributed, multi-model database service. For millions of small JSON documents accessed by key in a read-heavy workload, Cosmos DB's throughput-provisioned model and consistency levels optimize for low-latency access at scale.
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 Files
Why it's wrong here
Azure Files provides managed file shares accessible via SMB or NFS protocols, making it suitable for traditional file system workloads and lift-and-shift applications. However, it is fundamentally a file system, not a NoSQL document database, and lacks the native indexing and query capabilities required for efficient, low-latency access to millions of individual JSON documents. Its design is optimized for file-level operations rather than high-throughput, key-value lookups on structured content.
- ✗
Azure Table Storage
Why it's wrong here
Azure Table Storage is a NoSQL key-value store optimized for massive scale and low cost, ideal for storing large amounts of structured, non-relational data. While it can store JSON-like entities, it offers higher latency and fewer advanced features compared to a dedicated document database like Cosmos DB. It lacks the native JSON support, global distribution with guaranteed low latency, and rich query capabilities that are crucial for high-performance access to millions of small JSON documents.
- ✓
Azure Cosmos DB
Why this is correct
Azure Cosmos DB is a globally distributed, multi-model database service designed for high-performance, low-latency applications at any scale. Its native support for the document model, where JSON documents are first-class citizens, makes it perfectly suited for storing millions of small JSON documents. It guarantees single-digit millisecond latency for reads and writes, offers automatic indexing, and provides flexible APIs, ensuring efficient and rapid access to the data.
- ✗
Azure Blob Storage
Why it's wrong here
Azure Blob Storage is an object storage solution optimized for storing massive amounts of unstructured data, such as images, videos, and backups. While it can store JSON files as blobs, it is not designed for low-latency, high-throughput access to millions of *individual* small documents. Each access involves a full object retrieval, which introduces significant overhead and latency compared to a database, making it inefficient for frequent, granular reads of many small JSON documents.
Go deeper
Related to this question
About these practice questions
This AZ-204 question is part of Courseiva's 881-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 AZ-204 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 AZ-204 exam.