0
0
Azurecloud~10 mins

Storage tiers (Hot, Cool, Archive) in Azure - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to set the storage account's access tier to Hot.

Azure
storage_account = azure.storage.Account(access_tier='[1]')
Drag options to blanks, or click blank then click option'
ACold
BFreeze
CHot
DWarm
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing tiers that don't exist like 'Warm' or 'Freeze'.
Confusing Hot with Cool or Archive.
2fill in blank
medium

Complete the code to set the blob's access tier to Cool for infrequently accessed data.

Azure
blob_client.set_tier(tier='[1]')
Drag options to blanks, or click blank then click option'
ACool
BHot
CCold
DArchive
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing Hot for infrequent data.
Confusing Cool with Archive.
3fill in blank
hard

Fix the error in setting the blob's tier to Archive for long-term storage.

Azure
blob_client.set_tier(tier='[1]')
Drag options to blanks, or click blank then click option'
ACold
BArchive
CFreeze
DDeep
Attempts:
3 left
💡 Hint
Common Mistakes
Using non-existent tiers like 'Freeze' or 'Deep'.
Confusing Archive with Cool or Cold.
4fill in blank
hard

Fill both blanks to create a storage account with the Cool tier and enable blob soft delete.

Azure
storage_account = azure.storage.Account(access_tier='[1]', blob_soft_delete=[2])
Drag options to blanks, or click blank then click option'
ACool
BTrue
CFalse
DHot
Attempts:
3 left
💡 Hint
Common Mistakes
Setting soft delete to False when protection is needed.
Choosing Hot instead of Cool for the tier.
5fill in blank
hard

Fill all three blanks to set a blob's tier to Hot, enable versioning, and set access tier change to immediate.

Azure
blob_client.set_tier(tier='[1]', versioning=[2], rehydrate_priority='[3]')
Drag options to blanks, or click blank then click option'
ACool
BTrue
CStandard
DHot
Attempts:
3 left
💡 Hint
Common Mistakes
Using Cool tier for frequent access.
Disabling versioning.
Using incorrect rehydrate priority values.