0
0
Microservicessystem_design~20 mins

Choreography vs orchestration in Microservices - Practice Questions

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Choreography vs Orchestration Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Identify the key difference between choreography and orchestration in microservices
Which statement best describes the main difference between choreography and orchestration in microservices architecture?
ABoth choreography and orchestration require a central controller to coordinate services.
BChoreography relies on a central controller to manage service interactions, while orchestration lets services communicate directly without a central point.
COrchestration uses a central controller to manage service interactions, while choreography lets services communicate directly without a central point.
DChoreography and orchestration are identical concepts with different names.
Attempts:
2 left
💡 Hint
Think about who controls the flow of communication between services.
Architecture
intermediate
2:00remaining
Choose the architecture diagram that represents choreography
Which architecture diagram best represents choreography in a microservices system?
AServices emit events and other services listen and react to those events without a central controller.
BA central service sends commands to all other services to perform tasks sequentially.
CA single database manages all service states and interactions.
DAll services communicate only through a shared message queue controlled by a central orchestrator.
Attempts:
2 left
💡 Hint
Look for decentralized event-driven communication.
scaling
advanced
2:00remaining
Scaling challenges in orchestration vs choreography
Which scaling challenge is more likely to occur in orchestration compared to choreography?
AServices struggle to discover each other due to lack of central coordination.
BThe central orchestrator becomes a bottleneck as the number of services grows.
CEvent propagation delays increase exponentially with more services.
DServices cannot handle asynchronous communication effectively.
Attempts:
2 left
💡 Hint
Consider the role of the central controller in orchestration.
tradeoff
advanced
2:00remaining
Tradeoff between observability in choreography and orchestration
Which statement correctly describes the tradeoff in observability between choreography and orchestration?
AOrchestration provides better observability due to centralized control, while choreography requires distributed tracing.
BOrchestration makes observability harder because services communicate directly without logs.
CChoreography offers easier observability because all interactions are managed centrally.
DBoth choreography and orchestration have identical observability challenges.
Attempts:
2 left
💡 Hint
Think about where the control and logs are centralized.
estimation
expert
3:00remaining
Estimate message volume in choreography vs orchestration
In a system with 10 microservices where each service triggers 3 downstream services per request, which approach likely generates more total messages for 1000 requests?
ANeither generates messages because services communicate synchronously.
BOrchestration generates more messages because the central controller sends commands to all services.
CBoth generate the same number of messages because the workflow is identical.
DChoreography generates more messages because each service emits events that multiple services listen to independently.
Attempts:
2 left
💡 Hint
Consider how events propagate in choreography versus commands in orchestration.