Courseiva
Develop for Azure storagemediumMultiple ChoiceObjective-mapped

AZ-204 Develop for Azure storage Practice Question

You are developing an application that writes logs to Azure Blob Storage. Each log entry is small (less than 1 KB) and you need to store millions of entries per day. You want to minimize storage costs and maximize write throughput. Which blob type should you use?

⚠ Common exam trap

Test-takers frequently choose block blobs with a low block size (Option D) thinking it minimizes waste, but they overlook that append blobs are specifically designed for append-heavy workloads and eliminate the need for manual block management, offering better throughput and simplicity.

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

Append blobs.

Append blobs are optimized for append operations, making them ideal for logging scenarios where each log entry is appended to the blob. They provide high throughput for write-heavy, sequential append workloads and are cost-effective because they use the same block blob pricing but avoid the overhead of managing individual blocks for each small entry.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Block blobs with a high block size.

    Why it's wrong here

    Block blobs with a high block size are optimized for uploading large files efficiently, where the entire file or large chunks are available before upload. For logging, which typically involves frequent, small append operations, a high block size would necessitate significant client-side buffering to accumulate enough data to form a full block. This buffering introduces latency, increases memory consumption, and ultimately reduces the effective throughput for continuous small writes, making them unsuitable for real-time logging scenarios.

  • Append blobs.

    Why this is correct

    Append blobs are specifically designed and optimized for append operations, making them ideal for logging scenarios where data is continuously added to the end of a file. Each append operation is atomic, ensuring data integrity even with concurrent writes. This sequential write pattern, without requiring knowledge of the total size or complex block management, provides high throughput and efficiency for log files that grow over time.

  • Page blobs.

    Why it's wrong here

    Page blobs are optimized for random read/write operations and are primarily used for virtual hard disk (VHD) files backing Azure Virtual Machines. Their underlying structure is a collection of 512-byte pages, allowing for byte-range updates. However, for logging, which involves sequential appends rather than arbitrary overwrites, using page blobs would introduce unnecessary overhead due to their random access optimization and the management of individual pages, making them inefficient and more costly compared to append blobs.

  • Block blobs with a low block size.

    Why it's wrong here

    While a low block size for block blobs might seem to accommodate smaller writes, it significantly increases the number of individual blocks that need to be managed and committed for a growing log file. Each block operation incurs overhead, leading to a higher number of API calls and increased transaction costs for high-volume logging. This granular management overhead can negatively impact performance and cost-effectiveness compared to the streamlined append operations of append blobs.

Quick reference

Azure Blob Storage Tier Comparison

TierStorage CostRetrieval CostLatencyUse Case
HotHighestLowestImmediateActive data, frequent reads
CoolLowerHigherImmediateData accessed < once / month
ColdLower stillHigherImmediateData accessed < once / quarter
ArchiveLowestHighest + rehydration delayHoursLong-term compliance retention

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 →

How Courseiva writes practice questions · Editorial policy

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.