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 Exam Professional Cloud Developer Topic 11 Question 99 Discussion

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

You are using the Cloud Client Library to upload an image in your application to Cloud Storage. Users of the application report that occasionally the upload does not complete and the client library reports an HTTP 504 Gateway Timeout error. You want to make the application more resilient to errors. What changes to the application should you make?

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

A one-second backoff? Really? That's barely enough time for the server to recover. We need something with a bit more oomph.
upvoted 0 times
...
Art
5 days ago
I'm not sure about option A. Maybe option D could work too, by queuing the object and retrying later. It gives users a clear expectation.
upvoted 0 times
...
Evangelina
7 days ago
I agree with Eleonora. Exponential backoff is a common strategy to handle errors and improve application resilience.
upvoted 0 times
...
Eleonora
10 days ago
I think option A is the best choice. Exponential backoff can help handle temporary errors like the HTTP 504 Gateway Timeout.
upvoted 0 times
...
Phyliss
10 days ago
Exponential backoff is definitely the way to go here. That will give us the best chance of success without overloading the system.
upvoted 0 times
...

Save Cancel