A telecommunications company hosts an IoT telemetry ingestion service on a Compute Engine Managed Instance Group (MIG). The processing application is network I/O-bound, where capacity is constrained by open TCP socket connections per virtual machine rather than CPU usage. During scheduled hourly bursts of device reporting, incoming traffic drops connections because auto-scaling fails to trigger in time, and rapid scaling attempts fail due to reaching resource limits. Which TWO architecture modifications should you implement to ensure operational reliability and adequate capacity planning during peak reporting windows?
- Configure the MIG autoscaler using a custom Cloud Monitoring metric that tracks active TCP connections per instance.Answer
- BSet the MIG autoscaler target to scale strictly when average CPU utilization exceeds 85% across all instances.
- Submit advance quota increase requests for regional Compute Engine CPU limits to cover maximum anticipated peak capacity.Answer
- DRe-architect the stateless compute fleet onto a multi-zone GKE cluster using Pod Autoscaling to handle socket management.
- EDepend on Compute Engine's automated dynamic quota expansion to automatically raise regional limits during peak traffic bursts.
Answer
The correct architecture modifications are to configure the MIG autoscaler using a custom Cloud Monitoring metric tracking active TCP connections per instance, and to submit advance quota increase requests for regional Compute Engine CPU limits.
For I/O-bound workloads constrained by TCP connection limits, configuring custom Cloud Monitoring metrics ensures the autoscaler triggers based on actual socket usage rather than CPU load. Additionally, proactive quota management by requesting regional CPU quota increases in advance guarantees that Compute Engine can provision the necessary instances without hitting quota bounds during peak demand windows.
Step-by-Step Solution
Key Concept
Auto-scaling network I/O workloads with custom Cloud Monitoring metrics and proactive regional capacity quota planning.