0
0
Azurecloud~20 mins

AKS cluster creation in Azure - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
AKS Mastery Badge
Get all challenges correct to earn this badge!
Test your skills under time pressure!
Architecture
intermediate
2:00remaining
Choosing the Right Node Pool Configuration

You want to create an AKS cluster optimized for a mix of CPU-intensive and memory-intensive workloads. Which node pool configuration best supports this scenario?

ACreate a single node pool with Standard_B2s VM size to save costs.
BCreate a single node pool with Standard_D4s_v3 VM size for all workloads.
CCreate two node pools both with Standard_D2s_v3 VM size for simplicity.
DCreate two node pools: one with Standard_F8s (CPU optimized) and another with Standard_E8s_v3 (memory optimized).
Attempts:
2 left
💡 Hint

Think about separating workloads by resource needs to optimize performance.

Configuration
intermediate
2:00remaining
Correct Azure CLI Command for AKS Creation

Which Azure CLI command correctly creates an AKS cluster named 'myAKSCluster' in resource group 'myResourceGroup' with 3 nodes?

Aaz aks create --resource-group myResourceGroup --cluster-name myAKSCluster --nodes 3
Baz aks create --resource-group myResourceGroup --name myAKSCluster --node-count 3 --enable-addons monitoring
Caz aks create --resource-group myResourceGroup --name myAKSCluster --node-count three
Daz aks create --resource-group myResourceGroup --name myAKSCluster --node-count 0
Attempts:
2 left
💡 Hint

Check the correct parameter names and valid values for node count.

security
advanced
2:00remaining
Securing AKS Cluster API Server Access

You want to restrict access to the AKS API server to only your corporate IP range 203.0.113.0/24. Which configuration achieves this?

AEnable API server authorized IP ranges with 203.0.113.0/24 during cluster creation.
BUse Azure Firewall to block all IPs except 203.0.113.0/24 after cluster creation.
CConfigure network policies inside the cluster to restrict API server access.
DSet up a VPN gateway and connect to the cluster through VPN only.
Attempts:
2 left
💡 Hint

Consider built-in AKS features for API server access control.

service_behavior
advanced
2:00remaining
Effect of Enabling Cluster Autoscaler

What happens when you enable the cluster autoscaler on an AKS node pool with min nodes 1 and max nodes 5?

AThe node pool will automatically scale between 1 and 5 nodes based on pod resource demands.
BThe node pool will always maintain 5 nodes regardless of workload.
CThe node pool will scale down to zero nodes when no pods are running.
DThe node pool will only scale up but never scale down.
Attempts:
2 left
💡 Hint

Think about how autoscaler adjusts node count based on workload.

Best Practice
expert
2:00remaining
Best Practice for Managing Secrets in AKS

Which approach is the best practice for securely managing sensitive data like database passwords in an AKS cluster?

AStore secrets in ConfigMaps since they are easier to manage than Secrets.
BHardcode secrets in container environment variables for easy access.
CStore secrets in Kubernetes Secrets and enable encryption at rest with Azure Key Vault integration.
DKeep secrets in plain text files inside container images for simplicity.
Attempts:
2 left
💡 Hint

Consider security and encryption features available in AKS and Azure.