A city automation service must use different DNA Center hostnames and feature flags in lab versus production. Which 12-factor approach keeps that deploy-specific config out of the repository?
Select an answer to reveal the explanation.
Short Explanation
Config is like changing the destination on a delivery van without rebuilding the van. Environment injection swaps hostnames and flags per deploy; checking in prod_config.py with passwords nails the wrong address into the source tree.
Full Explanation
The 12-factor config tenet keeps deploy-specific settings—hostnames, feature flags, credentials—outside the codebase, typically via environment variables or platform config. Committed environment files with secrets violate that tenet and leak across clones. Secret-store product choice is a related but separate concern; here the point is env-based config versus files in the repo.