Question 12
Container OrchestrationWhat is the primary goal of the Cluster Autoscaler?
Correct answer: B
Explanation
The Cluster Autoscaler’s primary purpose is to adjust the number of worker nodes in a cluster based on demand. It scales "cluster Nodes" so workloads can be scheduled when capacity is low and resources can be reduced when they are underused.
Why each option is right or wrong
A. Scale Pod replicas
B. Scale cluster Nodes
The Cluster Autoscaler operates at the node level, not the pod level: it watches for unschedulable pods and then adds or removes worker nodes to match current capacity needs. In Kubernetes, this means it changes the size of the node pool in response to scheduling pressure, which is the function described in the question.
C. Scale Persistent Volumes
D. Scale Service endpoints