CertLumen

Certified Kubernetes Application Developer (CKAD) · Section 1 · 20% of the exam

Choose and use the right workload resource (Deployment, DaemonSet, CronJob, etc.)

One of the objectives of the Certified Kubernetes Application Developer (CKAD) exam, in the section “Application Design and Build”. Here is what it covers, the points to remember and a question to try.

What it covers

Kubernetes has a controller for each workload shape. This lesson compares Pods, ReplicaSets, Deployments, StatefulSets, DaemonSets, Jobs and CronJobs, shows the fastest imperative commands for each, and covers the fields that decide behaviour such as completions, backoffLimit and concurrencyPolicy.

Points to remember

  • Deployment for stateless apps, StatefulSet for stable identity and storage, DaemonSet for one Pod per node, Job for run-to-completion, CronJob for schedules.
  • A Deployment owns ReplicaSets; its selector is immutable; default rolling update is 25% surge and 25% unavailable.
  • StatefulSet Pods are name-0..N, created in order by default, and need a headless Service via serviceName.
  • StatefulSet PVCs from volumeClaimTemplates survive scale-down and deletion unless a retention policy says Delete.
  • DaemonSets have no replicas; add tolerations to run on tainted control plane nodes.

Try a question

A platform team must run a log-collection agent on every node, including new nodes added later. Which workload resource fits best?

  1. ADeployment with replicas equal to the node count
  2. BStatefulSet with podManagementPolicy: Parallel
  3. CCronJob that runs every minute
  4. DDaemonSet
Show the answer

D. A DaemonSet keeps one Pod on each matching node and adds or removes Pods as nodes join or leave. A Deployment's replica count would have to be maintained by hand and does not guarantee one Pod per node.

Written for practice in the style of the exam: never a question from the real exam.

In the course

The lesson Choosing the Right Workload Resource teaches this objective (about 45 minutes), and 14 practice questions test it. The course has lessons, exam-style questions, timed practice exams and an AI tutor for every objective, and a pass prediction that tells you when you're ready to book.

More in this section

← Previous objective · All 24 objectives · Next objective →