Complete the code to create an Azure Cache for Redis instance with the correct SKU.
az redis create --name myCache --resource-group myResourceGroup --location eastus --sku [1]The Basic SKU is a valid SKU for Azure Cache for Redis and is commonly used for development and testing.
Complete the code to enable non-SSL port access on the Redis cache.
az redis update --name myCache --resource-group myResourceGroup --enable-non-ssl-port [1]Setting --enable-non-ssl-port true allows access to the Redis cache over non-SSL port.
Fix the error in the command to scale the Redis cache to a higher capacity.
az redis update --name myCache --resource-group myResourceGroup --sku [1] --vm-size C2The Premium SKU supports scaling with VM sizes like C2. Basic and Standard SKUs do not support this VM size.
Fill both blanks to configure a Redis cache with a specific Redis version and enable clustering.
az redis create --name myCache --resource-group myResourceGroup --location eastus --sku Premium --redis-version [1] --enable-cluster [2]
Redis version 6 is a supported version and enabling clustering requires setting --enable-cluster true.
Fill all three blanks to create a Redis cache with a custom subnet, static IP, and enable non-SSL port.
az redis create --name myCache --resource-group myResourceGroup --location eastus --sku Premium --subnet-id [1] --static-ip [2] --enable-non-ssl-port [3]
To configure a Redis cache in a custom subnet, provide the subnet resource ID, assign a static IP within that subnet, and enable the non-SSL port by setting it to true.