Courseiva

CKAD Practice Question: Application Environment, Configuration and Security

Which API version is correct for a Deployment in Kubernetes v1.29?

⚠ Common exam trap

Test-takers frequently confuse the core v1 API group (used for Pods) with the apps/v1 group (used for Deployments), or mistakenly think that beta versions like apps/v1beta2 are still valid in recent Kubernetes releases.

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

✓

apps/v1

(apps/v1) is correct because the Deployment API version apps/v1 has been the stable version since Kubernetes v1.9, and it is the only correct version for creating Deployments in Kubernetes v1.29. The apps/v1 API group is the current, stable, and recommended version for managing Deployments, ReplicaSets, and other workload resources.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    extensions/v1beta1

    Why it's wrong here

    The extensions/v1beta1 API group predates the dedicated apps group and held Deployment objects before apps/v1 existed. It was deprecated as part of the Kubernetes deprecation policy and was no longer served starting in version 1.16, so any manifest written against it is rejected by current clusters. The only supported, stable alternative is apps/v1.

  • ✗

    v1

    Why it's wrong here

    The bare v1 apiVersion corresponds to the core API group, which only contains fundamental cluster resources like Pods, Services, ConfigMaps, and Secrets. A Deployment is defined under the apps API group, not the core group, so apiVersion: v1 combined with kind: Deployment is invalid and the API server returns a no-match error. You must specify apps/v1 to address the correct endpoint.

  • ✗

    apps/v1beta2

    Why it's wrong here

    The apps/v1beta2 version was an intermediate beta release inside the apps group that existed while Deployment and related APIs were still maturing. After apps/v1 reached general availability, this beta version was deprecated and, like other pre-GA versions, was removed from service in Kubernetes 1.16. Using a removed version is unsupported and breaks cluster compatibility, so apps/v1 is the required choice.

  • ✓

    apps/v1

    Why this is correct

    The apps/v1 version is the stable, general-availability API for Deployment and other workload resources. It has been the standard since Kubernetes 1.9 and is fully supported by all modern clusters, containing the complete set of stable fields and behaviors. kubectl and other tooling default to this version, making it the correct and safest apiVersion for Deployment manifests.

About these practice questions

Courseiva writes every CKAD question from scratch — 826 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 →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This CKAD 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 CKAD exam.