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 Professional Cloud Developer Exam - Topic 3 Question 125 Discussion

You support an application that uses the Cloud Storage API. You review the logs and discover multiple HTTP 503 Service Unavailable error responses from the API. Your application logs the error and does not take any further action. You want to implement Google-recommended retry logic to improve success rates. Which approach should you take?
C) Retry each failure at increasing time intervals up to a maximum number of tries.
A) Retry the failures in batch after a set number of failures is logged.
B) Retry each failure at a set time interval up to a maximum number of times.
D) Retry each failure at decreasing time intervals up to a maximum number of tries.

Google Professional Cloud Developer Exam - Topic 3 Question 125 Discussion

Actual exam question for Google's Professional Cloud Developer exam
Question #: 125
Topic #: 3
[All Professional Cloud Developer Questions]

You support an application that uses the Cloud Storage API. You review the logs and discover multiple HTTP 503 Service Unavailable error responses from the API. Your application logs the error and does not take any further action. You want to implement Google-recommended retry logic to improve success rates. Which approach should you take?

Show Suggested Answer Hide Answer
Suggested Answer: C

https://cloud.google.com/storage/docs/retry-strategy


Contribute your Thoughts:

0/2000 characters
Corrie
3 days ago
I’ve seen C recommended a lot, seems like a solid choice!
upvoted 0 times
...
Vilma
8 days ago
Wait, why would you decrease intervals? That seems counterproductive.
upvoted 0 times
...
Oretha
14 days ago
A sounds risky, batching could lead to more issues.
upvoted 0 times
...
Merilyn
19 days ago
I think C makes more sense, gives it time to recover.
upvoted 0 times
...
Kati
24 days ago
B is the way to go, keeps it simple.
upvoted 0 times
...
Erinn
29 days ago
I’m a bit confused about the differences between options B and C. I guess C is better because it increases the wait time, but I’m not 100% certain.
upvoted 0 times
...
Stephane
1 month ago
I think we practiced a similar question, and I chose option C then as well. It seems like the best approach for handling 503 errors based on what I recall.
upvoted 0 times
...
Shaun
1 month ago
I'm not entirely sure, but I feel like option B could work too since it mentions a set time interval, which might help avoid overwhelming the API.
upvoted 0 times
...
Martina
1 month ago
I remember we discussed retry strategies in class, and I think option C makes sense because it uses exponential backoff, which is often recommended for handling transient errors.
upvoted 0 times
...

Save Cancel