🌍 DevOps · subject
DevOps Continuous Delivery and Continuous Deployment Syllabus
Every chapter and topic of Continuous Delivery and Continuous Deployment examined in DevOps — 3 chapters, 8 topics, plus 50 flashcards written against it.
Continuous Delivery and Continuous Deployment syllabus — full chapter and topic list
Expand any chapter to see its topics and sub-topics. This is the whole examinable outline for Continuous Delivery and Continuous Deployment in DevOps, not a summary of it.
-
Introduction to CD
2 topics- CD Concepts and Practices
- Benefits of CD
-
CD Tools
3 topics- Spinnaker
- Argo CD
- Octopus Deploy
-
Setting Up a CD Pipeline
3 topics- Deployment Strategies
- Blue-Green Deployment
- Canary Releases
Continuous Delivery and Continuous Deployment flashcards for DevOps
21 of 50 cards from the Continuous Delivery and Continuous Deployment deck — real questions with worked answers.
What is Continuous Delivery (CD)?
A software engineering practice in which code changes are automatically built, tested, and prepared for release to production. Every change is kept in a deployable state, but the final push to production is triggered manually by a human decision.
What is Continuous Deployment?
An extension of Continuous Delivery in which every change that passes the automated pipeline (build and tests) is automatically released to production with no manual approval gate. The release to production is fully automated.
What is the key distinction between Continuous Delivery and Continuous Deployment?
Both automate the pipeline up to production-readiness. Continuous Delivery requires a manual approval/trigger for the production release; Continuous Deployment automatically releases every passing change to production without human intervention.
How does Continuous Integration (CI) relate to Continuous Delivery/Deployment?
CI is the upstream practice of frequently merging code into a shared mainline with automated builds and tests. CD builds on CI by extending the automation to packaging, release preparation, and deployment. CI ensures code is mergeable; CD ensures it is releasable/deployable.
In CI/CD, what does the acronym 'CD' ambiguously stand for, and how do you tell which one is meant?
'CD' can mean Continuous Delivery or Continuous Deployment. The difference is the production gate: Delivery = manual release decision; Deployment = fully automated release. Context (presence or absence of a manual approval step) disambiguates.
What is a deployment pipeline (delivery pipeline)?
An automated implementation of the path from version control to the user. It typically chains stages such as build, unit tests, integration tests, acceptance tests, and deployment, providing fast feedback and a single record of every change's progress toward release.
What is an artifact in the context of CD, and what is the 'build once' principle?
An artifact is the immutable, deployable package produced by the build (e.g., a JAR, container image, or binary). The 'build once' principle states the same artifact built once should be promoted unchanged through every environment, so what is tested is exactly what is released.
What does 'keeping the build green' (or 'always releasable') mean in CD?
The mainline branch must always be in a deployable state. A failing build or test takes top priority to fix, because broken trunk blocks everyone's ability to release at any time.
What is trunk-based development and why is it associated with CD?
A source-control practice where developers integrate small, frequent changes into a single shared trunk (main) rather than long-lived feature branches. It minimizes merge conflicts and keeps the mainline continuously integratable and releasable, which CD depends on.
What are feature flags (feature toggles) and what role do they play in CD?
Configuration switches that turn functionality on or off at runtime without redeploying. They let teams merge and deploy incomplete or risky features in a hidden state, decoupling deployment (shipping code) from release (exposing it to users).
In CD terminology, what is the difference between 'deployment' and 'release'?
Deployment is the act of installing/running a new version of code in an environment (including production). Release is the act of making features available to users. Feature flags and progressive rollouts allow deploying without releasing.
List the core benefits commonly attributed to Continuous Delivery.
Faster time to market, lower-risk releases (small batches), faster feedback, higher software quality, reduced manual effort, improved developer productivity, easier rollback, and the ability to release on demand.
Why do small batch sizes reduce deployment risk in CD?
Smaller changes are easier to test, review, and reason about; when something fails, the smaller change set makes root-cause diagnosis and rollback faster, and the blast radius of any defect is limited.
Which four DORA metrics are used to measure software delivery performance?
Deployment Frequency, Lead Time for Changes, Change Failure Rate, and Mean Time to Restore (MTTR). The first two measure throughput; the last two measure stability.
Define the DORA metric 'Lead Time for Changes.'
The time it takes for a code commit to go from being committed to running successfully in production. Shorter lead time indicates a more efficient delivery process.
Define the DORA metric 'Change Failure Rate' and give its formula.
The percentage of deployments to production that cause a failure (rollback, hotfix, or outage). $$\text{CFR} = \frac{\text{Failed deployments}}{\text{Total deployments}} \times 100\%$$
Define MTTR (Mean Time to Restore) and give its formula.
The average time to recover from a production failure. $$\text{MTTR} = \frac{\text{Total downtime}}{\text{Number of incidents}}$$
What is Spinnaker?
An open-source, multi-cloud continuous delivery platform originally created by Netflix (and co-developed with Google). It focuses on application deployment and release management across cloud providers, with built-in support for advanced deployment strategies.
Which cloud providers does Spinnaker natively support?
Major providers including AWS, Google Cloud Platform (GCP), Microsoft Azure, Kubernetes, Cloud Foundry, and Oracle Cloud, making it a multi-cloud deployment tool.
In Spinnaker, what is a 'pipeline'?
A sequence of configurable stages that automate the deployment workflow. Stages can include bake, deploy, manual judgment, wait, and resize, and can be triggered by events such as a new image, a Git push, or a cron schedule.
In Spinnaker, what is the 'bake' stage?
A stage that produces an immutable machine image (e.g., an AWS AMI) from a source artifact, typically using HashiCorp Packer. The baked image is then deployed, supporting immutable infrastructure.
See more Continuous Delivery and Continuous Deployment flashcards →
Planning Continuous Delivery and Continuous Deployment for DevOps
Continuous Delivery and Continuous Deployment is about 4% of the DevOps syllabus by topic count — 8 of 226 topics, spread over 3 chapters. At roughly 45 minutes per topic plus 12 minutes per sub-topic, a first pass runs to about 6 hours.
The heaviest chapters are CD Tools (3 topics), Setting Up a CD Pipeline (3 topics), Introduction to CD (2 topics) . Front-load those while your energy is high; the short chapters are better revision filler later.
Work top-down: read the chapter, then tick topics off individually rather than marking the whole chapter done. Sub-topics are where silent gaps hide.
Continuous Delivery and Continuous Deployment (DevOps) FAQ
What is in the DevOps Continuous Delivery and Continuous Deployment syllabus?
Continuous Delivery and Continuous Deployment is split into 3 chapters — Introduction to CD, CD Tools and Setting Up a CD Pipeline, containing 8 topics and 0 sub-topics in total.
How is Continuous Delivery and Continuous Deployment structured in the DevOps syllabus?
3 chapters. Continuous Delivery and Continuous Deployment accounts for about 4% of the topics in the whole DevOps syllabus (8 of 226).
How long should I spend on Continuous Delivery and Continuous Deployment for DevOps?
Budget around 6 hours for a first pass through Continuous Delivery and Continuous Deployment — about 45 minutes per topic plus 12 minutes per sub-topic across its 8 topics. Add revision cycles on top.
Are there flashcards for DevOps Continuous Delivery and Continuous Deployment?
Yes — a 50-card Continuous Delivery and Continuous Deployment deck. Sample cards are printed on this page, and the full deck is free in the Examius app with spaced repetition scheduling.