KCNA Kubernetes Fundamentals Practice Question
Which of the following is a correct apiVersion for a Deployment in a modern Kubernetes cluster (v1.19+)?
⚠ Common exam trap
Many candidates confuse the core `v1` API group (used for Pods) with the `apps/v1` group required for Deployments, or mistakenly think that beta versions like `apps/v1beta1` are still valid in modern clusters.
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
✓
apiVersion: apps/v1
`apps/v1` is the stable API version for Deployments in Kubernetes v1.19+, replacing the deprecated `extensions/v1beta1` and `apps/v1beta1` versions. The `apps/v1` API group provides the full set of features for Deployments, including rolling updates, rollbacks, and scaling, and is required for production clusters running v1.19 or later.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
apiVersion: extensions/v1beta1
Why it's wrong here
extensions/v1beta1 was removed from Kubernetes, so a Deployment manifest using it fails on v1.19+ clusters. It is tempting because Deployments were originally served there. extensions/v1beta1 suits only legacy clusters before the workload moved to the apps group.
- ✗
apiVersion: v1
Why it's wrong here
Deployments moved out of the core v1 group, so apiVersion: v1 is rejected for a Deployment manifest. It is tempting because v1 remains valid for Pods, Services and ConfigMaps. Use v1 when defining those core resources, not workloads managed by controllers.
- ✓
apiVersion: apps/v1
Why this is correct
apps/v1 is the correct apiVersion for Deployments from Kubernetes v1.9 onward, satisfying the stem's v1.19+ constraint. The older extensions/v1beta1 and apps/v1beta1 versions were removed, so manifests using them are rejected by the API server in modern clusters.
- ✗
apiVersion: apps/v1beta1
Why it's wrong here
apps/v1beta1 was removed from Kubernetes, so clusters at v1.19+ reject a Deployment manifest using it. It is tempting because it was once the Deployment group. apps/v1 is the served version; v1beta1 would suit only clusters predating the apps/v1 graduation.
Go deeper
Related to this question
About these practice questions
One of 930 original KCNA practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.