KCNA Cloud Native Application Delivery Practice Question
What is the primary purpose of a continuous integration (CI) pipeline in cloud native application delivery?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
To build and test code changes automatically
CI automates building and testing code changes to catch integration issues early, ensuring that code is always in a deployable state.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
To provision infrastructure resources
Why it's wrong here
Infrastructure provisioning is performed by IaC tooling such as Terraform or CloudFormation, not by a CI pipeline, which builds and tests code on each commit. Provisioning is tempting because pipelines often trigger IaC runs, yet the stem asks the pipeline's own primary purpose.
- ✗
To automatically deploy code to production
Why it's wrong here
Automatic production deployment is continuous delivery or deployment, a separate stage consuming CI's verified artefacts. It is tempting because pipelines commonly chain into deployment, but CI's purpose ends at building and testing each commit, not releasing to production.
- ✓
To build and test code changes automatically
Why this is correct
A CI pipeline automatically builds and tests each code change on commit, giving fast feedback on integration errors and regressions. This satisfies the stem's cloud native delivery scenario, where frequent small merges require automated verification rather than manual, release-time testing.
- ✗
To manage container images in a registry
Why it's wrong here
Registry management stores and versions built images; it neither compiles code nor runs automated tests on commits. It is tempting because CI pipelines push artefacts to a registry, but that is a downstream step, not the pipeline's primary purpose of integrating and validating code changes.
Go deeper
Related to this question
About these practice questions
Courseiva writes every KCNA question from scratch — 930 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This KCNA practice question is part of Courseiva's free CNCF certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the KCNA exam.