0
0
Azurecloud~10 mins

Storage redundancy (LRS, ZRS, GRS) 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 redundancy to locally-redundant storage (LRS).

Azure
storage_account = StorageAccount(redundancy=[1])
Drag options to blanks, or click blank then click option'
ALRS
BZRS
CGRS
DRA-GRS
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing GRS or ZRS which replicate data across regions or zones.
Using RA-GRS which includes read access to secondary region.
2fill in blank
medium

Complete the code to configure zone-redundant storage (ZRS) for higher availability.

Azure
storage_account = StorageAccount(redundancy=[1])
Drag options to blanks, or click blank then click option'
AZRS
BGRS
CLRS
DRA-GRS
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing ZRS with GRS which replicates across regions.
Using LRS which only replicates within one data center.
3fill in blank
hard

Fix the error in the code to enable geo-redundant storage (GRS).

Azure
storage_account = StorageAccount(redundancy=[1])
Drag options to blanks, or click blank then click option'
AZRS
BGRS
CLRS
DZRS-RA
Attempts:
3 left
💡 Hint
Common Mistakes
Using ZRS which only replicates within zones of one region.
Using LRS which does not replicate outside the data center.
4fill in blank
hard

Fill both blanks to create a storage account with read-access geo-redundant storage (RA-GRS).

Azure
storage_account = StorageAccount(redundancy=[1], access_tier=[2])
Drag options to blanks, or click blank then click option'
ARA-GRS
BHot
CCool
DGRS
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing GRS instead of RA-GRS for read access.
Selecting Cool tier which is for infrequent access.
5fill in blank
hard

Fill all three blanks to define a storage account with zone-redundant storage and cool access tier.

Azure
storage_account = StorageAccount(redundancy=[1], access_tier=[2], enable_https_traffic_only=[3])
Drag options to blanks, or click blank then click option'
ALRS
BCool
CTrue
DZRS
Attempts:
3 left
💡 Hint
Common Mistakes
Using LRS instead of ZRS for zone redundancy.
Not enabling HTTPS traffic only, which is a security best practice.