AZ-204 Practice Question: Connect to and consume Azure services and third-party services
A developer is building an application that needs to store and retrieve large binary files (e.g., images, videos). The application runs on Azure Virtual Machines. Which Azure service provides the most cost-effective storage for these files?
⚠ Common exam trap
Many exam-takers confuse Azure Files (a managed file share) with Blob Storage, but Azure Files is designed for SMB-based file sharing and is not the most cost-effective option for storing large binary files at scale.
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 Blob Storage
Azure Blob Storage is designed specifically for storing massive amounts of unstructured data, such as images and videos, and offers the lowest cost per gigabyte for large binary files compared to other Azure storage options. It supports scalable, durable, and highly available storage with tiered pricing (Hot, Cool, Archive) to optimize costs based on access patterns.
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 is a relational database service primarily designed for structured data, supporting complex queries and transactional integrity. While it can technically store binary data using `VARBINARY(MAX)` or `FILESTREAM`, this approach is not cost-effective or performant for large binary files due to database overhead, backup complexities, and significantly higher storage costs per gigabyte compared to dedicated object storage solutions. Its primary purpose is managing structured, tabular data, not serving as a primary repository for large unstructured blobs.
- ✗
Azure Cosmos DB
Why it's wrong here
Azure Cosmos DB is a globally distributed, multi-model NoSQL database service optimized for high-throughput and low-latency access to structured or semi-structured data. While it can store small binary data embedded within documents, it is not designed for cost-effective storage of large binary files. Storing large blobs directly in Cosmos DB would incur significantly higher costs per gigabyte and consume provisioned throughput (Request Units) inefficiently, making it an unsuitable choice for this specific requirement.
- ✗
Azure Files
Why it's wrong here
Azure Files provides fully managed file shares in the cloud, accessible via SMB or NFS protocols, primarily designed for traditional file system scenarios like shared application data or lift-and-shift migrations. While it can store large files, its primary use case is for network file shares with hierarchical directory structures and file system semantics, not as a highly scalable, cost-optimized object store for direct application access to individual large binary blobs. Performance and cost characteristics are not ideal for this specific workload compared to object storage.
- ✓
Azure Blob Storage
Why this is correct
Azure Blob Storage is Microsoft's object storage solution, specifically designed for storing massive amounts of unstructured data, including large binary files like images, videos, backups, and data lakes. It offers high scalability, durability, and cost-effectiveness through various access tiers (Hot, Cool, Archive), making it the optimal choice for storing and serving large binary files directly via HTTP/S. Its architecture is purpose-built for efficient handling of blobs, providing excellent performance and pricing for this workload.
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
About these practice questions
Courseiva writes every AZ-204 question from scratch — 881 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 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.