Skip to content
Sharp

Microservice Architecture · interview question

When implementing a Saga with compensating transactions, what is a key consideration to ensure data consistency?

Multiple choiceMediumchapter-18-curatedpremiummicroservice-architectureeventual-consistency-sagas
Choose one answer
Answer and explanation

Correct answer

B. Ensure each service can independently revert its actions.

Why

Each service in a Saga should be able to independently execute a compensating transaction to revert its part of the transaction, ensuring data consistency across the system.

Test yourself on Microservice Architecture

A free test with instant, explained results. No account needed.

Start free test
All Microservice Architecture questions →