CNX-001 · Question #45
A company provides an API that runs on the public cloud for its customers. A fixed number of VMs host the APIs. During peak hours, the company notices a spike in usage that results in network communic
The correct answer is C. Enable throttling on APIs.. Implementing request throttling (rate limiting) lets you cap how many requests each customer can make per time unit. This ensures no single user can saturate the API servers, providing fair access across all customers without the recurring costs of adding more VMs.
Question
A company provides an API that runs on the public cloud for its customers. A fixed number of VMs host the APIs. During peak hours, the company notices a spike in usage that results in network communication speeds slowing down for all customers. The management team has decided that access for all customers should be fair and accessible at all times. Which of the following is the most cost-effective way to address this issue?
Options
- AUse an allow list for customers using APIs.
- BIncrease the number of VMs running APIs.
- CEnable throttling on APIs.
- DIncrease the MTU on the VMs.
How the community answered
(28 responses)- A4% (1)
- B14% (4)
- C79% (22)
- D4% (1)
Explanation
Implementing request throttling (rate limiting) lets you cap how many requests each customer can make per time unit. This ensures no single user can saturate the API servers, providing fair access across all customers without the recurring costs of adding more VMs.
Topics
Community Discussion
No community discussion yet for this question.