Bird
0
0

How can the Outbox pattern be combined with Change Data Capture (CDC) to improve event reliability?

hard📝 Trade-off Q9 of 15
Microservices - Advanced Patterns
How can the Outbox pattern be combined with Change Data Capture (CDC) to improve event reliability?
ACDC reads database transaction logs to publish events without modifying application code
BCDC deletes events from Outbox after publishing
CCDC replaces the need for an Outbox table entirely
DCDC caches events on client devices for offline use
Step-by-Step Solution
Solution:
  1. Step 1: Understand CDC role

    CDC captures changes from database logs, enabling event publishing without app code changes.
  2. Step 2: Identify how CDC complements Outbox

    CDC reads Outbox inserts and publishes events reliably, decoupling publishing logic.
  3. Final Answer:

    CDC reads database transaction logs to publish events without modifying application code -> Option A
  4. Quick Check:

    CDC + Outbox = decoupled event publishing [OK]
Quick Trick: CDC reads DB logs to publish events independently [OK]
Common Mistakes:
  • Thinking CDC deletes Outbox events
  • Assuming CDC replaces Outbox completely
  • Believing CDC caches events on clients

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes