exam questions

Exam 350-901 All Questions

View all questions & answers for the 350-901 exam

Exam 350-901 topic 1 question 372 discussion

Actual exam question from Cisco's 350-901
Question #: 372
Topic #: 1
[All 350-901 Questions]

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.
  • D. Throw an exception in the application code.
  • E. Return errors in the response code.
Show Suggested Answer Hide Answer
Suggested Answer: AC 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
samael666
3 months, 2 weeks ago
Selected Answer: AC
the only options, the rest don't help to solve the HTTP 429 error
upvoted 1 times
...
luckymuki
5 months, 1 week ago
Selected Answer: CE
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.
upvoted 3 times
...
1a63556
10 months, 1 week ago
Selected Answer: AC
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".
upvoted 3 times
...
1a63556
10 months, 2 weeks ago
Selected Answer: AE
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.
upvoted 2 times
rushrun
4 weeks, 1 day ago
C actually is wrong statement , it’s not trancate rather increase
upvoted 1 times
...
...
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.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago