Mid
From PDF
Microservices
Microservices
Security: ○ The API Gateway acts as the first line of defense by enforcing?
Short answer: uthentication and authorization policies, and can block or redirect suspicious traffic. Example: Enforce OAuth 2.0 for authentication and RBAC for authorization t the gateway level.
Real-world example (ShopNest)
ShopNest’s API Gateway routes /orders to the Order service and /payments to Payment—clients talk to one entry point.
Say this in the interview
- Define — one clear sentence (the short answer above).
- Example — relate it to a project like ShopNest or your real work.
- Trade-off — when you would not use it.
Share this Q&A
Share preview image: https://www.toolliyo.com/images/toolliyo-logo.png