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 organization hosts a latency-sensitive public web service on Google Cloud using App Engine standard environment with automatic scaling. The service currently scales down to zero instances during inactive overnight periods to save costs. However, during sudden morning traffic spikes, users experience latency degradation caused by instance cold starts and request queuing before new instances can spin up.
You need to optimize the autoscaling behavior to satisfy the following requirements:
Which configuration should you specify in the application's automatic scaling configuration?
This configuration adjusts the automatic-scaling parameters in Google Cloud App Engine standard environment by setting a non-zero min-instances baseline and defining target-throughput-utilization in conjunction with max-concurrent-requests.
min-instances to a number greater than 0 (e.g., 2 or more) guarantees that pre-warmed dynamic instances are always running and ready to immediately serve incoming requests when morning traffic starts, preventing cold-start delays.target-throughput-utilization parameter specifies a fractional threshold (between 0.5 and 0.95). When current concurrent connections reach max-concurrent-requests * target-throughput-utilization, App Engine starts provisioning new instances ahead of time, ensuring instances do not saturate their maximum concurrent request limit.This solution directly addresses both cold-start mitigation and concurrency-based autoscaling within App Engine standard's native serverless model without introducing unnecessary infrastructure management overhead.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.