What is the primary purpose of infrastructure as code (IaC)?

Answer

Define and manage infrastructure using code

Explanation

Infrastructure as code lets you provision and manage resources through code rather than manual steps. This improves repeatability, version control, and consistency across environments. The other options either remove necessary configuration control or refer to unrelated tasks.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list