What are the two SAGA patterns?

Prepare for the MuleSoft Integration Architect exam. Study with flashcards and multiple-choice questions, each offering hints and explanations to deepen understanding. Ace your exam with our focused preparation tools!

Multiple Choice

What are the two SAGA patterns?

Explanation:
The two SAGA patterns refer to how a distributed transaction is coordinated: through event-driven choreography and through a centralized orchestrator. In the event-driven approach, each service performs its local transaction and publishes events that other services listen to, letting the workflow unfold based on those events with no single coordinator. In the orchestrated approach, a central Saga controller issues commands to the participating services in sequence, directing the flow and triggering compensating actions if something fails. This combination—Event for choreography and Command/Orchestration for centralized control—is why the correct choice is the first option. The other choices mix terms that aren’t recognized as SAGA patterns.

The two SAGA patterns refer to how a distributed transaction is coordinated: through event-driven choreography and through a centralized orchestrator. In the event-driven approach, each service performs its local transaction and publishes events that other services listen to, letting the workflow unfold based on those events with no single coordinator. In the orchestrated approach, a central Saga controller issues commands to the participating services in sequence, directing the flow and triggering compensating actions if something fails. This combination—Event for choreography and Command/Orchestration for centralized control—is why the correct choice is the first option. The other choices mix terms that aren’t recognized as SAGA patterns.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy