All Questions
Api Gateway easy

How can an API Gateway help protect a slow database during a traffic spike for a static resource (like a 'Product Catalog')?

  1. A By automatically deleting duplicate products to save space.
  2. B Via Response Caching: The Gateway stores the successful JSON response in its own memory and serves it directly for subsequent requests, bypassing the microservice and database.
  3. C By increasing the frequency of full database backups.
  4. D By forcing the database to use only a single processor core to prevent it from overheating.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions