Question 573 of 997
Develop for Azure storagehardMultiple ChoiceObjective-mapped

Quick Answer

The correct first step is to set the access tier of the blob to Hot or Cool using Set-AzStorageBlobTier. This is necessary because an archived blob is stored in the offline Archive tier, where data is not immediately accessible for reads; you must rehydrate the archived blob Azure Storage by changing its tier to an online tier, which triggers an asynchronous copy process that brings the data back online. On the AZ-204 exam, this scenario tests your understanding of blob lifecycle management and the critical distinction between online and offline access tiers—a common trap is attempting to read the blob directly or using a copy operation without first changing the tier. Remember that rehydration is not instant; you must wait for the status to change from "rehydrate-pending" to "hot" or "cool" before reading. A simple memory tip: "Archive is asleep—tier change wakes it up."

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.

Question 1hardmultiple choice
Full question →

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

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

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.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related AZ-204 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free AZ-204 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this AZ-204 question test?

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 →

How Courseiva writes practice questions · Editorial policy

Keep practising

More AZ-204 practice questions

Last reviewed: Jun 24, 2026

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.

Loading comments…

Sign in to join the discussion.

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.