AZ-204 logo
Focused certification exam prep
Start practice

AZ-204 Domain 2: Develop for Azure storage (15-20%) - Complete Study Guide 2026

TL;DR
  • Domain 2 carries 15-20% weight, the second-heaviest area after Azure compute solutions (25-30%).
  • Blob storage lifecycle management, access tiers, and Cosmos DB partitioning are the highest-yield topics.
  • AZ-204 runs 100 minutes with roughly 40-60 questions, scored on a 1-1000 scale with 700 to pass.
  • Cosmos DB consistency levels and partition key design show up repeatedly in scenario-based questions.

Domain 2 Overview: What "Develop for Azure Storage" Actually Covers

Domain 2, officially titled Develop for Azure storage, makes up 15-20% of the AZ-204 exam according to the current skills measured outline. That places it squarely in the middle of exam weight, behind Develop Azure compute solutions (25-30%) but roughly tied with Implement Azure security (15-20%). If you're planning your study time across all five domains, this is not a section to skim - it's dense, code-heavy, and full of details that are easy to mix up under exam pressure.

In practice, Domain 2 tests your ability to write code that reads, writes, and manages data across Azure's core storage services: Blob storage, Cosmos DB, and to a lesser extent Azure Table storage and relational patterns. Microsoft's skills outline groups this around two broad capability areas: developing solutions that use Cosmos DB, and developing solutions that use Blob storage. If you want the full breakdown of how this domain fits alongside the other four, the complete guide to all 5 AZ-204 content areas is worth reading before you build a study plan.

Why Domain 2 trips people up: Storage questions rarely ask "what is Blob storage." They ask you to pick the correct SDK method, the correct access tier for a cost scenario, or the correct partition key strategy for a Cosmos DB workload - details that require hands-on practice, not just reading.

Blob Storage: Lifecycle, Access Tiers, and the SDK

Blob storage is the anchor topic of Domain 2. You need working familiarity with the Azure.Storage.Blobs SDK, including how to create containers, upload and download blobs, set metadata, and manage leases. Expect questions that present a code snippet with a missing line and ask you to choose the correct method call from several plausible-looking options.

Blob Storage Access Tiers

Candidates must understand the cost and retrieval tradeoffs across tiers, plus when lifecycle management policies should move data automatically.

  • Hot tier: frequently accessed data, highest storage cost, lowest access cost
  • Cool tier: infrequently accessed data retained for at least 30 days
  • Cold tier: rarely accessed data with longer minimum retention than Cool
  • Archive tier: offline storage with rehydration delay, lowest storage cost
  • Lifecycle management rules: automate tier transitions and deletion based on age or last-modified date

Beyond tiers, you'll also need to know blob versioning, soft delete, immutable storage policies, and how Shared Access Signatures (SAS) scope permissions at the container or blob level. SAS questions often overlap with Domain 3's security content, so understanding stored access policies versus ad hoc SAS tokens pays off twice.

Key Takeaway

Practice writing actual C# or Python code against the Blob SDK rather than only reading documentation - the exam tests method names, parameters, and return types directly.

Cosmos DB: Containers, Partitioning, and Consistency Levels

Cosmos DB is the second pillar of Domain 2, and it tends to generate the trickiest questions in the entire exam. You'll be tested on the resource hierarchy - account, database, container, item - along with request units (RUs), partition key selection, and the five consistency levels.

Consistency LevelTradeoff
StrongHighest consistency, highest latency and RU cost
Bounded StalenessPredictable staleness window, lower latency than Strong
SessionDefault level; strong consistency within a single client session
Consistent PrefixReads never see out-of-order writes
EventualLowest latency and cost, weakest guarantees

Partition key design is another frequent exam topic. You should be able to identify why a poorly chosen partition key causes hot partitions and throttling, and how to use the change feed for event-driven processing. The .NET and Java SDKs for Cosmos DB also show up in code-completion questions, so know the difference between point reads, queries, and stored procedures.

Exam pattern to expect: A scenario describes a workload's read/write pattern and asks which consistency level or partition key best fits - there's rarely a single "textbook" answer without weighing tradeoffs.

Relational and Table Storage Touchpoints

While Domain 2 is heavily weighted toward Blob and Cosmos DB, the skills outline also expects familiarity with other storage patterns you may encounter in Azure solutions - including Azure Table storage operations and how storage account configuration (redundancy options, networking, and access keys) affects application design decisions. These topics appear less frequently but still show up as distractor options in multi-part questions, so don't ignore them entirely.

If you're unsure how much depth is expected across every domain, the AZ-204 study guide for passing on your first attempt lays out a prioritization approach that weights study time by domain percentage rather than treating every topic equally.

How Domain 2 Questions Are Actually Asked

AZ-204 is a proctored Microsoft technical exam delivered through Pearson VUE test centers or OnVUE online proctoring. Microsoft does not publish an exact question count, but most Microsoft certification exams - including this one - typically contain 40-60 questions within a 100-minute time limit. Domain 2 questions surface as a mix of traditional multiple choice, drag-and-drop code ordering, and occasionally case-study-style scenarios where one storage decision affects a later question in the same set.

Some items may be unscored as Microsoft tests new content, and you won't know which ones. Results are typically available within minutes unless the exam includes lab-based components. A passing score is 700 or higher on the 1-1000 scaled score Microsoft uses across its technical exams.

Key Takeaway

Because storage questions often chain SDK syntax with scenario reasoning, guessing on unfamiliar Cosmos DB or Blob code snippets is riskier here than in more conceptual domains.

For a broader sense of how difficult this exam feels in practice compared to other Microsoft certifications, see the complete AZ-204 difficulty guide, and if you want to gauge your odds statistically, review what the available pass rate data actually shows.

Who Hires for These Skills

Domain 2 skills map directly to real job responsibilities: developers who build APIs backed by Cosmos DB, engineers who manage document or blob-based storage pipelines, and teams migrating on-premises SQL workloads into hybrid Azure storage patterns. Organizations hiring for Azure application developer, cloud engineer, or backend developer roles frequently list Cosmos DB and Blob storage experience as required or preferred skills - because these two services underpin a huge share of production Azure workloads.

If you're weighing whether the certification translates into better job prospects or pay, the AZ-204 jobs overview and salary guide break down how this credential is used in hiring pipelines, while the ROI analysis weighs the certification's value more broadly against cost and time invested.

Fitting Domain 2 Into Your Study Schedule

Because Domain 2 sits below Domain 1 in weight but demands hands-on SDK practice, it works best scheduled in a dedicated block rather than squeezed alongside compute topics. A simple approach: spend early weeks on Azure compute solutions since it carries the most exam weight, then dedicate a full week specifically to Blob and Cosmos DB code labs before moving into security and integration topics.

Week 3

Blob Storage Deep Dive

  • Build a console app using the Blob SDK to upload, tier, and delete objects
  • Configure a lifecycle management policy and test tier transitions
  • Generate and scope a SAS token, then test access restrictions
Week 4

Cosmos DB Deep Dive

  • Create a container with a deliberately poor partition key and observe throttling
  • Rebuild it with an even partition key and compare RU consumption
  • Test each consistency level against a simple multi-region read scenario

This kind of focused, hands-on repetition matters more for Domain 2 than passive reading, since the exam leans on code recognition rather than definitions. For a full week-by-week plan across all five domains, the first-attempt study guide extends this structure across the entire exam.

Registration, Fee, and Retake Mechanics for This Exam

AZ-204 is governed by Microsoft and delivered exclusively through Pearson VUE, either at a test center or via OnVUE online proctoring. Microsoft's exam FAQ lists Associate and Expert-level exams, including AZ-204, at a typical fee of US$165, with no separate member or nonmember pricing tier. There are no required prerequisites, though Microsoft recommends at least two years of programming experience along with working knowledge of Azure SDKs, Azure CLI, Azure PowerShell, and the data and API concepts covered across all five domains.

Retake rule: If you fail on your first attempt, Microsoft requires a 24-hour waiting period before retaking the exam. Later retake wait times can vary, so plan a realistic gap if you need a second attempt.

Once earned, the certification requires renewal every 12 months through a free online Microsoft Learn renewal assessment - available at no cost until the certification's retirement date. Full pricing detail, including what happens if you need to retake the exam multiple times, is covered in the complete AZ-204 pricing breakdown.

Key Takeaway

Mark your calendar: the AZ-204 exam, certification, and renewal assessments all retire July 31, 2026. After that date you cannot earn or renew this credential, so factor the timeline into your registration decision.

Common Mistakes Candidates Make on Storage Questions

  • Confusing access tiers with redundancy options. Hot/Cool/Cold/Archive control access cost and latency; redundancy (LRS, ZRS, GRS) controls durability and replication - they're tested separately but often conflated.
  • Memorizing consistency level names without the tradeoffs. Questions test behavior under specific scenarios, not just definitions.
  • Skipping SAS token scoping practice. Knowing that SAS tokens exist isn't enough; you need to reason about permission scope, expiry, and stored access policies.
  • Underestimating partition key questions. These frequently combine Domain 2 storage knowledge with performance reasoning that feels like it belongs in Domain 4.
  • Treating Domain 2 as lower priority than Domain 1. At 15-20%, it's still one of the largest sections on the exam - comparable to Implement Azure security.

For a side-by-side comparison of how much study time each domain deserves relative to its weight, revisit the exam domains guide, and once you're ready to test your recall under timed conditions, run through practice scenarios on our AZ-204 practice test platform to see how Blob and Cosmos DB questions actually feel in exam format.

Frequently Asked Questions

How much of the AZ-204 exam is Domain 2, Develop for Azure storage?

Domain 2 accounts for 15-20% of the exam according to Microsoft's current skills measured outline, making it the second or third largest domain depending on how Domain 3 is weighted that testing period.

Do I need to know both Cosmos DB and Blob storage in depth?

Yes. Microsoft's skills outline splits Domain 2 primarily between Cosmos DB solution development and Blob storage solution development, so both areas are tested with meaningful depth rather than surface-level recall.

Is Azure Table storage covered on AZ-204?

Table storage concepts appear in Domain 2 but with far less emphasis than Blob storage and Cosmos DB. Focus your deepest preparation on the two primary services, then review Table storage basics as a secondary topic.

How many questions on the real exam come from Domain 2?

Microsoft does not publish an exact number, but with a typical 40-60 question exam and a 15-20% weighting, Domain 2 likely accounts for roughly 6 to 12 questions, though this can vary by exam version.

Should I study Domain 2 before or after Domain 1?

Many candidates study Domain 1, Develop Azure compute solutions, first since it carries the highest weight at 25-30%, then move into Domain 2's storage content while compute concepts are still fresh, since the two areas frequently overlap in real applications.

Ready to pass your AZ-204 exam?

Put this into practice with free AZ-204 questions across every exam domain.