All jobs / Solutions / cloud architect / Application Architecture

Solutions / cloud architect interview question · 1–3 years

The booking flow sometimes charges the card after the hotel step has already failed.

Booking a trip touches flights, hotel and payment services. How do you keep them consistent?

The strongest answer

A saga: each step commits locally and publishes; failures trigger compensating actions, and the booking has explicit intermediate states the user can see

Why it works

Exactly. Local commits, compensation, visible states. It is more work and it is the honest model.

What a good answer covers

Answers that fall short

Who gets asked this

More Application Architecture questions