27. Monolith vs Microservices
Interview questions
Interview questions (with the counter-questions you'll get)
Q1. Monolith or microservices for a new product?
They're testing: judgement over fashion.
Think about your answer first, then open it.
Q2. What are the downsides of microservices?
They're testing: honesty about costs.
Think about your answer first, then open it.
Q3. What is a modular monolith?
They're testing: knowing the middle ground.
Think about your answer first, then open it.
Q4. How do you decide service boundaries?
They're testing: design thinking.
Think about your answer first, then open it.
Q5. How do services find each other?
They're testing: infrastructure basics.
Think about your answer first, then open it.
Q6. Should each microservice have its own database?
They're testing: data ownership.
Think about your answer first, then open it.
Q7. Sync or async communication between services?
They're testing: coupling awareness.
Think about your answer first, then open it.
Q8. What is a distributed monolith?
They're testing: recognising a common failure.
Think about your answer first, then open it.
Q9. How would you migrate a monolith to microservices?
They're testing: practical execution.
Think about your answer first, then open it.
Q10. A slow downstream service brings your service down. Why, and what do you do?
They're testing: failure propagation.
Think about your answer first, then open it.