An enterprise e-commerce platform processes asynchronous order validation events using Cloud Pub/Sub and a Managed Instance Group (MIG) of Compute Engine worker instances. During major promotional events, message ingestion rates spike abruptly, resulting in severe processing backlogs. The worker workload is primarily I/O-bound due to database validation calls, causing default CPU-based autoscaling to react too slowly. Additionally, during a recent peak event, scale-out attempts failed because the project hit the regional compute engine vCPU quota. Which TWO architectural and operational strategy changes should the Cloud Architect implement to ensure autoscaling reliability and sufficient operational capacity during peak traffic? (Select TWO.)
- Configure the Managed Instance Group autoscaling policy to use a custom Cloud Monitoring metric tracking Cloud Pub/Sub unacknowledged message queue depth per instance, and combine it with predictive scaling or scheduled capacity rules.Answer
- Proactively analyze historical peak demand and submit regional vCPU and resource quota increase requests well in advance of anticipated promotional events.Answer
- CLower the target CPU utilization threshold on the existing Managed Instance Group autoscaler to 20% average CPU to trigger faster instance provisioning during queue spikes.
- DMigrate the stateless worker nodes from Compute Engine Managed Instance Groups to a dedicated Google Kubernetes Engine (GKE) Enterprise cluster to bypass GCP regional quota constraints.
- EEnable dynamic automated API quota burst management in Cloud Monitoring to request immediate quota increases automatically whenever MIG scale-out signals hit regional limits.