Bird
0
0

You have a microservice deployed in multiple environments (dev, test, prod). How does externalized configuration help manage these environments efficiently?

hard📝 Trade-off Q15 of 15
Microservices - Configuration and Secrets Management
You have a microservice deployed in multiple environments (dev, test, prod). How does externalized configuration help manage these environments efficiently?
ABy disabling config changes after deployment to avoid errors.
BBy allowing each environment to have its own config without changing the service code.
CBy embedding environment-specific config inside the service code for each deployment.
DBy forcing all environments to share the exact same config settings.
Step-by-Step Solution
Solution:
  1. Step 1: Understand environment-specific config needs

    Different environments require different settings like URLs, credentials, or feature flags.
  2. Step 2: Explain how externalized config supports this

    Externalized config allows each environment to provide its own settings without code changes or redeployment.
  3. Final Answer:

    By allowing each environment to have its own config without changing the service code. -> Option B
  4. Quick Check:

    External config enables environment-specific settings [OK]
Quick Trick: External config lets each environment use unique settings [OK]
Common Mistakes:
  • Thinking all environments must share config
  • Embedding config in code per environment
  • Disabling config changes after deployment

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes