CompTIA Cloud Essentials+ (CLO-002)Management and Technical OperationsEasy
A development team is adopting a DevOps culture and wants to ensure that every code change is automatically built, tested, and validated as soon as it's committed to the version control system. Which practice is being described?
- AContinuous Delivery (CD)
- BInfrastructure as Code (IaC)
- CContinuous Deployment (CD)
- DContinuous Integration (CI)
Show answer & explanationAnswer & explanation
Correct answer: D. Continuous Integration (CI)
Continuous Integration (CI) is the practice where developers frequently merge their code changes into a central repository, after which automated builds and tests are run to detect integration issues early.
Why the other options are wrong
- A. Continuous Delivery ensures that validated changes are *ready* for deployment, but still requires a manual step for production release.
- B. Infrastructure as Code defines and manages infrastructure through code, which is different from the code integration and testing process.
- C. Continuous Deployment automatically deploys all validated changes to production, which goes beyond just building and testing.
Continuous Integration (CI)
A DevOps practice where developers frequently merge their code changes into a central repository, triggering automated builds and tests.
- Detects integration issues early.
- Improves code quality and team collaboration.
- Forms the first stage of a CI/CD pipeline.
Memory trick: Integrate, Deliver, Deploy: The CI/CD Way.