Kubernetes and Cloud Native Associate (KCNA) — Question 107
What is the Kubernetes object used for running a recurring workload?
Answer options
- A. Job
- B. Batch
- C. DaemonSet
- D. CronJob
Correct answer: D
Explanation
The correct answer is D, CronJob, which is specifically designed to run jobs on a scheduled basis. While A, Job, is used for one-time tasks, B, Batch, is not a Kubernetes object, and C, DaemonSet, is used to run a copy of a pod on all nodes rather than for scheduling recurring tasks.