Bird
0
0

A Config Server is returning stale configuration data even after updates. Which fix is most appropriate?

medium📝 Analysis Q7 of 15
Microservices - Configuration and Secrets Management
A Config Server is returning stale configuration data even after updates. Which fix is most appropriate?
AChange microservices to store config locally only
BRestart the Config Server every hour
CEnable configuration refresh endpoint and trigger refresh in microservices
DDisable caching on the Config Server completely
Step-by-Step Solution
Solution:
  1. Step 1: Understand refresh mechanism

    Config Server supports refresh endpoints to notify microservices to reload config.
  2. Step 2: Evaluate fixes

    Restarting server or disabling caching is inefficient. Storing config locally defeats purpose.
  3. Final Answer:

    Enable configuration refresh endpoint and trigger refresh in microservices -> Option C
  4. Quick Check:

    Use refresh endpoint to update config in microservices [OK]
Quick Trick: Use refresh endpoint to update configs, not server restart [OK]
Common Mistakes:
  • Restarting server instead of refreshing clients
  • Disabling caching causing performance issues
  • Ignoring refresh mechanism

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes