B Y T E B A R

Study Hub / CompTIA Cloud+ (CV0-004) / Domain 5.0

CompTIA Cloud+ (CV0-004) Domain 5.0: DevOps Fundamentals — Explained

Domain 5.0 is new to Cloud+ and pure concept: how DevOps practices — version control, CI/CD, infrastructure as code — change the way cloud systems are built and run. No pipeline to configure here; just the ideas the exam asks about.

Exam weight: 10% · Free study preview from ByteBar

Version control: the foundation

CI/CD: the delivery pipeline

CI = merge often, test automatically. Delivery = always releasable (human releases). Deployment = released automatically. Pipeline = the automated path from commit to production.

Infrastructure as code in the DevOps loop

The must-memorize table: DevOps vocabulary

The terms the domain is built from.

TermMeaningOne-liner
Version controlTrack every changeGit: who changed what, when; revert anything
CIContinuous integrationMerge often; automated build + test on every merge
Continuous deliveryAlways releasableHuman approves the actual release
Continuous deploymentAutomatic releaseEvery passing build goes to production
IaCInfrastructure as codeVersioned templates define environments
GitOpsRepo as source of truthAutomation converges the cloud to the repo

Try it: 4 sample questions

Sample questions to check your understanding of this domain. Answers and full reasoning are tucked under each one.

1. A team merges code daily and every merge triggers automated builds and tests, catching bugs within minutes. Which practice is this?

  1. A. A. Continuous deployment
  2. B. B. Continuous integration — frequent merges with automated build/test
  3. C. C. GitOps
  4. D. D. Infrastructure as code
Show answer & reasoning

B. CI's definition: integrate frequently, verify automatically. The build+test on every merge is the CI signature. Deployment (A) would release automatically — a step further. IaC (D) is about infrastructure definition, not the merge workflow.

2. A company wants every production release to require explicit human approval, while keeping code always ready to release. Which "CD" is this?

  1. A. A. Continuous deployment
  2. B. B. Continuous delivery — releasable at any time, released by human decision
  3. C. C. Continuous integration
  4. D. D. Continuous testing
Show answer & reasoning

B. Delivery = the pipeline keeps code in a deployable state; a human decides when. Deployment (A) removes the human — every green build ships. The approval gate is the tell: human in the loop → delivery.

3. Why does infrastructure as code belong in version control rather than being applied from engineers' laptops?

  1. A. A. Version control is faster
  2. B. B. Reviewed, revertible, auditable changes — every environment modification is a tracked commit, not an untracked console click
  3. C. C. Laptops can't run Terraform
  4. D. D. It reduces cloud bills directly
Show answer & reasoning

B. Version control gives IaC its superpowers: peer review before apply, full history ("who changed production?"), and one-command revert. Laptop-applied IaC is snowflake infrastructure with extra steps. The repo as source of truth is the entire GitOps idea.

4. Two developers edit the same lines of a Terraform file and both try to merge. What happens, and how is it resolved?

  1. A. A. The system picks one automatically and deletes the other
  2. B. B. A merge conflict — the merger manually reviews both changes and resolves them deliberately
  3. C. C. Both versions are kept side by side forever
  4. D. D. The file is locked permanently
Show answer & reasoning

B. Same lines + two authors = merge conflict: automation stops and a human reconciles. This is by design — silent auto-resolution would corrupt infrastructure definitions. Small, frequent merges keep conflicts rare and trivial; giant rare merges make them painful.

This was one domain. The simulator drills all 6.

This free preview covered DevOps Fundamentals (Domain 5.0, 10%). Not covered here: Operations (Domain 3.0, 17%); Troubleshooting (Domain 6.0, 12%). Cloud operations and scenario troubleshooting stay in the paid guide and practice bank. The ByteBar Practice Exam Simulator drills every domain with 1,000 exam-style questions — $9.99 one-time unlocks all 28 exams. Prefer to read? The full Cloud+ Study Guide is in the ByteBar shop on Etsy.

Practice Exam Simulator — $9.99 one-time, all 28 exams Full Study Guides on Etsy
Continue the series: back to the CompTIA Cloud+ index