Courseiva
Container Orchestration →hardMultiple Choice

KCNA Container Orchestration Practice Question

You need to deploy an application that requires exactly one pod per cluster node for logging purposes. Which Kubernetes workload resource should you use?

⚠ Common exam trap

Candidates often confuse DaemonSet with Deployment, assuming a Deployment with replicas equal to the node count will achieve the same effect, but Deployments do not guarantee one pod per node and can schedule multiple pods on the same node or leave nodes empty.

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

✓

DaemonSet

A DaemonSet ensures that a copy of a pod runs on every node in the cluster, or on a subset of nodes if a node selector is used. This is the correct resource for deploying a logging agent that must be present on each node to collect logs from that node's containers and system components.

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 this is correct

    A DaemonSet ensures exactly one pod replica runs on every cluster node, satisfying the one-pod-per-node logging constraint. Unlike Deployments, which schedule arbitrary replica counts, DaemonSets automatically add pods to new nodes and remove them when nodes leave the cluster.

  • ✗

    Job

    Why it's wrong here

    A Job runs pods to completion for batch processing and does not schedule one pod per node, so it cannot provide continuous per-node logging. It tempts because Jobs are correct for finite tasks, but the stem needs a long-running agent on every node, which is a DaemonSet.

  • ✗

    StatefulSet

    Why it's wrong here

    A StatefulSet gives each pod a stable identity and persistent storage, but it does not schedule exactly one pod per node. It tempts because StatefulSets suit stateful workloads needing ordered identity, yet per-node coverage is the DaemonSet controller's scheduling behaviour.

  • ✗

    Deployment

    Why it's wrong here

    A Deployment manages replicated pods via a ReplicaSet and schedules them by availability, not one per node, so it cannot guarantee node coverage. It tempts because Deployments are the default for stateless workloads, yet the one-pod-per-node requirement calls for a DaemonSet.

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.