Microservices Interview Questions
Architecture patterns, API Gateway, service discovery, Circuit Breaker, Saga, distributed tracing, and event-driven design.
Showing 1–20 of 100
#1What are microservices and what problems do they solve?
#2What is an API Gateway and what does it do?
#3How do microservices communicate?
#4What is service discovery in microservices?
#5What is the Circuit Breaker pattern and how does it prevent cascading failures?
#6What is distributed tracing and why is it important?
#7What is the Strangler Fig pattern for microservices migration?
#8What is a sidecar pattern?
#9How do you manage configuration in microservices?
#10What are the 12-Factor App principles?
#11What is event-driven architecture and when should you use it?
#12What is the difference between orchestration and choreography in Saga?
#13How do you test microservices effectively?
#14What is a service mesh and when should you use one?
#15How do you ensure data consistency across microservices?
#16What is the circuit breaker pattern?
#17What is service discovery and how does it work?
#18What is the Bulkhead pattern?
#19What is the Retry pattern and how do you implement it safely?
#20What is the difference between choreography and orchestration in Sagas?
Showing 1–20 of 100
Ask Aria about Microservices
Sign in to chat with Aria
All 100 Microservices questions at a glance
- What are microservices and what problems do they solve?(Easy)
- What is an API Gateway and what does it do?(Medium)
- How do microservices communicate?(Medium)
- What is service discovery in microservices?(Medium)
- What is the Circuit Breaker pattern and how does it prevent cascading failures?(Medium)
- What is distributed tracing and why is it important?(Medium)
- What is the Strangler Fig pattern for microservices migration?(Medium)
- What is a sidecar pattern?(Hard)
- How do you manage configuration in microservices?(Medium)
- What are the 12-Factor App principles?(Medium)
- What is event-driven architecture and when should you use it?(Medium)
- What is the difference between orchestration and choreography in Saga?(Hard)
- How do you test microservices effectively?(Medium)
- What is a service mesh and when should you use one?(Hard)
- How do you ensure data consistency across microservices?(Hard)
- What is the circuit breaker pattern?(Medium)
- What is service discovery and how does it work?(Medium)
- What is the Bulkhead pattern?(Medium)
- What is the Retry pattern and how do you implement it safely?(Medium)
- What is the difference between choreography and orchestration in Sagas?(Hard)
- What is the Backend for Frontend (BFF) pattern?(Medium)
- How do you implement distributed tracing?(Medium)
- What is the Strangler Fig pattern for migrating a monolith?(Medium)
- What is eventual consistency and how do you design for it?(Hard)
- How do you version microservice APIs?(Medium)
- What is the Sidecar pattern?(Medium)
- What is a dead letter queue and why is it important?(Medium)
- How do you implement health checks in microservices?(Medium)
- What is the Outbox pattern and how does it guarantee event delivery?(Hard)
- What is idempotency and how do you implement it in microservices?(Hard)
- What are the 12-Factor App principles?(Medium)
- How do you handle secrets management in microservices?(Hard)
- What is the Ambassador pattern in microservices?(Medium)
- How do you implement inter-service authentication?(Hard)
- What is the Throttling pattern and how does it differ from rate limiting?(Medium)
- What is CQRS and how does it apply to microservices?(Hard)
- How do you test microservices?(Medium)
- What is service isolation and why is it important?(Medium)
- What is an Event-Driven Architecture?(Medium)
- How do you handle database per service in practice?(Hard)
- What is the Role of API composition in microservices?(Medium)
- What is graceful degradation in microservices?(Medium)
- What is the Event Sourcing pattern?(Hard)
- How do you implement logging in a microservices environment?(Medium)
- What is the two-phase commit vs Saga for distributed transactions?(Hard)
- How do you handle timeouts in microservices?(Medium)
- What is the Scatter-Gather pattern?(Medium)
- What is the difference between a microservice and a nanoservice?(Medium)
- How do you implement canary deployments in microservices?(Medium)
- What is a Service Registry?(Medium)
- What is blue-green deployment and how does it work?(Medium)
- What is the Aggregator pattern?(Medium)
- How do microservices handle configuration management?(Medium)
- What is the Proxy pattern in microservices?(Medium)
- How do you implement distributed locking in microservices?(Hard)
- What is Kafka and why is it popular in microservices?(Medium)
- How do you manage service dependencies in microservices?(Hard)
- What is a bounded context?(Hard)
- How do you implement a request-reply pattern over async messaging?(Hard)
- What is the Token Bucket algorithm and how is it used for rate limiting?(Hard)
- How do you handle schema evolution in event-driven systems?(Hard)
- What is the difference between a monolith, microservices, and modular monolith?(Medium)
- What is the Choreography pattern in detail?(Hard)
- What is a composite microservice?(Medium)
- How do you deal with "chatty" microservices?(Medium)
- What is a process manager / workflow engine in microservices?(Hard)
- How do you implement zero-downtime deployments for microservices?(Hard)
- What is the Anti-Corruption Layer pattern?(Medium)
- What are the common pitfalls of microservices adoption?(Medium)
- What is the difference between orchestration and choreography?(Medium)
- How do you implement a consistent read across microservices?(Hard)
- What is load shedding?(Medium)
- What is the difference between gRPC and REST for inter-service communication?(Medium)
- What is the Gateway Aggregation pattern vs Gateway Routing?(Medium)
- What is the Inbox pattern?(Hard)
- How do you handle versioning of events in Kafka?(Hard)
- What is the Open Host Service pattern?(Medium)
- How do you implement service-level SLOs in microservices?(Medium)
- What is the Claim Check pattern?(Medium)
- What is service mesh traffic management?(Hard)
- What is the difference between horizontal and vertical scaling for microservices?(Medium)
- What is the role of a message schema registry?(Medium)
- How do you handle service discovery with Kubernetes?(Medium)
- What is the Publisher-Subscriber (Pub-Sub) pattern?(Easy)
- How do you implement an API gateway from scratch?(Hard)
- What is consumer-driven contract testing (Pact)?(Hard)
- How do you use feature toggles in microservices?(Medium)
- What is polyglot persistence in microservices?(Medium)
- What are distributed caching strategies for microservices?(Hard)
- How do you design a CI/CD pipeline for microservices?(Hard)
- How do you implement observability with Micrometer, Prometheus, and Grafana?(Hard)
- What is the Retry pattern and when should you NOT retry?(Medium)
- How do you implement Saga compensation (rollback) in detail?(Hard)
- What is multi-tenancy in microservices and how do you implement it?(Hard)
- What are the steps to migrate a monolith to microservices using the Strangler Fig pattern?(Hard)
- How do you design microservices for failure?(Hard)
- What is data mesh and how does it relate to microservices data ownership?(Hard)
- What is a sidecar proxy and how does Envoy work?(Hard)
- How do you handle inter-service authorization (not just authentication)?(Hard)
- When should you NOT use microservices?(Medium)