KCNA Cloud Native Architecture Practice Question
A startup is building a cloud-native application and wants to adopt a packaging format that bundles application code and its dependencies into a single immutable artifact that can run consistently across environments. Which technology BEST meets this requirement?
⚠ Common exam trap
A common mix-up: candidates confuse packaging with automation or storage; a script or repository may help build or store code, but only a container image bundles code and dependencies into a single immutable artifact.
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
✓
Container image
Container images are the standard cloud-native packaging format because they encapsulate the application and its dependencies in an immutable, portable unit. This eliminates environment drift and ensures that what is tested is what runs in production. Orchestrators like Kubernetes can then schedule these images consistently across clusters.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Configuration management script
Why it's wrong here
A configuration management script automates setup but does not bundle application code and dependencies into a single immutable artifact. It relies on the target environment's state and can produce different results if the environment drifts. This approach lacks the portability and consistency that a container image provides, and it is not a packaging format.
- ✗
Virtual machine snapshot
Why it's wrong here
A VM snapshot captures the state of an entire virtual machine, including the OS, but it is not a portable application packaging format. Snapshots are tied to a specific hypervisor and are not designed for consistent application deployment across environments. They are heavyweight and not immutable in the same way as container images, making them unsuitable for this requirement.
- ✗
Source code repository
Why it's wrong here
A source code repository stores code but not the runtime or dependencies required to run it. Building and running the application still depends on the environment, leading to inconsistencies. It does not provide an immutable artifact that can be deployed as-is. Therefore, it does not meet the requirement for consistent execution across environments.
- ✓
Container image
Why this is correct
A container image packages application code, runtime, libraries, and settings into a single immutable artifact. It runs consistently on any container runtime that supports the image format, such as Docker or containerd. This immutability ensures identical behavior from development to production, which is a core cloud-native practice for portability and reproducibility.
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.