CV0-004 Deployment Practice Question
A company is adopting Infrastructure as Code (IaC) to manage its cloud resources. Which THREE statements are true about IaC? (Select THREE.)
⚠ Common exam trap
CV0-004 often tests the misconception that IaC eliminates all manual changes or is only for immutable infrastructure — candidates may overstate its scope and pick incorrect statements.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
IaC allows for automated provisioning of infrastructure
Option A is correct because IaC tools such as Terraform, AWS CloudFormation, and Ansible automate the provisioning of infrastructure by declaring resources in code and applying them through APIs, removing manual click-through provisioning. Option D is correct because IaC configuration files (e.g., .tf, YAML templates, playbooks) are text-based and are normally committed to a version control system like Git, enabling change tracking, peer review, and rollback. Option E is correct because the same declarative or idempotent IaC code produces the same resulting infrastructure state on every run, giving repeatable and consistent deployments across environments. Option B is not marked correct because IaC does not eliminate manual configuration changes entirely; out-of-band or drift changes can still occur and must be detected and reconciled. Option C is not marked correct because IaC supports both mutable and immutable infrastructure models, so it is not limited to immutable infrastructure.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
IaC allows for automated provisioning of infrastructure
Why this is correct
IaC codifies infrastructure definitions, so provisioning happens through automated pipelines rather than manual console work. This directly satisfies the scenario's adoption goal: repeatable, version-controlled deployment of cloud resources. Templates or configuration files drive the automation, removing human error and enabling consistent environments across deployments.
- ✗
IaC eliminates the need for manual configuration changes
Why it's wrong here
IaC removes manual provisioning drift but does not eliminate manual changes: operators can still alter resources through consoles or CLIs, which then requires drift detection and reconciliation. It tempts because IaC strongly discourages manual edits, yet that is a process discipline rather than a technical guarantee enforced by the tool.
- ✗
IaC is only applicable for immutable infrastructure
Why it's wrong here
IaC templates can provision and manage mutable resources in place, such as updating an existing security group rule, so immutability is a deployment pattern rather than a constraint of the tooling. It tempts because immutable infrastructure is frequently automated with IaC, but that pairing is a design choice, not a requirement.
- ✓
IaC configurations are typically stored in version control
Why this is correct
Storing configurations in version control gives IaC its auditable, reproducible foundation: every change is tracked, reviewable and revertible, satisfying the traceability and consistency the scenario demands when managing cloud resources declaratively. This underpins collaboration and rollback, which manual portal provisioning cannot provide.
- ✓
IaC ensures that deployments are repeatable and consistent
Why this is correct
Idempotency and consistency are benefits.
Go deeper
Related to this question
About these practice questions
Courseiva writes every CV0-004 question from scratch — 834 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official CompTIA exam blueprint
This CV0-004 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CV0-004 exam.