Microservices - Migration from MonolithWhich of the following is the correct way to route requests in the Strangler fig pattern?ASend requests randomly to either legacy or new system without controlBDirect all requests to the legacy system until the new system is fully readyCRoute requests step-by-step from the legacy system to new microservicesDStop the legacy system completely before routing any requestsCheck Answer
Step-by-Step SolutionSolution:Step 1: Identify routing strategy in Strangler figThe pattern routes requests gradually from old to new components, not all at once or randomly.Step 2: Match options with routing approachRoute requests step-by-step from the legacy system to new microservices describes step-by-step routing, which fits the pattern best.Final Answer:Route requests step-by-step from the legacy system to new microservices -> Option CQuick Check:Step-by-step routing = A [OK]Quick Trick: Route requests gradually, not all or random [OK]Common Mistakes:Routing all requests to legacy until full switchRouting requests randomly causing inconsistencyStopping legacy before new system ready
Master "Migration from Monolith" in Microservices9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepArchTryChallengeDesignRecallScale
More Microservices Quizzes Advanced Patterns - Ambassador pattern - Quiz 2easy Advanced Patterns - Anti-patterns (distributed monolith, chatty services) - Quiz 15hard Advanced Patterns - Sidecar pattern - Quiz 15hard CI/CD for Microservices - Blue-green deployment - Quiz 6medium Configuration and Secrets Management - Why externalized config enables flexibility - Quiz 7medium Configuration and Secrets Management - Config server pattern - Quiz 10hard Migration from Monolith - Incremental migration plan - Quiz 15hard Migration from Monolith - Incremental migration plan - Quiz 9hard Real-World Architecture Case Studies - When to revert to monolith - Quiz 15hard Real-World Architecture Case Studies - When to revert to monolith - Quiz 14medium