MediumApplyAPI GatewayMultiple Choice
You have a mobile app and a web app consuming the same API. Mobile needs compact JSON responses, web needs full responses. Which pattern do you use?
Apply — Tests ability to use knowledge in practical scenarios.
Answer Options
ASingle API Gateway with response compression
BBackend for Frontend (BFF) pattern with separate gateways
CContent negotiation with Accept headers
DGraphQL for both clients
Want to see the correct answer?
Get the answer with a detailed explanation, plus practice 21+ more API Gateway questions with adaptive quizzes and timed interviews.
See the Answer on Guru Sishya →This question is from the API Gateway topic (System Design).
More API Gateway Questions
What is the primary purpose of an API Gateway?
EasyAPI Gateways can perform SSL termination, meaning they decrypt HTTPS traffic and forward HTTP to backends.
EasyWhich of the following is NOT typically handled by an API Gateway?
Medium-EasyWhat is the circuit breaker pattern in the context of an API Gateway?
Medium-EasyExplain the difference between an API Gateway and a Load Balancer.
Medium-Easy