CompTIA Cloud Essentials+ (CLO-002)Management and Technical OperationsMedium
A company is deploying a new web application in the cloud and wants to automate the process of creating virtual machines, configuring network settings, and installing application dependencies. They need a solution that can be version-controlled and ensure consistent deployments across development, staging, and production environments. Which concept provides the foundational framework for this automation?
- AInfrastructure as Code (IaC)
- BServerless computing
- CContent Delivery Network (CDN)
- DBusiness Continuity Planning (BCP)
Show answer & explanationAnswer & explanation
Correct answer: A. Infrastructure as Code (IaC)
Infrastructure as Code (IaC) allows defining and managing infrastructure resources (like VMs, networks, and configurations) using code. This enables version control, automation, and consistent, repeatable deployments across different environments.
Why the other options are wrong
- B. Serverless computing is an execution model, not a framework for automating infrastructure provisioning and configuration.
- C. A CDN improves content delivery speed and availability, unrelated to infrastructure provisioning.
- D. BCP focuses on maintaining business operations during disruptions, not on automating infrastructure deployment.
Infrastructure as Code (IaC)
Managing and provisioning computing infrastructure through machine-readable definition files, rather than physical hardware configuration or interactive configuration tools.
- Enables automation, version control, and idempotency.
- Improves consistency and reduces human error.
- Examples include Terraform, AWS CloudFormation, Azure Resource Manager.
Memory trick: Code builds the cloud, serverless runs it, CDN speeds it, BCP saves it.