Rationale for Correct Answer: IaC enables reviewable, version-controlled change proposals (for example, Terraform plans in pull requests). This makes it possible to systematically review proposed infrastructure changes—including automated security/policy checks—before they are applied. That review-and-approve workflow is a direct outcome of defining infrastructure as code and generating an execution plan.
Analysis of Incorrect Options (Distractors):
A: Auto scaling is enabled by cloud services (e.g., ASGs, autoscalers) and can be configured with or without IaC.
B: RBAC is a capability of cloud/IAM platforms and can be managed without IaC (though IaC can codify it).
C: Cost optimization is a practice/process; IaC can help standardize and enforce cost controls, but it’s not “only enabled” by IaC.
Key Concept: IaC enables version control, change review, and pre-deployment validation (plan + policy/security review).
[Reference: Terraform Objectives — Understand Infrastructure as Code (IaC) Concepts (reviewable, repeatable workflows), Understand Terraform Basics and CLI (plan as a change proposal)., , , , ]
Submit