0
0
Azurecloud~10 mins

Azure Cache for Redis - Interactive Code Practice

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

Complete the code to create an Azure Cache for Redis instance with the correct SKU.

Azure
az redis create --name myCache --resource-group myResourceGroup --location eastus --sku [1]
Drag options to blanks, or click blank then click option'
APremium
BFree
CBasic
DStandard
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'Free' which is not a valid SKU for Azure Cache for Redis.
Confusing SKU names with other Azure services.
2fill in blank
medium

Complete the code to enable non-SSL port access on the Redis cache.

Azure
az redis update --name myCache --resource-group myResourceGroup --enable-non-ssl-port [1]
Drag options to blanks, or click blank then click option'
Ayes
Bfalse
Cenable
Dtrue
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'enable' or 'yes' which are invalid boolean values.
Setting the flag to 'false' when intending to enable non-SSL port.
3fill in blank
hard

Fix the error in the command to scale the Redis cache to a higher capacity.

Azure
az redis update --name myCache --resource-group myResourceGroup --sku [1] --vm-size C2
Drag options to blanks, or click blank then click option'
APremium
BStandard
CBasic
DFree
Attempts:
3 left
💡 Hint
Common Mistakes
Using Basic or Standard SKU with VM size C2 causes errors.
Using 'Free' SKU which is invalid.
4fill in blank
hard

Fill both blanks to configure a Redis cache with a specific Redis version and enable clustering.

Azure
az redis create --name myCache --resource-group myResourceGroup --location eastus --sku Premium --redis-version [1] --enable-cluster [2]
Drag options to blanks, or click blank then click option'
A6
Btrue
Cfalse
D5
Attempts:
3 left
💡 Hint
Common Mistakes
Using Redis version 5 which may not support clustering.
Setting clustering flag to false when intending to enable it.
5fill in blank
hard

Fill all three blanks to create a Redis cache with a custom subnet, static IP, and enable non-SSL port.

Azure
az redis create --name myCache --resource-group myResourceGroup --location eastus --sku Premium --subnet-id [1] --static-ip [2] --enable-non-ssl-port [3]
Drag options to blanks, or click blank then click option'
A/subscriptions/12345/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet
B10.0.0.5
Ctrue
Dfalse
Attempts:
3 left
💡 Hint
Common Mistakes
Using an invalid subnet ID format.
Assigning a static IP outside the subnet range.
Setting enable-non-ssl-port to false when intending to enable it.