B Y T E B A R

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

CompTIA Cloud+ (CV0-004) Domain 2.0: Deployment — Explained

Domain 2.0 is how cloud resources get built and released: provisioning compute and storage, defining infrastructure as code, orchestrating containers, and choosing deployment strategies that don't cause outages.

Exam weight: 19% · Free study preview from ByteBar

Provisioning compute and storage

Infrastructure as code and orchestration

IaC provisions the platform; config management configures the systems; orchestration runs the containers; CI/CD ships the code. Four layers, one automated path to production.

Deployment strategies

The must-memorize table: deployment strategies

How each strategy ships the new version.

StrategyHow it worksStrength
RollingReplace instances graduallyZero downtime, no extra infra
Blue-greenTwo environments, switch traffic at onceInstant rollback
CanarySmall traffic slice first, then expandReal-user validation, tiny blast radius
ImmutableDeploy new, replace old — never modifyKnown-good builds, no drift

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 wants deployments with instant rollback and is willing to run double infrastructure briefly during each release. Which strategy?

  1. A. A. Rolling
  2. B. B. Blue-green — full parallel environment with traffic switched at once; rollback is switching back
  3. C. C. Canary
  4. D. D. Recreate (all at once in place)
Show answer & reasoning

B. Blue-green's defining trade: double resources during deploy in exchange for atomic cutover and one-step rollback. Rolling (A) is cheaper but rollback is another slow rollout; canary (C) validates gradually but isn't instant. "Instant rollback, cost no object" → blue-green.

2. A payment service needs real-user validation of a new version but a bug could cost millions per minute. Which strategy limits the blast radius?

  1. A. A. Blue-green — 100% cutover immediately
  2. B. B. Canary — route a tiny slice of traffic first and expand on good metrics
  3. C. C. Rolling to all instances at once
  4. D. D. Deploy Friday night and watch
Show answer & reasoning

B. Canary exists for exactly this: prove the new version on 1–5% of real traffic, with automated rollback on bad metrics, before exposing everyone. Blue-green (A) flips everyone at once — fast rollback, but the blast already happened. Blast-radius control → canary.

3. What is the core advantage of infrastructure as code over manual console provisioning?

  1. A. A. It's faster to click through the console
  2. B. B. Versioned, reviewable, repeatable environments — no snowflake servers, reproducible disaster recovery
  3. C. C. It eliminates the need for monitoring
  4. D. D. It's always cheaper
Show answer & reasoning

B. IaC's value isn't speed of first deploy — it's repeatability: the same template builds dev, staging, and prod identically; changes are code-reviewed; recovery is "re-apply the template." Manual consoles produce unique snowflakes nobody can reproduce. Reproducibility is the point.

4. A workload needs double the instances during business hours and minimal capacity overnight. Which approach fits?

  1. A. A. Vertical scaling — buy the biggest instance once
  2. B. B. Horizontal auto-scaling on schedule/metrics — add instances for the peak, remove them after
  3. C. C. Serverless for everything regardless of fit
  4. D. D. Manual provisioning each morning
Show answer & reasoning

B. Predictable daily variation is the textbook auto-scaling case: scheduled or metric-driven horizontal scaling matches capacity to demand — paying for peak only during peak. Vertical (A) pays for peak 24/7; manual (D) is toil with a 6 AM alarm. Elasticity exists to be used.

This was one domain. The simulator drills all 6.

This free preview covered Deployment (Domain 2.0, 19%). 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