問題文
A team is deploying to two environments and wants the same base settings with a few differences per environment. Which approach matches the design of the configuration system?
選択肢
- Write both environments in one file and select with a comment.
- Keep one file per environment with the full contents duplicated in each, since the loader replaces the whole document rather than merging the parts that differ.
- Load several configuration files at once and let the later ones override the earlier ones.
- Build a separate image per environment with the values compiled in, and redeploy the image whenever a value changes.