Courseiva
Kubernetes Fundamentals →easyMultiple Choice

KCNA Kubernetes Fundamentals Practice Question

A platform engineer needs to run a one-time batch job that processes a dataset and then exits. The job must run exactly once and not be restarted if it completes successfully. Which Kubernetes resource should be used?

⚠ Common exam trap

It's easy for candidates to confuse a Job with a CronJob; a CronJob is for scheduled recurring tasks, not a single immediate execution.

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 Job is the correct resource for run-to-completion workloads. It creates Pods that are expected to terminate successfully, and it does not restart them after successful completion. Deployments, CronJobs, and DaemonSets are designed for different use cases: long-running services, scheduled tasks, and node-level agents, respectively.

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 ensures that a copy of a Pod runs on all (or some) nodes, typically for cluster-wide services like log collectors or node monitors. It does not support run-to-completion semantics and would keep restarting the Pod, which is inappropriate for a one-time batch job.

  • ✗

    CronJob

    Why it's wrong here

    A CronJob is used to run Jobs on a scheduled basis, such as daily or hourly. While it creates Jobs, it is not suitable for a single, immediate one-time execution because it requires a schedule and would trigger the job multiple times according to that schedule.

  • ✗

    Deployment

    Why it's wrong here

    A Deployment manages long-running, stateless applications and maintains a desired number of replicas. It is not intended for batch workloads that terminate; if a Pod exits, the Deployment's ReplicaSet will replace it, causing the job to run repeatedly instead of once.

  • ✓

    Job

    Why this is correct

    A Job creates one or more Pods and ensures that a specified number of them successfully terminate. It is designed for run-to-completion workloads. By default, it does not restart Pods after successful completion, making it ideal for a one-time batch process that must finish and exit.

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 →

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 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.