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?
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.
Why this answer
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.
Exam trap
The trap here is that candidates may 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.
How to eliminate wrong answers
Option A is wrong because Azure SQL Database is a relational database service optimized for structured transactional data, not for storing large binary files, and it incurs higher costs per GB due to its compute and storage architecture. Option B is wrong because Azure Cosmos DB is a NoSQL database designed for globally distributed, low-latency access to structured or semi-structured data, and its storage cost is significantly higher than Blob Storage for large binary files. Option C is wrong because Azure Files provides fully managed file shares using the SMB protocol, which is suitable for shared file access but is more expensive per GB than Blob Storage and not optimized for storing massive binary objects like videos.