Intrigued by the art of cloud architecture? Discover how to design, develop, and manage robust, secure, scalable, and dynamic solutions on Google Cloud as you prepare for the Professional Cloud Architect exam!
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
An e-commerce company operates a customer-facing stateless web tier hosted on Compute Engine virtual machines across a Managed Instance Group (MIG). The application experiences predictable daily traffic surges every morning, but new VM instances take several minutes to complete initialization and warm local caches, leading to elevated response latency during reactive scale-out events. The company wants to maintain optimal performance during peak hours while minimizing compute costs during low-traffic periods.
Which autoscaling and resource optimization strategy should the company implement?
Convert the group to a stateful Managed Instance Group and configure scheduled manual resizing via Cloud Scheduler jobs
Switch the Managed Instance Group to use Spot VMs with reactive CPU utilization target autoscaling
Deploy the application on a single oversized Compute Engine instance configured with a custom machine type and disabled simultaneous multithreading (SMT)
Enable predictive autoscaling on the stateless Managed Instance Group to scale out capacity in advance of forecasted cyclical demand
Predictive autoscaling is an advanced scaling feature in Compute Engine Managed Instance Groups (MIGs) designed to forecast future traffic patterns using machine learning models trained on historical workload metrics. Rather than only reacting to spikes as they happen, predictive autoscaling proactively provisions VM instances ahead of anticipated cyclical surges while maintaining standard autoscaling policies for unexpected demand.
Alternative approaches either require expensive static provisioning around the clock or rely purely on reactive metrics that cause response latency while instances initialize. Predictive autoscaling provides the exact balance of high performance during traffic ramp-up and cost optimization during lulls, fully adhering to the Google Cloud Well-Architected Framework.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.
Still curious? Scout, our AI tutor, can explain this concept further and answer your follow-up questions.