QuestionQ456

Application Deployment and Security

A developer designs and builds an API that interacts with a large database hosted in the public cloud. The developer is concerned about database performance because production and non-production systems share the database. Which approach protects the database from excessive load?

  • A Ensure that only valid users can access the API.
  • B Host the API on a public cloud platform to take advantage of auto-scaling.
  • C Rate limit requests to the API.
  • D Take the API offline if database utilization exceeds a predefined threshold.
Explanation

Rate limiting caps the request volume that clients can send to an API within a specified period, preventing excessive API traffic from overloading the shared database.

Community Discussion

No comments yet. Be the first to start the discussion!