Cost-Effective Log Storage for Long-Term Retention
You need to store log files from multiple applications in a central location for long-term retention and occasional analysis. The data is rarely accessed after 30 days. Which storage solution should you use to minimize cost?
Quick Answer
Azure Blob Storage's access tiers exist precisely to let cost track actual usage patterns, so the right tier for this scenario depends entirely on how often the data gets touched, which the question tells you directly: rarely, after the first 30 days. The cool tier is built for infrequently accessed but still occasionally needed data; it charges less for storage than the default hot tier, in exchange for charging somewhat more per read, a good trade when reads are occasional rather than routine. The archive tier goes further in the same direction: it offers the lowest possible storage cost of the three, but the data is not immediately readable, since it has to be rehydrated, a process that takes time, before it can be accessed again. That makes archive best suited to data that is kept mainly to satisfy retention requirements and is almost never actually opened, while cool suits data that is still queried occasionally, just not often. Because this scenario describes only occasional analysis, cool or archive can both reasonably apply depending on exactly how infrequent that analysis is. The general principle to carry forward: when a scenario describes data accessed rarely after some initial period, look past the default hot tier and match the tier's access-cost-versus-storage-cost trade-off to how infrequently that data actually needs to be read.
⚠ Common exam trap
A common mix-up: candidates choose Azure Data Lake Storage Gen2 for its analytics capabilities, overlooking that blob storage tiers are specifically designed for cost-efficient long-term retention of infrequently accessed data.
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 (cool or archive tier)
Azure Blob Storage with cool or archive tier is the most cost-effective solution for storing log files that are rarely accessed after 30 days. The cool tier offers low storage costs with higher access costs, while the archive tier provides the lowest storage cost but requires rehydration for access, making both ideal for long-term retention and occasional analysis.
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 SMB and NFS file shares billed on provisioned capacity, with no automatic tiering to archive for rarely accessed logs. It is tempting because applications can write to a mounted share, but Blob Storage lifecycle policies move data to cool or archive tiers at lower cost.
- ✗
Azure Data Lake Storage Gen2
Why it's wrong here
Data Lake Storage Gen2 is a hierarchical-namespace analytics platform; its billing centres on transactions and capacity rather than access-tiering, so rarely read logs accrue cost. It is tempting because it handles large volumes of semi-structured log data, but Blob Storage with lifecycle tiering to cool or archive meets the retention requirement.
- ✗
Azure Cosmos DB
Why it's wrong here
Cosmos DB is a low-latency operational database billed through provisioned or serverless request units, making it expensive for bulk log retention. It is tempting because it ingests high-volume writes reliably, but the scenario needs cheap infrequent-read storage, which Blob Storage access tiers provide.
- ✓
Azure Blob Storage (cool or archive tier)
Why this is correct
Azure Blob Storage cool or archive tiers satisfy the long-term retention and infrequent access constraints by storing data at lower cost than hot tier, while archive offers the cheapest per-GB rate for data rarely read. Lifecycle policies can automatically transition blobs after 30 days, minimising spend for occasional analysis.
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
One of 509 original DP-203 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 →
Same concept, more angles
1 more way this is tested on DP-203
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. A data engineer needs to store log data from multiple applications in Azure. The data is append-only, heavily compressed, and queried infrequently. Cost minimization is critical. Which storage solution is best?
easy- A.Azure Table Storage
- B.Azure Cosmos DB with analytical store
- ✓ C.Azure Blob Storage with cool or archive access tier
- D.Azure Data Lake Storage Gen2 with hot tier
Why C: Azure Blob Storage with cool or archive access tier is the best choice because the data is append-only, heavily compressed, and infrequently queried, making cost minimization the top priority. The cool tier offers low storage costs with higher access charges, while the archive tier provides the lowest storage cost for data that is rarely accessed and can tolerate hours of retrieval latency. This aligns perfectly with the append-only, infrequently queried nature of the log data.
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This DP-203 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-203 exam.