Courseiva
Container Orchestration →mediumMultiple Choice

KCNA Container Orchestration Practice Question

Which Kubernetes resource is best suited for running a batch processing job that must complete successfully exactly once?

⚠ Common exam trap

CNCF often tests the distinction between one-time batch processing (Job) and recurring scheduled tasks (CronJob), so candidates mistakenly choose CronJob when the question specifies 'exactly once' rather than 'on a schedule'.

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 designed specifically for batch processing tasks that need to run to completion exactly once. It creates one or more Pods and ensures that a specified number of them successfully terminate, making it ideal for workloads like data processing or backups that must finish without retries or restarts.

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

    DaemonSet runs a pod on each node.

  • ✗

    Deployment

    Why it's wrong here

    Deployment is for long-running stateless applications.

  • ✗

    CronJob

    Why it's wrong here

    CronJob is for scheduled jobs, not for one-time execution.

  • ✓

    Job

    Why this is correct

    A Job creates one or more pods and tracks successful completions, restarting pods only until the required count succeeds. This directly satisfies the stem's "complete successfully exactly once" constraint, unlike a Deployment or ReplicaSet, which maintain continuous availability rather than terminating after completion.

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