
Answer-first summary for fast verification
Answer: Set the `min_idle_instances` property in the `app.yaml` file.
The correct answer is **C** because the `min_idle_instances` property ensures a specified number of instances are always running and ready to handle traffic, which is crucial for preparing for sudden load spikes. This approach keeps your application primed for rapid increases in request volume, though it's important to note that you will be charged for these instances regardless of traffic. - **Option A** and **D** are incorrect because manual scaling does not guarantee the minimum number of running instances required for burst traffic scenarios. - **Option B** is incorrect as the `min_instances` property is related to dynamic scaling and does not specifically address the need for idle instances ready to handle immediate traffic spikes. For optimal performance, it's recommended to enable warmup requests and ensure your application can handle them, allowing App Engine to keep the specified number of instances in reserve. This setup minimizes the impact of pending latency, ensuring smoother handling of high traffic volumes.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Your company's marketing application has been running smoothly on App Engine with Autoscaling for several weeks. With a massive marketing campaign on the horizon, the team anticipates significant burst traffic. What step should you take to ensure there are always 3 idle instances ready?
A
Switch to manual scaling and enable the burst_traffic_protection property in the app.yaml file.
B
Set the min_instances property in the app.yaml file.
C
Set the min_idle_instances property in the app.yaml file.
D
Switch to manual scaling and specify the idle_instance_count property in the app.yaml file.
No comments yet.