Courseiva
Deployment →easyMultiple Choice

CV0-004 Deployment Practice Question

A cloud administrator needs to deploy a new version of an application to a Kubernetes cluster. The administrator wants to update the application without downtime and ensure that if the new version fails, the deployment automatically rolls back to the previous version. Which Kubernetes resource should the administrator use?

⚠ Common exam trap

The trap here is assuming that any workload controller can handle rolling updates and rollbacks, but only Deployments are specifically designed for stateless application version management with automatic rollback.

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

✓

Deployment

A Kubernetes Deployment is the correct resource because it provides declarative updates for pods and ReplicaSets, enabling rolling updates and automatic rollbacks. It ensures that the application remains available during updates and reverts to the previous version if the new version fails. Other resources are designed for different use cases and do not offer these capabilities.

Answer analysis

Option-by-option breakdown

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

  • ✓

    Deployment

    Why this is correct

    A Kubernetes Deployment manages the rollout of new versions by creating a ReplicaSet and gradually replacing pods. It supports rolling updates and automatic rollback if the new version fails health checks, ensuring zero downtime and safe deployment, which matches the administrator's requirements.

  • ✗

    StatefulSet

    Why it's wrong here

    StatefulSet is designed for stateful applications that require stable network identities and persistent storage. It does not provide automatic rollback on failure by default and is not optimized for stateless application updates, making it unsuitable for this scenario.

  • ✗

    DaemonSet

    Why it's wrong here

    DaemonSet ensures that a copy of a pod runs on all or some nodes, typically for system daemons like log collectors. It is not used for deploying application versions with rolling updates and rollback capabilities, so it does not meet the requirement.

  • ✗

    Job

    Why it's wrong here

    A Job runs a pod to completion for batch tasks. It does not manage long-running applications, nor does it support rolling updates or rollbacks. Using a Job for application deployment would not provide the desired zero-downtime update and automatic rollback features.

About these practice questions

Courseiva writes every CV0-004 question from scratch — 834 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 and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official CompTIA exam blueprint

This CV0-004 practice question is part of Courseiva's free CompTIA 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 CV0-004 exam.