Bird
0
0

Given this event orchestration flow:

medium📝 Predict Output Q4 of 15
Kafka - Event-Driven Architecture
Given this event orchestration flow:
Orchestrator listens to 'OrderPlaced' event
Then triggers 'PaymentService'
After payment success, triggers 'ShippingService'

What will happen if 'PaymentService' fails?
AOrchestrator retries 'ShippingService' before payment.
B'ShippingService' triggers immediately regardless of payment.
CBoth services run in parallel without waiting.
DOrchestrator stops and does not trigger 'ShippingService'.
Step-by-Step Solution
Solution:
  1. Step 1: Understand orchestration sequence

    The orchestrator triggers services in order, waiting for success before next step.
  2. Step 2: Analyze failure impact

    If 'PaymentService' fails, orchestrator halts and does not trigger 'ShippingService'.
  3. Final Answer:

    Orchestrator stops and does not trigger 'ShippingService'. -> Option D
  4. Quick Check:

    Orchestration waits for success before next trigger [OK]
Quick Trick: Orchestrator waits for success before next step [OK]
Common Mistakes:
MISTAKES
  • Assuming services run in parallel
  • Thinking shipping triggers without payment
  • Confusing retry logic order

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes