0
0
Microservicessystem_design~20 mins

Incremental migration plan in Microservices - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Incremental Migration Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Key Benefit of Incremental Migration
Which of the following is the primary benefit of using an incremental migration plan when moving from a monolithic system to microservices?
AIt ensures all microservices share the same database schema from the start.
BIt requires rewriting the entire system at once to avoid compatibility issues.
CIt eliminates the need for any downtime during migration.
DIt allows gradual testing and validation of each microservice before full migration.
Attempts:
2 left
💡 Hint
Think about how risk is managed during migration.
Architecture
intermediate
2:30remaining
Order of Steps in Incremental Migration
What is the correct order of steps in a typical incremental migration plan from monolith to microservices?
A1,2,3,4
B3,1,2,4
C1,3,2,4
D2,1,3,4
Attempts:
2 left
💡 Hint
Think about logical progression from identification to deployment and validation.
scaling
advanced
3:00remaining
Handling Data Consistency During Incremental Migration
During incremental migration, what is the best approach to maintain data consistency between the monolith and new microservices?
AAllow both systems to write independently to the same database tables simultaneously.
BUse event-driven architecture with asynchronous messaging to synchronize data changes.
CStop all writes to the monolith and only write to microservices during migration.
DDuplicate all data manually after migration completes.
Attempts:
2 left
💡 Hint
Consider how to keep systems in sync without blocking operations.
tradeoff
advanced
2:30remaining
Tradeoff of Incremental Migration vs Big Bang
What is a major tradeoff when choosing incremental migration over a big bang migration?
AIncremental migration takes longer but reduces risk and allows continuous delivery.
BIncremental migration requires no changes to existing code.
CIncremental migration guarantees zero bugs after migration.
DIncremental migration eliminates the need for monitoring after deployment.
Attempts:
2 left
💡 Hint
Think about time and risk factors.
estimation
expert
3:00remaining
Estimating Capacity Needs During Incremental Migration
If a monolithic system handles 10,000 requests per second and you migrate 20% of its functionality to a new microservice, what is the minimum capacity you should provision for the new microservice to handle peak load safely?
AOnly 500 requests per second because microservices are more efficient.
BExactly 10,000 requests per second since all traffic might shift suddenly.
CAt least 2,000 requests per second plus a safety margin (e.g., 25%).
DNo capacity needed initially; scale only after monitoring.
Attempts:
2 left
💡 Hint
Calculate based on percentage of functionality and add buffer for safety.