200-901 · Question #390
A developer must test the performance and reliability of an application. After functional and load tests are run, the application crashes due to traffic spikes from users. Which type of API constraint
The correct answer is A. rate limiting. Rate limiting is an API constraint that controls the number of requests a client can make within a specified time period. Implementing rate limiting is crucial to maintain the reliability and performance of an application, especially during traffic spikes or increased load. By se
Question
A developer must test the performance and reliability of an application. After functional and load tests are run, the application crashes due to traffic spikes from users. Which type of API constraint must be implemented to maintain reliability?
Options
- Arate limiting
- Bpagination
- Cpayload limits
- Dfiltering
How the community answered
(21 responses)- A76% (16)
- B14% (3)
- C5% (1)
- D5% (1)
Explanation
Rate limiting is an API constraint that controls the number of requests a client can make within a specified time period. Implementing rate limiting is crucial to maintain the reliability and performance of an application, especially during traffic spikes or increased load. By setting limits on the rate of incoming requests, developers can prevent the application from being overwhelmed, ensure fair usage of resources, and maintain a reliable user experience. In the given scenario, if the application crashes due to traffic spikes, implementing rate limiting would help control the flow of incoming requests, preventing the system from becoming overloaded and improving overall reliability.
Topics
Community Discussion
No community discussion yet for this question.