
You are tasked with deploying a web application to Google App Engine, and it’s crucial that the application responds efficiently to varying levels of user traffic. To ensure optimal performance, you need the number of instances to dynamically adjust based on the request rate. Additionally, it is a requirement to always maintain a minimum of 3 unoccupied (idle) instances available to handle incoming requests promptly. Given these requirements, which scaling type should you configure for your App Engine deployment?
A
Manual Scaling with 3 instances.
B
Basic Scaling with min_instances set to 3._
C
Basic Scaling with max_instances set to 3._
D
Automatic Scaling with min_idle_instances set to 3.
Explanation:
The correct answer is D: Automatic Scaling with min_idle_instances set to 3. Automatic Scaling creates instances based on request rate, response latencies, and other application metrics. By setting min_idle_instances to 3, you ensure that there are always at least 3 instances available to handle new requests. Manual Scaling requires manual adjustment of instance numbers. Basic Scaling can adjust instances based on request rate but does not allow setting a minimum number of idle instances.
Ultimate access to all questions.