Bird
0
0

Which of the following best explains why an Anti-corruption Layer is used when integrating a new microservice with a legacy system?

easy📝 Conceptual Q1 of 15
Microservices - Migration from Monolith
Which of the following best explains why an Anti-corruption Layer is used when integrating a new microservice with a legacy system?
ATo merge the legacy system's domain model into the new microservice's model without changes
BTo directly expose the legacy system's database to the new microservice
CTo isolate the new service from legacy system changes by translating data and protocols
DTo bypass security checks between the new and legacy systems for faster communication
Step-by-Step Solution
Solution:
  1. Step 1: Understand the role of an Anti-corruption Layer

    It acts as a translator and adapter between legacy and new systems.
  2. Step 2: Identify the correct purpose

    It isolates the new microservice from legacy changes by translating data and protocols.
  3. Final Answer:

    To isolate the new service from legacy system changes by translating data and protocols -> Option C
  4. Quick Check:

    Isolation and translation are key functions of an Anti-corruption Layer [OK]
Quick Trick: Anti-corruption Layer isolates and translates legacy data [OK]
Common Mistakes:
  • Assuming direct database access is part of the layer
  • Thinking the layer merges domain models without adaptation
  • Believing it bypasses security for speed

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes