KCNA Cloud Native Application Delivery Practice Question
A container image is being pushed to a private registry. What is the correct workflow?
⚠ Common exam trap
The trap is a simple ordering question where candidates overthink and pick 'push, tag, build' or 'tag after push' — the exam tests whether you know that an image must exist and be tagged before it can be pushed.
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
✓
Build, tag, push
The correct container image workflow is build the image from a Dockerfile, tag it with a meaningful name (including registry host, repository, and tag), then push it to the registry. Tagging before pushing is required because the push command references the tagged image name. This sequence ensures the registry receives an image with the intended identifier.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Push first, then build
Why it's wrong here
Building must precede pushing, since a registry stores an already-created image; pushing first has nothing to upload. It is tempting because push and build both appear in the workflow, but building first is correct when you need a local image before tagging and pushing it.
- ✗
Push, tag, build
Why it's wrong here
Tagging and pushing both require a built image, so this order cannot execute. It is tempting because all three verbs belong to the workflow, but the correct sequence is build, tag, then push, which applies whenever you publish a versioned image to a registry.
- ✓
Build, tag, push
Why this is correct
The image must first be built locally, then tagged with the private registry's repository path and version, then pushed. Tagging before pushing ensures the registry stores the image under the correct name, satisfying the private registry workflow requirement.
- ✗
Tag after push
Why it's wrong here
Tagging after push leaves the registry holding an untagged or wrongly tagged image, since the tag is what identifies the pushed manifest. It is tempting because tags can be added later, but tagging before push is correct when you want the registry to store the image under a meaningful version label.
Go deeper
Related to this question
About these practice questions
This KCNA question is part of Courseiva's 930-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official CNCF exam blueprint
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.