KCNA ยท Application delivery and debugging
CI/CD concepts
Continuous integration, delivery vs deployment, pipelines, artifacts, typical cloud native pipeline stages.
Key points
- Continuous integration (CI): merge small changes often, verify each with an automated build and tests.
- Continuous delivery: every passing build stays releasable, manual approval before production.
- Continuous deployment: no approval, releases automatically.
- Pipeline: turns a commit into a versioned artifact (e.g. container image in a registry), promoted unchanged through environments.
Practice questions
What separates continuous deployment from continuous delivery?
- Deployment releases to production automatically; delivery keeps a manual release decision
- Deployment skips automated tests; delivery runs them
- Delivery only applies to containers; deployment applies to virtual machines
- Delivery builds the code; deployment only stores the artifact
Show answer
Answer: A. Deployment releases to production automatically; delivery keeps a manual release decision
In both, every change passes the pipeline and is releasable. The difference is the last step: delivery waits for a human to approve the release, deployment pushes to production automatically. Neither skips tests.
Which stages typically belong in a CI pipeline?
- Compile or build the application
- Run unit tests
- Static analysis or linting
- Hand-editing live Pods with kubectl edit
- Rebooting production nodes
Show answer
Answer: A. Compile or build the application, B. Run unit tests, C. Static analysis or linting
Build, tests and static checks give fast feedback on every merge. Manual edits of live objects and node reboots are operational actions that bypass the pipeline.
True or false: continuous delivery means every commit is released to end users automatically, with no human step.
Show answer
Answer: False
That describes continuous deployment. Continuous delivery only guarantees that each build could be released at any time; the release itself is a deliberate decision.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
