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 278 discussion

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

Your web application is hosted on Cloud Run and needs to query a Cloud SQL database. Every morning during a traffic spike, you notice API quota errors in Cloud SQL logs. The project has already reached the maximum API quota. You want to make a configuration change to mitigate the issue. What should you do?

  • A. Modify the minimum number of Cloud Run instances.
  • B. Use traffic splitting.
  • C. Modify the maximum number of Cloud Run instances.
  • D. Set a minimum concurrent requests environment variable for the application.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
RuchiMishra
Highly Voted 4 months, 1 week ago
Selected Answer: A
Here's why A is the most effective solution to mitigate API quota errors during traffic spikes: Cold Starts and API Calls: Cloud Run services scale to zero when not in use. When a new request arrives, a new instance is spun up, leading to a cold start. During this cold start, multiple API calls might be made to initialize the application and connect to the Cloud SQL database. If there's a sudden spike in traffic, a large number of cold starts can occur simultaneously, exceeding the Cloud SQL API quota. Minimum Instances: By setting a minimum number of Cloud Run instances, you can ensure that a few instances are always running, even during periods of low traffic. This eliminates cold starts during traffic spikes and reduces the number of concurrent API calls made to Cloud SQL, helping you stay within the quota limits.
upvoted 11 times
...
flummoxed_individual
Highly Voted 4 months ago
Selected Answer: A
There has been a previous question relating to this issue which is caused by Cold Starts (RuchiMishra explains this). Solving the issue would be by configuring a minimum number of instances always running
upvoted 5 times
...
meh_33
Most Recent 3 months, 2 weeks ago
Selected Answer: A
A Make sense
upvoted 2 times
...
user636
4 months, 1 week ago
Selected Answer: A
As explained by RuchiMishra, we need to keep a minimum number of instances always running.
upvoted 3 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 ...