A travel agent researches options and can book or modify reservations under constraints such as dates, budget, traveler identity, and cancellation terms. The plan needs to keep search recommendations distinct from confirmed external reservations.
How to present this design
Think aloud in layers. Confirm constraints before drawing; label the system of record, authorization boundary, and irreversible actions; then trace one request through the design. Keep the first version small enough to test.
A sample opening and design narrative
I would first clarify the user and what a successful travel assistant outcome means. The workflow is: A travel agent researches options and can book or modify reservations under constraints such as dates, budget, traveler identity, and cancellation terms. The plan needs to keep search recommendations distinct from confirmed external reservations. I would make this design question explicit: Which constraints are mandatory and which can be traded off? The first failure I would design for is: A changed price or itinerary is not revalidated before booking. I would make that failure visible and recoverable. I would launch against reservation verified against provider records. and monitor itinerary corrections, duplicate booking rate, and exception handoff rate.. If those signals miss the agreed bar, I would pause expansion and inspect the failing boundary before adding more autonomy.
This example supplies a structure. In a real interview, ask for missing scale and service-level constraints rather than inventing them.
Decisions to make explicit
- Decision 1
Which constraints are mandatory and which can be traded off?
- Decision 2
How are fare rules, dates, and cancellation terms made visible?
- Decision 3
How do you handle a reservation tool timeout with unknown booking state?
A useful interview walkthrough
- Define success
Start with this measurable outcome: Reservation verified against provider records. Confirm that it represents the user's job rather than an easy-to-count system activity.
- Protect the boundary
Resolve the design question: Which constraints are mandatory and which can be traded off? State which identity, policy, or source system remains authoritative.
- Design for the first exception
Make this failure explicit: A changed price or itinerary is not revalidated before booking. Explain how the system detects it and what the user sees while recovery is pending.
- Prove and operate it
Track Itinerary corrections, duplicate booking rate, and exception handoff rate. Name the owner, release gate, and what would trigger a pause or rollback.
Failure analysis
- A changed price or itinerary is not revalidated before booking.
- A traveler's identity or preferences are applied to the wrong profile.
- A booking is duplicated after an ambiguous response.
Workaround: Begin with a reversible, human-reviewable slice. Verify the external state after each consequential action, then widen scope only when difficult cases meet the agreed bar.
Evidence and operating signals
- Reservation verified against provider records.
- Itinerary corrections, duplicate booking rate, and exception handoff rate.
Canonical interview prompts
Practice the source questions
The full prompt set stays on the system-design guide; these links take you to the exact source question.