Courseiva
Container Orchestration →easyMultiple Choice

KCNA Container Orchestration Practice Question

Which Kubernetes resource is used to run a batch job that runs to completion?

⚠ Common exam trap

Many candidates confuse a Job with a Deployment because both can run Pods, but a Deployment is designed for long-running services with continuous availability, while a Job is the only controller that tracks and terminates upon successful completion.

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

✓

Job

A Kubernetes Job is specifically designed to run a finite task to completion, creating one or more Pods and ensuring they successfully terminate. Unlike controllers that maintain a desired state of running Pods, a Job tracks the number of successful completions and stops when the specified parallelism or completions count is reached.

Answer analysis

Option-by-option breakdown

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

  • ✗

    DaemonSet

    Why it's wrong here

    A DaemonSet schedules one pod per node to provide node-level services, and those pods run indefinitely rather than finishing. It is tempting because it guarantees coverage across nodes, and would be correct for log shippers, monitoring agents or CNI plugins.

  • ✗

    StatefulSet

    Why it's wrong here

    A StatefulSet provides stable network identities and persistent storage for stateful pods, but its pods also run continuously rather than terminating on completion. It is tempting because it runs multiple replicas, and would be correct for databases or clustered stateful applications.

  • ✓

    Job

    Why this is correct

    A Job creates pods that run until successful completion, tracking completions and retrying failures. Unlike a Deployment, which maintains a continuously running replica set, a Job suits finite batch workloads that must terminate once their task finishes.

  • ✗

    Deployment

    Why it's wrong here

    A Deployment manages long-running stateless pods and restarts them indefinitely, so it never reaches a completed state. It is tempting because it reliably runs containers, and would be correct for a continuously available web service rather than a finite batch workload.

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 →

How Courseiva writes practice questions · Editorial policy

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.