0
0
Azurecloud~10 mins

AKS cluster creation 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 create an AKS cluster with the Azure CLI.

Azure
az aks create --resource-group myResourceGroup --name myAKSCluster --node-count [1] --enable-addons monitoring --generate-ssh-keys
Drag options to blanks, or click blank then click option'
A1
B0
C5
D3
Attempts:
3 left
💡 Hint
Common Mistakes
Setting node count to 0 causes an error because the cluster needs nodes.
Using a very high number unnecessarily increases cost.
2fill in blank
medium

Complete the code to specify the Kubernetes version when creating the AKS cluster.

Azure
az aks create --resource-group myResourceGroup --name myAKSCluster --kubernetes-version [1] --node-count 2 --generate-ssh-keys
Drag options to blanks, or click blank then click option'
A1.25.6
Blatest
C1.18.14
Dstable
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'latest' or 'stable' causes the command to fail.
Using an unsupported version number.
3fill in blank
hard

Fix the error in the command to enable the HTTP application routing addon.

Azure
az aks create --resource-group myResourceGroup --name myAKSCluster --node-count 2 --enable-addons [1] --generate-ssh-keys
Drag options to blanks, or click blank then click option'
Ahttp-routing
Bhttp_application_routing
Chttp-app-routing
Dhttpapplicationrouting
Attempts:
3 left
💡 Hint
Common Mistakes
Using dashes or no separators in addon names causes errors.
Misspelling the addon name.
4fill in blank
hard

Fill both blanks to create an AKS cluster with a specific VM size and enable monitoring addon.

Azure
az aks create --resource-group myResourceGroup --name myAKSCluster --node-vm-size [1] --enable-addons [2] --generate-ssh-keys
Drag options to blanks, or click blank then click option'
AStandard_DS2_v2
Bmonitoring
Chttpapplicationrouting
DStandard_B1s
Attempts:
3 left
💡 Hint
Common Mistakes
Using unsupported VM sizes causes deployment failure.
Confusing addon names.
5fill in blank
hard

Fill all three blanks to create an AKS cluster with 3 nodes, Kubernetes version 1.24.9, and enable HTTP application routing addon.

Azure
az aks create --resource-group myResourceGroup --name myAKSCluster --node-count [1] --kubernetes-version [2] --enable-addons [3] --generate-ssh-keys
Drag options to blanks, or click blank then click option'
A2
B3
C1.24.9
Dhttp_application_routing
Attempts:
3 left
💡 Hint
Common Mistakes
Using wrong addon names.
Using unsupported Kubernetes versions.
Setting node count to less than 1.