Exam4Training

How should you handle these types of errors?

You have an application that makes HTTP requests to Cloud Storage. Occasionally the requests fail with HTTP status codes of 5xx and 429.

How should you handle these types of errors?
A . Use gRPC instead of HTTP for better performance.
B. Implement retry logic using a truncated exponential backoff strategy.
C. Make sure the Cloud Storage bucket is multi-regional for geo-redundancy.
D. Monitor https://status.cloud.google.com/feed.atom and only make requests if Cloud
Storage is not reporting
an incident.

Answer: B

Explanation:

Reference https://cloud.google.com/storage/docs/json_api/v1/status-codes

Exit mobile version