An enterprise fleet management company processes batch vehicle telemetry and sensor logs uploaded by 50,000 connected delivery vans at the end of each shift. The processing architecture uses Compute Engine Managed Instance Groups (MIGs) consuming messages from a Cloud Pub/Sub topic. During peak shift handovers, message processing backlogs increase rapidly, but worker VMs fail to scale out quickly enough because autoscaling is triggered only by CPU load. Furthermore, sudden cluster scaling periodically fails due to reaching regional vCPU quota limits in us-central1. Which TWO actions should the Cloud Architect take to resolve the processing backlog and ensure reliable infrastructure scaling capacity? (Select TWO.)
- Configure the MIG autoscaler to use a custom metric tracking the number of unacknowledged Pub/Sub messages per worker instance.Cevap
- Perform proactive capacity planning by auditing workload growth and submitting regional vCPU quota increase requests prior to high-volume events.Cevap
- CReplace the Compute Engine MIG workers with a Google Kubernetes Engine (GKE) cluster for basic queue consumer scripts to eliminate the need for capacity planning.
- DRely on automatic runtime scaling to auto-expand regional vCPU quotas dynamically when worker instances hit provisioning limits during peak loads.
Cevap
The Cloud Architect should configure the MIG autoscaler to scale based on Pub/Sub queue depth custom metrics per worker instance and proactively submit regional vCPU quota increase requests in advance of peak load periods.
For message-driven consumer workloads on Google Cloud Compute Engine, autoscaling should be tied to custom metrics such as Pub/Sub unacknowledged message depth per instance rather than CPU utilization. Additionally, to avoid VM creation failures during rapid autoscaling events, cloud architects must perform capacity planning and request regional vCPU quota increases in advance.
Adım Adım Çözüm
Anahtar Kavram
Workload autoscaling using custom queue metrics and proactive regional capacity quota planning.