A developer is developing a microservices code to manage REST API errors. Which two approaches must the developer take to manage the HTTP 429 "Too Many Requests" status code in the microservices code? (Choose two.)
A.
Implement subsequent retry with the same interval window.
B.
Resend the request immediately without implementing a wait time.
C.
Consecutive retries should truncate exponential backup.
I am going with CE.
By combining response code handling and controlled exponential backoff with truncation, the microservice can gracefully manage the 429 error, communicate effectively with the client, and avoid overwhelming the server.
A. Implement subsequent retry with the same interval window. C. Consecutive retries should truncate exponential backup.
HTTP 429 "Too Many Requests" response status code indicates that the user has sent too many requests in a given amount of time ("rate limiting").
In response to this, the developer can implement subsequent retries with the same interval window, which means the code should try to resend the request after a specific period of time.
The developer can also use an approach known as "exponential backoff", where the delay between subsequent retries increases exponentially, rather than linearly, to give the server more room to recover. However, to prevent the delay from becoming too large, the exponential increase should be truncated at a certain point, which is what is meant by "consecutive retries should truncate exponential backup".
The developer should implement subsequent retry with the same interval window (A) and return errors in the response code (E) to manage the HTTP 429 "Too Many Requests" status code in the microservices code. This will ensure that the request is retried with a proper wait time and the error is properly communicated to the user.
C actually is wrong statement , it’s not trancate rather increase
upvoted 1 times
...
...
This section is not available anymore. Please use the main Exam Page.350-901 Exam Questions
Log in to ExamTopics
Sign in:
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.
samael666
3 months, 2 weeks agoluckymuki
5 months, 1 week ago1a63556
10 months, 1 week ago1a63556
10 months, 2 weeks agorushrun
4 weeks, 1 day ago