Choose the best description of the main function of an API Gateway.
Think about how clients interact with many services through one interface.
An API Gateway acts as a single entry point that routes requests to the correct backend services, simplifying client communication.
Select the feature that an API Gateway usually does NOT provide.
Consider what tasks are usually done by backend services versus the gateway.
API Gateways route requests and handle security but do not execute database queries directly; that is done by backend services.
Choose the option that best explains how an API Gateway supports system scalability.
Think about how reducing repeated work can help scale better.
API Gateways can cache frequent responses, reducing backend load and improving scalability.
Identify the main downside of introducing an API Gateway.
Consider what happens if the gateway goes down.
The API Gateway centralizes traffic, so if it fails, the whole system can become unreachable unless it is highly available.
Select the middleware type that should be used to authenticate requests in an Express API Gateway.
Authentication should happen early to block unauthorized access.
Global middleware runs before routing and can block unauthorized requests early, improving security.