CS FundamentalsHardProduct-company placement · system design

An order flow touches payment, inventory and shipping services. In design 1 each service reacts to events from the others; in design 2 one coordinator calls each service in turn and handles failures. Which statement is correct?

  1. A. Design 1 is orchestration, and it gives one place to see the whole flow end to end
  2. B. Design 2 is choreography, and it removes any single point of control from the flow
  3. C. 1 is choreography (loose, harder to trace); 2 is orchestration (flow in one place)
  4. D. Both designs are orchestration, since the services still communicate with each other

Correct answer: C. 1 is choreography (loose, harder to trace); 2 is orchestration (flow in one place)

Choreography spreads the workflow across event reactions (few direct dependencies, but the end-to-end flow is implicit). Orchestration puts it in a central coordinator, easier to follow and change but a component every step depends on.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic