Bird
0
0

In a microservices architecture, what is the primary role of an API Gateway?

easy📝 Conceptual Q1 of 15
Microservices - Orchestration with Kubernetes
In a microservices architecture, what is the primary role of an API Gateway?
ATo store data for microservices
BTo route client requests to appropriate microservices
CTo replace the database layer
DTo monitor server hardware health
Step-by-Step Solution
Solution:
  1. Step 1: Understand API Gateway's function

    An API Gateway acts as a single entry point that routes client requests to the correct microservice.
  2. Step 2: Eliminate incorrect roles

    Storing data, replacing databases, or monitoring hardware are not roles of an API Gateway.
  3. Final Answer:

    To route client requests to appropriate microservices -> Option B
  4. Quick Check:

    API Gateway role = Routing requests [OK]
Quick Trick: API Gateway directs traffic like a receptionist [OK]
Common Mistakes:
MISTAKES
  • Confusing API Gateway with database
  • Thinking API Gateway stores data
  • Mixing API Gateway with monitoring tools

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes