Microservices Interview Questions and Answers
Microservices interviews focus heavily on tradeoffs -- interviewers want to see that you understand what you're giving up (simplicity, easy transactions) for what you gain (independent scaling and deployment), not just that you can define the term.
Example: Two services communicating over REST vs. events
Synchronous (REST): an order-service calls GET /inventory/{sku} on inventory-service directly and waits for the response before continuing. Simple, but if inventory-service is slow or down, order-service is blocked too. Asynchronous (event-driven): order-service publishes an OrderPlaced event to a message broker (like Kafka) and moves on immediately. inventory-service consumes that event independently, whenever it's ready. This decouples the two services' availability from each other, at the cost of eventual (not immediate) consistency.