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 the benefit of using scripts to define environment details?
Open an interactive chat with Bash
How do configuration management tools support scripting for deployments?
Open an interactive chat with Bash
Why does manual deployment lead to inconsistencies?