Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Google Associate Cloud Engineer Exam - Topic 5 Question 121 Discussion

You have an application that uses Cloud Spanner as a backend database. The application has a very predictable traffic pattern. You want to automatically scale up or down the number of Spanner nodes depending on traffic. What should you do?
D) Create a Stackdriver alerting policy to send an alert to webhook when Cloud Spanner CPU is over or under your threshold. Create a Cloud Function that listens to HTTP and resizes Spanner resources accordingly.
A) Create a cron job that runs on a scheduled basis to review stackdriver monitoring metrics, and then resize the Spanner instance accordingly.
B) Create a Stackdriver alerting policy to send an alert to oncall SRE emails when Cloud Spanner CPU exceeds the threshold. SREs would scale resources up or down accordingly.
C) Create a Stackdriver alerting policy to send an alert to Google Cloud Support email when Cloud Spanner CPU exceeds your threshold. Google support would scale resources up or down accordingly.

Google Associate Cloud Engineer Exam - Topic 5 Question 121 Discussion

Actual exam question for Google's Associate Cloud Engineer exam
Question #: 121
Topic #: 5
[All Associate Cloud Engineer Questions]

You have an application that uses Cloud Spanner as a backend database. The application has a very predictable traffic pattern. You want to automatically scale up or down the number of Spanner nodes depending on traffic. What should you do?

Show Suggested Answer Hide Answer
Suggested Answer: D

As to mexblood1's point, CPU utilization is a recommended proxy for traffic when it comes to Cloud Spanner. See: Alerts for high CPU utilization The following table specifies our recommendations for maximum CPU usage for both single-region and multi-region instances. These numbers are to ensure that your instance has enough compute capacity to continue to serve your traffic in the event of the loss of an entire zone (for single-region instances) or an entire region (for multi-region instances). -https://cloud.google.com/spanner/docs/cpu-utilization


Contribute your Thoughts:

0/2000 characters
Belen
3 hours ago
Option D is the best choice for automation!
upvoted 0 times
...
Jerry
5 days ago
I feel like the alerting policies are key here, but I can’t recall if sending alerts to SREs or using webhooks is more efficient.
upvoted 0 times
...
Lashandra
10 days ago
I’m a bit confused about whether we should rely on Google Cloud Support for scaling. Isn’t it better to handle it ourselves?
upvoted 0 times
...
Laurel
16 days ago
I think option D sounds familiar; it’s similar to a practice question we did about using webhooks for automated responses.
upvoted 0 times
...
Elenore
2 months ago
I remember we discussed using cron jobs for scheduled tasks, but I’m not sure if that’s the best approach for real-time scaling.
upvoted 0 times
...

Save Cancel