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 is for SMB shares, not archival.
- ✗
Azure Data Lake Storage Gen2
Why it's wrong here
ADLS Gen2 is optimized for analytics, not for low-cost archival.
- ✗
Azure Cosmos DB
Why it's wrong here
Cosmos DB is a NoSQL database, not for log storage.
- ✓
Azure Blob Storage (cool or archive tier)
Why this is correct
Blob Storage with cool/archive tiers provides low-cost storage for infrequently accessed data.
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 760 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.