Bird
0
0

Why is externalized configuration considered a best practice in microservices architecture?

hard📝 Conceptual Q10 of 15
Microservices - Configuration and Secrets Management
Why is externalized configuration considered a best practice in microservices architecture?
AIt decouples configuration from code, enabling independent updates
BIt forces all microservices to share identical config
CIt embeds sensitive data directly in service binaries
DIt prevents any runtime configuration changes
Step-by-Step Solution
Solution:
  1. Step 1: Define best practice goal

    Best practices aim to improve maintainability, scalability, and flexibility.
  2. Step 2: Explain externalized config benefits

    Decoupling config from code allows changing settings without redeploying, improving flexibility and security.
  3. Final Answer:

    It decouples configuration from code, enabling independent updates -> Option A
  4. Quick Check:

    Best practice = Decouple config from code [OK]
Quick Trick: Decouple config from code for flexibility [OK]
Common Mistakes:
  • Thinking all services must share same config
  • Embedding sensitive data in binaries
  • Believing runtime config changes are blocked

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes