AZ-204 Develop for Azure storage Practice Question
This AZ-204 practice question tests your understanding of develop for azure storage. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
Exhibit
Refer to the exhibit. The following is an Azure PowerShell script output:
PS Az> Get-AzStorageBlob -Container 'mycontainer' -Blob 'data.txt' | Select-Object Name, BlobType, AccessTier, LastModified
Name BlobType AccessTier LastModified
---- -------- ---------- ------------
data.txt BlockBlob Archive 2025-12-01 10:00:00Z
You have a blob as shown in the exhibit. You need to read the content of this blob. What must you do first?
Clue words in this question
Noticing these words before you look at the options changes how you read each choice.
Clue: "first"
Why it matters: Order matters here. You are being tested on which action comes before the others — not which action is generally useful.
Exhibit
Refer to the exhibit. The following is an Azure PowerShell script output:
PS Az> Get-AzStorageBlob -Container 'mycontainer' -Blob 'data.txt' | Select-Object Name, BlobType, AccessTier, LastModified
Name BlobType AccessTier LastModified
---- -------- ---------- ------------
data.txt BlockBlob Archive 2025-12-01 10:00:00Z
A
Convert the blob to an AppendBlob type.
Why wrong: Changing blob type is not possible after creation.
B
Use the Get-AzStorageBlobContent cmdlet to download the blob directly.
Why wrong: Archive tier blobs are offline; cannot be read directly.
C
Set the access tier of the blob to Hot or Cool using Set-AzStorageBlobTier.
Rehydrating the blob makes it accessible for reading.
D
Use the storage account key to access the blob.
Why wrong: Authentication is not the issue; the blob is archived.
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Set the access tier of the blob to Hot or Cool using Set-AzStorageBlobTier.
The blob in the exhibit is an archived blob, which is offline and cannot be read directly. You must first rehydrate it by setting its access tier to Hot or Cool using Set-AzStorageBlobTier, which initiates an asynchronous copy from the archive tier to an online tier. Only after rehydration completes can you read the blob content.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
✗
Convert the blob to an AppendBlob type.
Why it's wrong here
Changing blob type is not possible after creation.
✗
Use the Get-AzStorageBlobContent cmdlet to download the blob directly.
Why it's wrong here
Archive tier blobs are offline; cannot be read directly.
✓
Set the access tier of the blob to Hot or Cool using Set-AzStorageBlobTier.
Why this is correct
Rehydrating the blob makes it accessible for reading.
Clue confirmation
The clue word "first" in the question point toward this answer.
Related concept
Read the scenario before looking for a memorised answer.
✗
Use the storage account key to access the blob.
Why it's wrong here
Authentication is not the issue; the blob is archived.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates assume a storage account key or a direct download cmdlet can access any blob, but Azure enforces the archive tier's offline state, requiring explicit rehydration before any read operation.
Detailed technical explanation
How to think about this question
Azure Blob Storage archive tier stores blobs offline with a 180-day minimum retention, and rehydration can take up to 15 hours depending on the priority (Standard or High). The Set-AzStorageBlobTier cmdlet triggers an internal copy operation that moves the blob to an online tier, after which the blob's Last-Modified time updates and it becomes readable. This asynchronous process is critical for cost optimization but requires careful planning to avoid access delays.
KKey Concepts to Remember
Read the scenario before looking for a memorised answer.
Find the constraint that changes the correct option.
Eliminate answers that are true in general but not in this case.
TExam Day Tips
→Watch for words such as best, first, most likely and least administrative effort.
→Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.
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
Related glossary terms
Concepts from this question explained
These glossary pages explain the core terms tested in this AZ-204 question in full detail.
Develop for Azure storage — This question tests Develop for Azure storage — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Set the access tier of the blob to Hot or Cool using Set-AzStorageBlobTier. — The blob in the exhibit is an archived blob, which is offline and cannot be read directly. You must first rehydrate it by setting its access tier to Hot or Cool using Set-AzStorageBlobTier, which initiates an asynchronous copy from the archive tier to an online tier. Only after rehydration completes can you read the blob content.
What should I do if I get this AZ-204 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
Are there clue words in this question I should notice?
Yes — watch for: "first". Order matters here. You are being tested on which action comes before the others — not which action is generally useful.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
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.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.