Bird
0
0

Why is it important that an Anti-corruption Layer maintains its own domain model instead of reusing the legacy system's model?

hard📝 Conceptual Q10 of 15
Microservices - Migration from Monolith
Why is it important that an Anti-corruption Layer maintains its own domain model instead of reusing the legacy system's model?
ATo prevent legacy design flaws from propagating and to allow independent evolution
BTo reduce network traffic between services
CTo speed up database queries in the legacy system
DTo share the same database schema for consistency
Step-by-Step Solution
Solution:
  1. Step 1: Understand domain model independence

    Maintaining a separate domain model prevents legacy design flaws and constraints from affecting the new system.
  2. Step 2: Recognize benefits of independent evolution

    It allows the new system to evolve independently without being tied to legacy limitations or schema changes.
  3. Final Answer:

    To prevent legacy design flaws from propagating and to allow independent evolution -> Option A
  4. Quick Check:

    Separate domain model = isolation and evolution [OK]
Quick Trick: Keep domain models separate to avoid legacy issues [OK]
Common Mistakes:
  • Confusing with network or database performance
  • Assuming shared schema is beneficial
  • Ignoring legacy design flaws

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes