Google Cloud Associate Cloud Engineer — Question 46
You are deploying an application to App Engine. You want the number of instances to scale based on request rate. You need at least 3 unoccupied instances at all times. Which scaling type should you use?
Answer options
- 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.
Correct answer: D
Explanation
The correct answer is D because Automatic Scaling with min_idle_instances set to 3 ensures that there are always at least 3 unoccupied instances ready to handle incoming requests. Options A and B do not provide automatic scaling based on request rate, and option C limits the maximum instances instead of ensuring idle instances.