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)
- Request regional Compute Engine resource quota increases well in advance of the event to ensure sufficient capacity is available for peak scaling.Answer
- Configure the Managed Instance Group autoscaler using a Cloud Monitoring metric based on Cloud Pub/Sub queue depth per instance.Answer
- CSet the Managed Instance Group autoscaling policy to rely exclusively on CPU utilization metrics.
- DMigrate the simple processing application to a new multi-zone GKE cluster strictly to enable auto-scaling capability.
- EDepend on GCP to automatically increase regional project quota limits in real time as traffic spikes occur during the event.
Answer
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.
Step-by-Step Solution
Key Concept
Capacity Planning and Queue-Based Auto-Scaling