-
AZ-305 practice test Set 3 – question number 14
-
Hi,
I’m a bit confused as to why the correct answer is “Cluster autoscaler”. The question states:
“You are managing an Azure Kubernetes Service (AKS) cluster for a high-traffic e-commerce application. The application needs to handle sudden spikes in traffic without significant delays in provisioning new compute resources. Additionally, the application runs Windows Server 2022 containers and requires autoscaling to manage varying workloads effectively.”
Doesn’t HPA work better here? Since there shouldn’t be significant delays, provisioning nodes would take much longer than pods:
Let me know your thoughts.
Thanks!Juan
-
This discussion was modified 3 months ago by
juano1985.
-
Hi juano1985,
Great question! The key distinction is what each scaler actually does:
• HPA scales pods within existing nodes — it cannot add new nodes when capacity runs out.
• Cluster Autoscaler provisions new nodes when pods can’t be scheduled due to insufficient compute resources.
The question specifically asks about “provisioning new compute resources,” which is node-level scaling; only the Cluster Autoscaler does this. HPA alone would leave new pods stuck in a Pending state once existing nodes are full.
The Cluster Autoscaler is also the correct fit for Windows Server 2022 node pools in AKS.
If you have other questions, feel free to reach out!
Best regards,
Irene @ Tutorials Dojo
-
Hi Irene,
Thanks for the clarification. I understand now in the context of the question that for the need to provision new compute resources it’s necesarry to provision underlying nodes.
Thanks!
Best,
Juan
-
Hi Juan,
Glad it clicked! The distinction between pod scaling and node provisioning is subtle but critical in AKS scenarios. Once that’s clear, questions like this become much easier to navigate.
Good luck with the rest of your studies!Best,
Irene @ Tutorials Dojo
Log in to reply.