What are two purposes for using rate limits on public and unrestricted APIs? (Choose two.)
- to avoid a server overloading from too many requests at the same time
- to limit the number of authorization requests per API call
- to limit the number of passwords that a client can have in making API requests
- to ensure a client uses a multifactor authentication mechanism
- to provide better service and response time to all users
Answers Explanation & Hints: Using an API rate limit is a way for a web service to control the number of requests a user or application can make per defined unit of time and it is considered a best practice for public and unrestricted APIs. Some benefits of using rate limits include the following:
- Avoid a server overload from too many requests at once.
- Provide better service and response time to all users.
- Protect against a denial of service (DoS) attack.