New Year Sale 2026! 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 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:

0/2000 characters
Hoa
3 months ago
Queuing the uploads could complicate things too much.
upvoted 0 times
...
Georgeanna
4 months ago
Wait, does a 504 error really mean the server is down?
upvoted 0 times
...
Gabriele
4 months ago
A retry button sounds like a good idea!
upvoted 0 times
...
Isreal
4 months ago
I disagree, a one-second wait might be enough.
upvoted 0 times
...
Kanisha
4 months ago
Exponential backoff is the way to go!
upvoted 0 times
...
Barbra
4 months ago
Creating a queue sounds interesting, but I'm not sure if users would be okay with waiting 10 minutes. Option D might be too complicated.
upvoted 0 times
...
Blondell
5 months ago
I practiced a similar question where a retry button was suggested. It seems like option C could work, but it might not be the most user-friendly solution.
upvoted 0 times
...
Kenneth
5 months ago
I'm not entirely sure, but I feel like a one-second wait might not be enough for a 504 error. Maybe option B isn't the right approach?
upvoted 0 times
...
Diane
5 months ago
I remember studying about exponential backoff for handling retries, so I think option A might be the best choice.
upvoted 0 times
...
Janessa
5 months ago
I'm not sure about the retry button approach in option C. That seems like it would just shift the burden onto the user, which isn't ideal. I think I'll focus on the automated retry options.
upvoted 0 times
...
Theola
5 months ago
Ah, I see. The key here is making the application more resilient to errors. I'd say option A is the way to go - the exponential backoff will give us the best chance of retrying the upload successfully.
upvoted 0 times
...
Aleshia
5 months ago
Okay, I'm a bit confused by this question. I'm not sure if I should go with the one-second backoff or the exponential one. I'll need to think this through carefully.
upvoted 0 times
...
Essie
5 months ago
Hmm, this looks like a tricky one. I think I'll go with option A - an exponential backoff process. That should help handle the timeout errors more gracefully.
upvoted 0 times
...
Kristeen
10 months ago
I wonder if the developers have tried turning it off and on again. That usually fixes everything, right?
upvoted 0 times
...
Elvera
10 months ago
A queue? That's overkill. We just need to make the upload more resilient, not turn it into a whole new workflow.
upvoted 0 times
Louisa
9 months ago
A queue? That's overkill. We just need to make the upload more resilient, not turn it into a whole new workflow.
upvoted 0 times
...
William
9 months ago
B) Write a one-second wait time backoff process around the client library call.
upvoted 0 times
...
Yasuko
10 months ago
A) Write an exponential backoff process around the client library call.
upvoted 0 times
...
...
Noel
10 months ago
A retry button? Seriously? That's just putting the burden on the user. Not cool.
upvoted 0 times
Merri
10 months ago
D) Create a queue for the object and inform the users that the application will try again in 10 minutes.
upvoted 0 times
...
Sherman
10 months ago
B) Write a one-second wait time backoff process around the client library call.
upvoted 0 times
...
Bettye
10 months ago
A) Write an exponential backoff process around the client library call.
upvoted 0 times
...
...
Nilsa
11 months ago
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
Corinne
10 months ago
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
...
Joanna
10 months ago
A) Write an exponential backoff process around the client library call.
upvoted 0 times
...
...
Art
11 months 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
11 months ago
I agree with Eleonora. Exponential backoff is a common strategy to handle errors and improve application resilience.
upvoted 0 times
...
Eleonora
11 months 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
11 months 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
Darrin
10 months ago
That sounds like a good approach to ensure the upload eventually goes through.
upvoted 0 times
...
Lino
10 months ago
D) Create a queue for the object and inform the users that the application will try again in 10 minutes.
upvoted 0 times
...
Lynna
10 months ago
Exponential backoff is a good strategy to handle errors like this.
upvoted 0 times
...
Nickolas
10 months ago
A) Write an exponential backoff process around the client library call.
upvoted 0 times
...
...

Save Cancel