Kubernetes and Cloud Native Associate (KCNA) — Question 53

A CronJob is scheduled to run by a user every one hour. What happens in the cluster when it's time for this CronJob to run?

Answer options

Correct answer: D

Explanation

The correct answer is D because the CronJob controller creates a Job, and then the Job controller is responsible for creating the Pod that executes the task. Options A and B are incorrect as they misattribute the actions to the Kubelet and Kube-scheduler, respectively, while option C incorrectly states that the CronJob controller creates a Pod directly without involving a Job.