CompTIA Cloud Essentials+ (CLO-002)Management and Technical OperationsMedium

A company is implementing a new cloud application that consists of several microservices. They want to ensure that any changes made to the infrastructure (e.g., adding a new database, updating network configurations) are version-controlled, auditable, and can be rolled back if necessary. Which approach would BEST achieve these goals?

  1. AManually configuring infrastructure changes via the cloud provider's console.
  2. BStoring configuration scripts in a shared network drive.
  3. CImplementing Infrastructure as Code (IaC) with a version control system.
  4. DUsing a simple shell script to apply changes directly to the cloud environment.
Show answer & explanation

Correct answer: C. Implementing Infrastructure as Code (IaC) with a version control system.

Infrastructure as Code (IaC), when combined with a version control system, allows infrastructure definitions to be treated like application code. This enables versioning, auditing of changes, and the ability to easily revert to previous states, directly addressing all stated requirements.

Why the other options are wrong

  • A. Manual configuration lacks version control, auditability, and easy rollback capabilities.
  • B. Storing scripts on a network drive might offer some versioning if managed manually, but lacks the integrated audit and rollback features of IaC with proper version control.
  • D. A simple shell script lacks version control, auditing, and robust rollback mechanisms, and can lead to configuration drift.

Infrastructure as Code (IaC)

The practice of managing and provisioning computing infrastructure through machine-readable definition files, rather than physical hardware configuration or interactive configuration tools.

  • Treats infrastructure like application code.
  • Enables version control, auditing, and rollback.
  • Promotes consistency and reduces configuration drift.

Memory trick: Code Your Infra for Control.

More Management and Technical Operations questions