Last Updated: June 6, 2026
Most microservices design questions are variations on a small number of underlying shapes. A food delivery platform, a ride-sharing app, and a payment system look like three different prompts, but two of them share an order-lifecycle saga, all three need idempotent money movement, and all three reward the same opening move: name the bounded contexts before drawing a single box.
Once you have seen enough prompts, you stop solving each from scratch and start recognizing which archetype you are in. Each scenario in this chapter has a canonical answer: a default set of bounded contexts, a handful of patterns that almost always belong, and one or two decisions worth reasoning about out loud. The aim is not to recite a memorized solution but to get the obvious 70 percent right quickly, so the time you have left goes to the 30 percent that distinguishes a strong design.
Before the scenarios, here is the shape of a good answer, because every scenario reuses it:
The scenarios that follow are organized so the first four are "design a product" prompts, where the work is mostly in steps two and three, and the last four are "reason about a property" prompts, where the work is mostly in steps four and five.