Topic 1 Question 9
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?
Manual Scaling with 3 instances.
Basic Scaling with min_instances set to 3.
Basic Scaling with max_instances set to 3.
Automatic Scaling with min_idle_instances set to 3.
ユーザの投票
コメント(17)
D is correct. App Engine supports the following scaling types, which controls how and when instances are created:
Automatic Basic Manual You specify the scaling type in your app's app.yaml.
Automatic scaling Automatic scaling creates instances based on request rate, response latencies, and other application metrics. You can specify thresholds for each of these metrics, as well as a minimum number instances to keep running at all times.
👍 46zukko782020/05/11D is correct : https://cloud.google.com/appengine/docs/standard/go/config/appref "App Engine calculates the number of instances necessary to serve your current application traffic based on scaling settings such as target_cpu_utilization and target_throughput_utilization. Setting min_idle_instances specifies the number of instances to run in addition to this calculated number. For example, if App Engine calculates that 5 instances are necessary to serve traffic, and min_idle_instances is set to 2, App Engine will run 7 instances (5, calculated based on traffic, plus 2 additional per min_idle_instances)."
👍 14Finger412021/05/12- 正解だと思う選択肢: D
D. Automatic Scaling with min_idle_instances set to 3.
Automatic scaling adjusts the number of instances based on the request rate, while maintaining a minimum number of instances available. By setting min_idle_instances to 3, you ensure that at least 3 instances are running and available to handle requests, even when the request rate is low. Manual scaling allows you to set a fixed number of instances, but does not automatically adjust based on the request rate. Basic scaling adjusts the number of instances based on the request rate, but does not allow you to set a minimum number of idle instances. In order to keep at least 3 instances running and ready to handle requests, Automatic scaling with min_idle_instances set to 3 is the correct option.
👍 3JoniMONI2023/01/21
シャッフルモード