A financial technology enterprise processes high-throughput transaction streams using Google Kubernetes Engine (GKE) and Cloud Spanner. During quarterly settlement windows, incoming event volume surges suddenly by baseline load within a 3-minute window. During recent events, the platform experienced packet drops and elevated latency because the GKE Horizontal Pod Autoscaler (HPA) reacted too slowly to CPU load, and worker node scaling was constrained by regional Compute Engine quota limits. Which TWO capacity planning and workload scaling optimization strategies should you implement to resolve these performance bottlenecks? (Select TWO.)
- Deploy low-priority pause pods to maintain a pre-allocated buffer of node capacity, and reconfigure HPA to autoscale based on unconsumed Pub/Sub message queue depth.Cevap
- Request regional Compute Engine CPU and API quota adjustments in advance of scheduled traffic spikes, and implement client-side connection pooling to handle Cloud Spanner session growth.Cevap
- CDecrease the GKE HPA target CPU utilization threshold to 20% across all worker deployments to force faster pod creation during traffic bursts.
- DRely on dynamic cluster autoscaling to automatically expand GCP regional resource quotas during demand spikes without submitting advance quota increase requests.
Cevap
The correct strategies are to deploy low-priority pause pods with custom Pub/Sub queue-depth HPA metrics, and to request regional Compute Engine quota increases in advance while implementing database connection pooling.
To absorb sudden traffic spikes, capacity planning requires both compute readiness and proactive quota management. Implementing low-priority pause pods creates a pre-provisioned pool of VM resources that high-priority application pods can immediately reclaim without waiting for new VM startup times. Reconfiguring HPA to scale on queue depth (such as Pub/Sub unconsumed message count) ensures pod scaling initiates as soon as work accumulates. Concurrently, submitting regional quota requests before peak events guarantees that underlying GCP compute limits do not block scale-out, while database connection pooling protects Cloud Spanner from session exhaustion.
Adım Adım Çözüm
Anahtar Kavram
Capacity Planning, Preemptive Overprovisioning, and Custom Metric Autoscaling in GCP