Bird
Raised Fist0
Azurecloud~20 mins

Storage tiers (Hot, Cool, Archive) in Azure - Practice Problems & Coding Challenges

Choose your learning style10 modes available
Challenge - 5 Problems
🎖️
Azure Storage Tier Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding Azure Storage Tier Costs

You have a large amount of data that you rarely access but need to keep for compliance. Which Azure storage tier is the most cost-effective for this scenario?

AHot tier, because it offers the lowest access latency.
BArchive tier, because it has the lowest storage cost but higher access latency.
CCool tier, because it balances cost and access frequency.
DPremium tier, because it provides the highest performance.
Attempts:
2 left
💡 Hint

Think about storage cost versus access frequency and latency.

❓ service_behavior
intermediate
2:00remaining
Accessing Data in Archive Tier

You have a blob stored in the Archive tier. What happens when you try to read this blob immediately after the request?

AThe blob must be rehydrated to Hot or Cool tier first, causing a delay before access.
BThe blob is instantly available for reading with no delay.
CThe blob is automatically moved to Hot tier before reading.
DThe read request fails because Archive tier blobs cannot be read.
Attempts:
2 left
💡 Hint

Consider the nature of Archive tier and how data access works.

❓ Architecture
advanced
3:00remaining
Designing a Cost-Effective Storage Solution

You need to design a storage solution for a company that has three types of data: frequently accessed, infrequently accessed, and archival data. Which combination of Azure storage tiers should you use to optimize cost and performance?

AUse Hot tier for frequently accessed data, Cool tier for infrequently accessed data, and Archive tier for archival data.
BUse Cool tier for all data to balance cost and access.
CStore all data in Hot tier for simplicity and performance.
DUse Archive tier for all data to minimize cost.
Attempts:
2 left
💡 Hint

Think about matching data access patterns to storage tiers.

❓ security
advanced
3:00remaining
Data Retention and Compliance with Storage Tiers

A company must retain data for 7 years to meet compliance. They want to ensure data cannot be deleted or modified during this period. Which Azure feature combined with storage tiers supports this requirement?

AUse Hot tier with soft delete enabled.
BUse Archive tier with lifecycle management policies.
CUse Cool tier with access tier change enabled.
DUse immutable blob storage with legal hold or time-based retention policies.
Attempts:
2 left
💡 Hint

Think about preventing data changes or deletion for compliance.

✅ Best Practice
expert
4:00remaining
Optimizing Cost with Lifecycle Management Policies

You want to automatically move blobs between Hot, Cool, and Archive tiers based on their last modified date to optimize costs. Which lifecycle management rule configuration correctly implements this?

Azure
{
  "rules": [
    {
      "name": "tiering-rule",
      "type": "Lifecycle",
      "definition": {
        "filters": {"blobTypes": ["blockBlob"]},
        "actions": {
          "baseBlob": {
            "tierToCool": {"daysAfterModificationGreaterThan": 30},
            "tierToArchive": {"daysAfterModificationGreaterThan": 90}
          }
        }
      }
    }
  ]
}
AMove blobs to Hot tier after 30 days and to Cool tier after 90 days of no modification.
BMove blobs to Archive tier after 30 days and to Cool tier after 90 days of no modification.
CMove blobs to Cool tier after 30 days and to Archive tier after 90 days of no modification.
DMove blobs to Cool tier after 90 days and to Archive tier after 30 days of no modification.
Attempts:
2 left
💡 Hint

Check the order and timing of tier transitions in the lifecycle policy.

Practice

(1/5)
1. Which Azure Storage tier is best for data that you need to access frequently and quickly?
easy
A. Premium tier
B. Cool tier
C. Archive tier
D. Hot tier

Solution

  1. Step 1: Understand storage tier purposes

    The Hot tier is designed for data that is accessed often and requires fast retrieval.
  2. Step 2: Compare with other tiers

    Cool tier is for infrequent access, Archive is for rarely accessed data, and Premium is a performance option but not a tier for access frequency.
  3. Final Answer:

    Hot tier -> Option D
  4. Quick Check:

    Frequent access = Hot tier [OK]
Hint: Hot tier = frequent access, fastest retrieval [OK]
Common Mistakes:
  • Confusing Cool tier with Hot tier
  • Thinking Archive tier is for frequent access
  • Assuming Premium tier is a storage access tier
2. Which of the following is the correct way to specify the Archive tier for a blob in Azure Storage using Azure CLI?
easy
A. az storage account set-tier --tier Archive
B. az storage blob set-tier --tier Hot
C. az storage blob set-tier --tier Archive
D. az storage blob update --tier Cool

Solution

  1. Step 1: Identify correct command for blob tier

    The command to set a blob's tier is az storage blob set-tier.
  2. Step 2: Choose correct tier parameter

    To set the Archive tier, use --tier Archive. Setting tier on storage account level is invalid.
  3. Final Answer:

    az storage blob set-tier --tier Archive -> Option C
  4. Quick Check:

    Blob tier set with az storage blob set-tier [OK]
Hint: Use az storage blob set-tier for Archive tier [OK]
Common Mistakes:
  • Trying to set tier on storage account instead of blob
  • Using wrong command like az storage blob update
  • Confusing tier names or casing
3. Consider this Azure Storage blob lifecycle rule snippet:
{
  "rules": [
    {
      "name": "moveToCool",
      "type": "Lifecycle",
      "definition": {
        "actions": {
          "baseBlob": {
            "tierToCool": { "daysAfterModificationGreaterThan": 30 }
          }
        },
        "filters": { "blobTypes": ["blockBlob"] }
      }
    }
  ]
}

What happens to blobs older than 30 days?
medium
A. They are moved to Hot tier
B. They are moved to Cool tier
C. They are deleted
D. They are moved to Archive tier

Solution

  1. Step 1: Analyze lifecycle rule action

    The rule specifies tierToCool for blobs modified more than 30 days ago.
  2. Step 2: Understand effect on blobs

    Blobs older than 30 days are automatically moved to the Cool tier to save cost.
  3. Final Answer:

    They are moved to Cool tier -> Option B
  4. Quick Check:

    30+ days old blobs -> Cool tier [OK]
Hint: tierToCool means move blobs older than X days to Cool [OK]
Common Mistakes:
  • Assuming blobs move to Archive instead of Cool
  • Thinking blobs are deleted by this rule
  • Confusing tierToCool with tierToHot
4. You try to set the Archive tier on an entire Azure Storage account but get an error. What is the likely cause?
medium
A. Archive tier can only be set on individual blobs, not on the whole account
B. You must enable Archive tier feature in the portal first
C. Archive tier requires Premium storage account type
D. Archive tier is only for file shares, not blobs

Solution

  1. Step 1: Recall Archive tier scope

    Archive tier is applied per blob, not at the storage account level.
  2. Step 2: Understand error cause

    Trying to set Archive tier on the whole account causes an error because it's unsupported.
  3. Final Answer:

    Archive tier can only be set on individual blobs, not on the whole account -> Option A
  4. Quick Check:

    Archive tier scope = per blob [OK]
Hint: Archive tier applies only to blobs, not entire account [OK]
Common Mistakes:
  • Thinking Archive tier needs special enablement
  • Assuming Archive tier requires Premium account
  • Confusing Archive tier with file share tiers
5. A company stores large video files that are rarely accessed but must be retained for years. They want to minimize storage costs but can tolerate hours of retrieval delay. Which Azure Storage tier strategy should they use?
hard
A. Store videos directly in Archive tier
B. Store videos in Cool tier and move to Archive after 90 days
C. Store videos in Hot tier for fast access
D. Store videos in Premium tier for best performance

Solution

  1. Step 1: Identify access frequency and cost needs

    Videos are rarely accessed and cost minimization is priority, so Archive tier fits best.
  2. Step 2: Consider retrieval delay tolerance

    Archive tier retrieval can take hours, which is acceptable here.
  3. Step 3: Evaluate other options

    Hot tier is costly, Cool tier is more expensive than Archive, Premium is for performance, not cost saving.
  4. Final Answer:

    Store videos directly in Archive tier -> Option A
  5. Quick Check:

    Rare access + low cost = Archive tier [OK]
Hint: Rarely accessed + low cost = Archive tier [OK]
Common Mistakes:
  • Choosing Hot or Premium tier for rarely accessed data
  • Using Cool tier without moving to Archive
  • Ignoring retrieval delay tolerance
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard