Question 200
The workload's HPA raised desired replicas but no new pods can be scheduled due to lack of nodes. After the proposed remediation, what should be observed?
Explanation
Correct Answer
Cluster autoscaling adds or removes nodes to supply capacity; HPA changes pod counts. The observed result “The node pool grows and previously Pending replicas become schedulable” would confirm the change “Enable and correctly configure AKS cluster autoscaler within approved node-pool bounds” in this situation: The workload's HPA raised desired replicas but no new pods can be scheduled due to lack of nodes.
Incorrect Answers
Deployments reconcile replica state and implement rolling updates, unlike unmanaged bare Pods. The situation here is: The workload's HPA raised desired replicas but no new pods can be scheduled due to lack of nodes. A test of this alternative would miss the specific outcome “The node pool grows and previously Pending replicas become schedulable”.
Startup probes allow long initialization periods before liveness checks can restart a workload. The situation here is: The workload's HPA raised desired replicas but no new pods can be scheduled due to lack of nodes. A test of this alternative would miss the specific outcome “The node pool grows and previously Pending replicas become schedulable”.
A Kubernetes Service abstracts changing Pod endpoints behind a stable service identity. The situation here is: The workload's HPA raised desired replicas but no new pods can be scheduled due to lack of nodes. A test of this alternative would miss the specific outcome “The node pool grows and previously Pending replicas become schedulable”.