Bird
0
0

Which key advantage does the Saga pattern provide when managing distributed transactions across microservices?

easy📝 Conceptual Q1 of 15
Kafka - Event-Driven Architecture
Which key advantage does the Saga pattern provide when managing distributed transactions across microservices?
AIt eliminates the need for compensating transactions
BIt guarantees immediate consistency by locking all involved services
CIt enables eventual consistency without locking resources across services
DIt centralizes transaction management in a single service
Step-by-Step Solution
Solution:
  1. Step 1: Understand Saga pattern goal

    The Saga pattern manages distributed transactions by breaking them into smaller local transactions.
  2. Step 2: Identify key advantage

    It avoids distributed locking by allowing eventual consistency through compensating transactions.
  3. Final Answer:

    It enables eventual consistency without locking resources across services -> Option C
  4. Quick Check:

    Eventual consistency and no distributed locks [OK]
Quick Trick: Saga enables eventual consistency without distributed locks [OK]
Common Mistakes:
MISTAKES
  • Assuming Saga guarantees immediate consistency
  • Thinking Saga removes need for compensations
  • Believing Saga centralizes transaction control

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes