A DevOps engineer stores the entire cloud-infrastructure configuration for a new workload in a version-controlled YAML file. Each time the file is applied in development, test, and production, the resulting environments are identical without any manual tweaks. Which Infrastructure as Code (IaC) benefit is being demonstrated?
Defining infrastructure in code allows the same configuration to be applied repeatedly with identical results. This repeatability prevents configuration drift that can occur with manual steps. Elasticity refers to scaling resources up or down, multi-tenancy involves hosting multiple customers in the same environment, and vendor lock-in describes dependence on a single provider-none of which specifically address recreating identical environments.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is Infrastructure as Code (IaC)?
Open an interactive chat with Bash
How does repeatability in IaC prevent configuration drift?
Open an interactive chat with Bash
What is the difference between repeatability and elasticity in cloud computing?