InterviewStack.io LogoInterviewStack.io

API Gateways and API Management Questions

The management layer in front of APIs: gateways for routing, authentication, rate limiting, request/response transformation, and observability. Covers API management concerns such as developer portals, key provisioning, plan/tier enforcement, analytics, and centralized policy. The operational and productization surface of an API program.

HardSystem Design
27 practiced

You must decide between using an API gateway to centralize cross-cutting concerns (auth, rate limiting, routing) versus adopting a service mesh for inter-service features (mTLS, retries, tracing). Architect a recommendation for a large microservices platform: compare operational complexity, performance overhead, team boundaries, and which SRE responsibilities shift with each choice.

MediumSystem Design
24 practiced

Design an API gateway that load balances requests across backend services, enforces per-API-key rate limits (burst and sustained), and guarantees a global latency SLO (p95 < 200ms). Include your choice of distributed counters, rate-limiter algorithm (token bucket/leaky bucket), where to apply limits (edge vs service), and how to remain resilient when the rate-limiter datastore is degraded.

MediumSystem Design
34 practiced

Design an API gateway for a multi-service application that must handle authentication, path-based routing, per-user rate limiting, TLS termination, caching, and observability (metrics/tracing). Expected load: 5M requests/day with peak 2k RPS. Describe components, HA, failure modes, and SRE responsibilities during rollout.

That is every published API Gateways and API Management question for Site Reliability Engineer (SRE) so far. Browse the other topics in this category, or practice this one interactively.