CompTIA Cloud+ (CV0-004)DevOps FundamentalsEasy

A technician wants to define an organization's virtual machines, networks, and storage using text-based configuration files stored in version control, so that identical cloud environments can be automatically and repeatedly provisioned. Which practice is being described?

  1. AContinuous integration
  2. BContainer orchestration
  3. CInfrastructure as code
  4. DConfiguration management
Show answer & explanation

Correct answer: C. Infrastructure as code

Infrastructure as code (IaC) uses declarative or imperative text files to define and provision infrastructure resources such as VMs, networks, and storage in a repeatable, version-controlled manner. Configuration management typically manages software and settings on existing systems, while CI and orchestration address code integration and container/service scheduling respectively.

Why the other options are wrong

  • A. Continuous integration is about frequently merging and testing application code changes.
  • B. Container orchestration manages the deployment and scaling of containers, not general infrastructure provisioning.
  • D. Configuration management focuses on maintaining OS/application state, not initial resource provisioning.

Infrastructure as Code (IaC)

The practice of managing and provisioning infrastructure resources through machine-readable definition files rather than manual processes.

  • Enables repeatable, version-controlled environments
  • Tools include Terraform, CloudFormation, ARM templates
  • Supports consistent, disaster-recoverable deployments

Memory trick: IaC: blueprint files build your cloud like Lego instructions.

More DevOps Fundamentals questions