CompTIA Cloud+ (CV0-004)DeploymentEasy

A cloud architect is designing a new application deployment that requires consistent, immutable environments across development, testing, and production. The architect wants to automate the provisioning of infrastructure resources and ensure that any changes are tracked and can be rolled back if necessary. Which of the following approaches best meets these requirements?

  1. AEmploying containerization for the application but manual provisioning of the underlying infrastructure.
  2. BManual configuration of virtual machines (VMs) and traditional scripting for application installation.
  3. CUtilizing Infrastructure as Code (IaC) with version control for all infrastructure definitions.
  4. DImplementing a continuous integration/continuous deployment (CI/CD) pipeline without IaC.
Show answer & explanation

Correct answer: C. Utilizing Infrastructure as Code (IaC) with version control for all infrastructure definitions.

Infrastructure as Code (IaC) allows for the definition of infrastructure in machine-readable files, enabling automation, version control, and immutability, which directly addresses the requirements for consistent environments, tracked changes, and rollback capabilities.

Why the other options are wrong

  • A. Containerization addresses application consistency but does not solve the problem of inconsistent or untracked infrastructure provisioning.
  • B. Manual configuration is prone to errors, lacks consistency, and does not provide version control or easy rollback.
  • D. While CI/CD automates deployment, without IaC, the underlying infrastructure may still be inconsistently provisioned.

Infrastructure as Code (IaC)

Managing and provisioning computer data centers through machine-readable definition files, rather than physical hardware configuration or interactive configuration tools.

  • Defines infrastructure declaratively or imperatively.
  • Enables automation, version control, and repeatability.
  • Promotes immutable infrastructure.

Memory trick: Cloud Deployments Need Immutable Code.

More Deployment questions