An enterprise financial analytics company runs an event-driven risk assessment workload on Compute Engine Managed Instance Groups (MIGs). The application receives trade messages from a queue, processes heavy calculations, and stores the results in a database. During periods of sudden market volatility, trade queue lengths increase dramatically while worker VM CPU utilization remains low due to database connection waiting times. Additionally, rapid scaling attempts during recent market events failed because the project hit regional instance limit ceilings. Which TWO architectural actions should a Cloud Architect implement to ensure auto-scaling reliability and adequate operational capacity during peak events? (Select TWO.)
- Configure the MIG auto-scaler to scale based on a custom Cloud Monitoring metric representing unprocessed message queue depth instead of CPU utilization.Answer
- BConfigure the MIG auto-scaler using a strict 70% target average CPU utilization metric across the instance group.
- Request regional Compute Engine CPU quota increases in advance and implement Compute Engine capacity reservations for baseline capacity in target zones.Answer
- DMigrate the processing workers to Google Kubernetes Engine (GKE) clusters so that GKE automatically bypasses regional GCP project resource quotas.
- EPurchase 3-year term-based Committed Use Discounts (CUDs) covering the peak auto-scaling instance capacity requirements to reduce burst scaling latency.
Answer
The correct recommendations are configuring MIG auto-scaling using custom queue depth metrics in Cloud Monitoring, and requesting regional CPU quota increases in advance alongside Compute Engine capacity reservations.
Scaling based on custom metrics (such as queue depth) ensures I/O-bound workers scale according to true backlog demand rather than low CPU utilization. Additionally, requesting proactive quota increases and creating capacity reservations ensures that both logical quota room and physical infrastructure are guaranteed during unexpected traffic spikes.
Step-by-Step Solution
Key Concept
Custom Metric Auto-scaling & Compute Capacity Planning