Soru

Zorluk: KolayAuto-scaling and Capacity Planning

A media streaming company is preparing for a live global festival expected to draw five times its standard user traffic. The event processing pipeline consumes messages from Cloud Pub/Sub using a Compute Engine Managed Instance Group (MIG). Which TWO capacity planning and auto-scaling configurations should the Cloud Architect implement to ensure operational reliability during peak load? (Select TWO)

  1. Request regional Compute Engine resource quota increases well in advance of the event to ensure sufficient capacity is available for peak scaling.Cevap
  2. Configure the Managed Instance Group autoscaler using a Cloud Monitoring metric based on Cloud Pub/Sub queue depth per instance.Cevap
  3. C
    Set the Managed Instance Group autoscaling policy to rely exclusively on CPU utilization metrics.
  4. D
    Migrate the simple processing application to a new multi-zone GKE cluster strictly to enable auto-scaling capability.
  5. E
    Depend on GCP to automatically increase regional project quota limits in real time as traffic spikes occur during the event.

Cevap

The Cloud Architect should request regional compute quota increases in advance of the event and configure the Managed Instance Group autoscaler using a Cloud Pub/Sub queue depth metric.
To ensure reliable auto-scaling during high-demand events, capacity limits must be expanded beforehand by requesting regional quota increases. Additionally, for queue-driven workloads consuming Pub/Sub messages, auto-scaling should be driven by queue depth per instance rather than CPU utilization.

Adım Adım Çözüm

1
Evaluate capacity limits for peak load.
Identify that default project quota limits may cap the maximum instance count during scaling events.
Requesting regional quota increases ahead of time prevents provisioning failures during traffic surges.
2
Select the appropriate auto-scaling metric for a queue-based processing workload.
Choose queue depth per worker (Pub/Sub unacknowledged messages) instead of standard CPU utilization.
Queue depth directly measures work backlog, enabling the autoscaler to scale instances up or down based on actual workload volume.

Anahtar Kavram

Capacity Planning and Queue-Based Auto-Scaling
Bu soruyu puanla