0
0
Microservicessystem_design~5 mins

Why API gateways unify service access in Microservices - Quick Recap

Choose your learning style9 modes available
Recall & Review
beginner
What is an API Gateway in microservices architecture?
An API Gateway is a server that acts as a single entry point for all client requests to multiple backend microservices. It handles request routing, composition, and protocol translation.
Click to reveal answer
beginner
Why do microservices need an API Gateway to unify service access?
Because microservices are many small services, an API Gateway simplifies client communication by providing one endpoint instead of many. It hides service complexity and manages cross-cutting concerns like security and rate limiting.
Click to reveal answer
intermediate
How does an API Gateway improve security in microservices?
It centralizes authentication and authorization, so clients only authenticate once at the gateway. This reduces repeated security checks in each microservice and protects backend services from direct exposure.
Click to reveal answer
beginner
What role does request routing play in an API Gateway?
The API Gateway routes incoming client requests to the correct microservice based on the request path or other rules. This routing hides the internal service structure from clients.
Click to reveal answer
intermediate
Name two cross-cutting concerns handled by API Gateways besides routing.
API Gateways handle concerns like rate limiting to control traffic and load balancing to distribute requests evenly across services.
Click to reveal answer
What is the main purpose of an API Gateway in microservices?
ATo provide a single entry point for multiple services
BTo replace all microservices with one service
CTo store data for microservices
DTo act as a database
Which of the following is NOT a responsibility of an API Gateway?
ADirect database management
BAuthentication and authorization
CRequest routing
DRate limiting
How does an API Gateway help with security?
ABy encrypting all microservices
BBy centralizing authentication and authorization
CBy storing user passwords
DBy replacing firewalls
What problem does an API Gateway solve for clients?
AIt increases the number of services clients must know
BIt stores client data
CIt reduces the number of endpoints clients must call
DIt replaces client applications
Which feature helps API Gateways manage traffic to backend services?
ACode compilation
BData caching
CDatabase indexing
DLoad balancing
Explain how an API Gateway unifies access to multiple microservices and why this is beneficial.
Think about how a receptionist directs visitors in a large office building.
You got /4 concepts.
    Describe the key responsibilities of an API Gateway in a microservices system.
    Consider what tasks help manage many services behind one door.
    You got /5 concepts.