CompTIA Project+ (PK0-005)Basics of IT and GovernanceMedium
A software development project is adopting DevOps practices to accelerate delivery and improve consistency. The team aims to automate the provisioning and configuration of infrastructure components (servers, networks, databases) using code, rather than manual processes. Which approach BEST supports this goal?
- AVirtualization
- BContainerization
- CInfrastructure as Code (IaC)
- DManual configuration management
Show answer & explanationAnswer & explanation
Correct answer: C. Infrastructure as Code (IaC)
Infrastructure as Code (IaC) is the practice of managing and provisioning computing infrastructure through machine-readable definition files, rather than physical hardware configuration or interactive configuration tools, which aligns directly with automating infrastructure using code for consistency and speed.
Why the other options are wrong
- A. Virtualization allows for running multiple OS instances on one physical machine but doesn't inherently automate the provisioning and configuration of the virtual infrastructure itself with code.
- B. Containerization packages applications and their dependencies into portable units but doesn't primarily focus on automating the provisioning of the underlying compute, network, or database infrastructure with code.
- D. Manual configuration management is the opposite of automation and consistency, leading to errors and delays.
Infrastructure as Code (IaC)
The process of managing and provisioning computing infrastructure (e.g., networks, virtual machines, load balancers) using machine-readable definition files, rather than physical hardware configuration or interactive configuration tools.
- Automates infrastructure provisioning.
- Ensures consistency and repeatability.
- Enables version control and collaboration for infrastructure.
Memory trick: IaC: Infrastructure as Code, making ops a breeze.