Problem Statement
Which statement correctly differentiates declarative and imperative approaches in IaC?
Explanation
Declarative IaC tools describe the desired end state of infrastructure, letting the system handle the process to reach it (for example Terraform or CloudFormation). Imperative tools describe step-by-step procedures to create resources (for example Ansible or shell scripts). Understanding this difference helps choose tools based on control versus simplicity.
