Skip to content
Sharp

Microservice Architecture · interview question

In a microservices architecture, how is eventual consistency achieved using the Saga pattern?

Multiple choiceHardchapter-18-curatedpremiummicroservice-architecturekubernetes-orchestration
Choose one answer
Answer and explanation

Correct answer

A. By coordinating a series of local transactions with compensating actions.

Why

The Saga pattern achieves eventual consistency by dividing a transaction into a series of smaller, local transactions, each with a compensating action that is executed if part of the process fails, ensuring that the system eventually reaches a consistent state.

Test yourself on Microservice Architecture

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

Start free test
All Microservice Architecture questions →