GCP Professional Cloud Architect Practice Question
An e-commerce platform runs microservices on a Google Kubernetes Engine (GKE) Standard cluster with a single node pool. Every Deployment is configured with a Horizontal Pod Autoscaler (HPA), and the Cluster Autoscaler is enabled on the node pool. During a flash-sale, traffic doubles and existing nodes can no longer schedule all requested replicas. You must brief the operations team on what will occur inside the cluster. Which statement correctly explains how the core GKE components react to this situation?
The node pool increases the number of pod replicas directly, and the HPA provisions additional virtual machines to accommodate them.
The Cluster Autoscaler grows the node pool when pods stay pending due to insufficient resources, and the scheduler schedules the extra replicas on the newly created nodes once they join the cluster.
The Horizontal Pod Autoscaler adds new nodes to the cluster when it detects unschedulable pods, after which the scheduler places extra pod replicas on them.
The scheduler immediately overcommits CPU and memory on existing nodes to launch the extra pod replicas without help from any autoscaler.
When rising load causes the HPA to raise the desired replica count, some of the new pods may remain Pending if existing nodes lack free CPU or memory. The scheduler tries to place those pods but cannot find adequate resources, so they stay unscheduled. The Cluster Autoscaler continuously monitors for such unschedulable pods; detecting them, it increases the size of the node pool by adding new Compute Engine VM nodes. As soon as the new nodes register with the cluster, the scheduler assigns the pending pods to them, allowing the additional replicas to run. The HPA never creates nodes-it only adjusts replica counts. Likewise, the scheduler alone cannot create either pods or nodes, and node pools never decide replica counts.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
How does the Horizontal Pod Autoscaler (HPA) function in a Kubernetes cluster?
Open an interactive chat with Bash
What is the role of the Cluster Autoscaler in GKE?
Open an interactive chat with Bash
How does the Kubernetes scheduler handle unschedulable pods?
Open an interactive chat with Bash
What does the Horizontal Pod Autoscaler (HPA) do in GKE?
Open an interactive chat with Bash
How does the Cluster Autoscaler work in GKE?
Open an interactive chat with Bash
What role does the Kubernetes scheduler play in a GKE cluster?
Open an interactive chat with Bash
GCP Professional Cloud Architect
Managing and provisioning a solution infrastructure
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .