exam questions

Exam 350-201 All Questions

View all questions & answers for the 350-201 exam

Exam 350-201 topic 1 question 48 discussion

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

An API developer is improving an application code to prevent DDoS attacks. The solution needs to accommodate instances of a large number of API requests coming for legitimate purposes from trustworthy services. Which solution should be implemented?

  • A. Restrict the number of requests based on a calculation of daily averages. If the limit is exceeded, temporarily block access from the IP address and return a 402 HTTP error code.
  • B. Implement REST API Security Essentials solution to automatically mitigate limit exhaustion. If the limit is exceeded, temporarily block access from the service and return a 409 HTTP error code.
  • C. Increase a limit of replies in a given interval for each API. If the limit is exceeded, block access from the API key permanently and return a 450 HTTP error code.
  • D. Apply a limit to the number of requests in a given time interval for each API. If the rate is exceeded, block access from the API key temporarily and return a 429 HTTP error code.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️
Reference:
https://www.whoishostingthis.com/resources/http-status-codes/

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
jay_c_an
8 months, 3 weeks ago
Test question on recent test. D.
upvoted 1 times
...
DrVoIP
9 months, 3 weeks ago
D. Apply a limit to the number of requests in a given time interval for each API. If the rate is exceeded, block access from the API key temporarily and return a 429 HTTP error code. This approach is known as rate limiting and can be used to prevent DDoS attacks by limiting the number of requests that can be made within a certain time frame. It allows legitimate traffic to continue while blocking or delaying excessive traffic from malicious sources. The 429 HTTP error code is used to indicate that the user has sent too many requests in a given amount of time. - ChatGPT
upvoted 1 times
...
TOLU1985
1 year, 2 months ago
Selected Answer: D
The HTTP 429 Too Many Requests response status code indicates the user has sent too many requests in a given amount of time ("rate limiting"). A Retry-After header might be included to this response indicating how long to wait before making a new request.
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 ...