All Questions
Api Gateway medium

In your API Gateway monitoring, you observe a massive spike in `502 Bad Gateway` errors. However, the health logs of your backend microservices show they are 100% 'Healthy'. What is the most likely cause?

  1. A The backend services are throwing `500 Internal Server Error`, which the Gateway translates to 502.
  2. B The network connection between the Gateway and the services is being blocked (e.g., an internal firewall rule change or a VPC routing issue).
  3. C The clients are sending invalid API keys that the Gateway cannot recognize.
  4. D The database has run out of physical disk space.

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

Get the app

Related questions