QuizzesStrangler Fig Pattern — Concept Check
intermediate
system-design

Strangler Fig Pattern — Concept Check

Questions on Strangler Fig Pattern. The Strangler Fig pattern incrementally migrates a monolith to microservices by gradually routing traffic from legacy endpoints to new services, eventually "strangling" the old system.

7 minutes 7 questions Pass at 70%
Time Limit
7 minutes - timer starts when you begin
Change Answers Freely
Revisit and change any answer before submitting
Full Review After Submit
Correct answers and explanations shown for every question
Auto-submit on timeout
Quiz submits automatically when time runs out

Questions in this quiz

7 questions on Strangler Fig Pattern — Concept Check. Work through them here, then start the quiz to answer them and see your score.

  1. 1.A company is migrating its monolith to microservices using the Strangler Fig pattern. They have placed an API Gateway in front of the monolith. What is the next step?

    • ADecommission the monolith immediately
    • BUse feature flags to disable monolith features
    • CRoute specific endpoints to new microservices
    • DBuild a new monolith with improved architecture
  2. 2.During a migration using the Strangler Fig pattern, a team notices that their UserService is not receiving any traffic. What might be the issue?

    • AThe database migration has not started
    • BThe API Gateway is not configured to route /api/users/**
    • CThe monolith is still handling all traffic
    • DThe UserService is not fully implemented
  3. 3.A service is migrated to a microservice architecture, but performance issues arise. Which pattern could help identify and mitigate the issue?

    • AIgnoring the issue until more services are migrated
    • BImmediate decommission of the monolith
    • CBig-bang rewrite to start fresh
    • DCanary deployments to test changes gradually
  4. 4.What is a key advantage of the Strangler Fig pattern during migration?

    • AIt eliminates the need for a database migration
    • BIt requires no initial setup or planning
    • CIt allows for incremental migration with rollback options
    • DIt guarantees zero downtime
  5. 5.A team using the Strangler Fig pattern has completed the migration of all endpoints except one. What should they do next?

    • ADecommission the monolith once the last endpoint is migrated
    • BBuild a new monolith for remaining features
    • CImmediately stop using the API Gateway
    • DIgnore the last endpoint and proceed
  6. 6.Why is data migration considered the hardest part of the Strangler Fig pattern?

    • AIt involves immediate decommissioning of the monolith
    • BIt doesn't support feature flags or canary deployments
    • CIt requires rewriting all application logic
    • DSplitting the shared database and ensuring data consistency is complex
  7. 7.A team is using change-data-capture (CDC) for their database migration. What is the purpose of this approach?

    • ATo handle API routing during migration
    • BTo immediately replace the monolith DB
    • CTo sync data between the monolith DB and new service DB
    • DTo eliminate the need for an API Gateway