Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Associate Cloud Engineer All Questions

View all questions & answers for the Associate Cloud Engineer exam

Exam Associate Cloud Engineer topic 1 question 9 discussion

Actual exam question from Google's Associate Cloud Engineer
Question #: 9
Topic #: 1
[All Associate Cloud Engineer Questions]

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?

  • 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.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
zukko78
Highly Voted 4 years, 6 months ago
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.
upvoted 54 times
vincent2023
1 year, 2 months ago
https://cloud.google.com/appengine/docs/legacy/standard/python/how-instances-are-managed
upvoted 2 times
...
...
Finger41
Highly Voted 3 years, 6 months ago
D 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)."
upvoted 16 times
...
Makar
Most Recent 2 weeks, 4 days ago
Answer D is correct min_idle_instances set to 3: Setting the min_idle_instances to 3 ensures that there are always at least 3 instances ready and waiting to handle incoming requests. This setting helps in managing sudden spikes in traffic by reducing latency, as these instances do not require any spin-up time
upvoted 1 times
...
Selected Answer: D
The correct answer is Option D. To scale the number of instances based on request rate and ensure that there are always at least 3 unoccupied instances, you should use Automatic Scaling with min_idle_instances set to 3. Automatic Scaling automatically scales the number of instances based on request rate and other metrics, such as CPU and memory utilization. By setting min_idle_instances to 3, you can ensure that the instance group maintains at least 3 idle instances at all times, ready to handle incoming requests.
upvoted 2 times
...
YourCloudGuru
2 months ago
Selected Answer: D
The correct answer is D. Automatic Scaling with min_idle_instances set to 3. By setting min_idle_instances to 3, you can ensure that there are always at least 3 instances available to handle new requests. The other options are not as good: A. Manual Scaling requires you to manually adjust the number of instances running your application. B. Basic Scaling is a simpler version of Automatic Scaling. It automatically scales the number of instances based on request rate, but it does not allow you to specify the minimum number of idle instances. This means that there is no guarantee that there will always be at least 3 instances available to handle new requests. C. The max_instances setting specifies the maximum number of instances to keep running. By setting max_instances to 3, you are limiting the number of instances that your application can scale to. This is not ideal, especially if your application experiences sudden spikes in traffic.
upvoted 5 times
...
JoniMONI
2 months ago
Selected Answer: 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.
upvoted 4 times
...
subha.elumalai
6 months, 1 week ago
Correct Answer: D Reference: https://cloud.google.com/appengine/docs/standard/python/how-instances-are-managed
upvoted 1 times
...
thewalker
1 year ago
D. As per, https://cloud.google.com/appengine/docs/legacy/standard/python/how-instances-are-managed#scaling_types
upvoted 1 times
...
BAofBK
1 year ago
The correct answer is D
upvoted 1 times
...
Evan7557
1 year, 1 month ago
D is Answer
upvoted 1 times
...
Captain1212
1 year, 2 months ago
D, as per request it should be automatic right , so d is the right answer
upvoted 1 times
...
glanshima
1 year, 11 months ago
Selected Answer: D
automatic scaling scales based on request rates, and you giveset min instances that you can run at all times
upvoted 1 times
...
cslince
1 year, 11 months ago
Selected Answer: B
B is correct
upvoted 2 times
jrisl1991
1 year, 10 months ago
Basic Scaling can’t take min_instances as parameter.
upvoted 2 times
Sammydp202020
1 year, 10 months ago
True. Reference: https://cloud.google.com/appengine/docs/legacy/standard/java/config/appref#scaling_elements
upvoted 2 times
...
...
...
leogor
2 years, 1 month ago
D, basic and manual scaling are not wise actions
upvoted 1 times
...
AzureDP900
2 years, 5 months ago
D is correct.
upvoted 1 times
...
haroldbenites
2 years, 6 months ago
Go for D
upvoted 1 times
...
shawnkkk
3 years ago
D. Automatic Scaling with min_idle_instances set to 3.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...