exam questions

Exam KCNA All Questions

View all questions & answers for the KCNA exam

Exam KCNA topic 1 question 3 discussion

Actual exam question from Linux Foundation's KCNA
Question #: 3
Topic #: 1
[All KCNA Questions]

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?

  • A. Kubelet watches API Server for CronJob objects. When it's time for a Job to run, it runs the Pod directly.
  • B. Kube-scheduler watches API Server for CronJob objects, and this is why it's called kube-scheduler.
  • C. CronJob controller component creates a Pod and waits until it finishes to run.
  • D. CronJob controller component creates a Job. Then the Job controller creates a Pod and waits until it finishes to run.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Saireddybonthu
2 months, 3 weeks ago
CronJob Controller: The CronJob controller is responsible for managing CronJobs. It schedules Jobs based on the CronJob's schedule (e.g., every hour). Job Creation: When it's time for a CronJob to run, the CronJob controller creates a Job resource. This Job represents the workload that needs to be executed. Job Controller: Once the Job is created, the Job controller is responsible for managing this Job. It ensures that the Pods specified by the Job are created and completed successfully. Pod Execution: The Job controller creates one or more Pods based on the Job specification. These Pods execute the tasks defined by the Job. The Job controller waits until the Pod(s) complete their execution.
upvoted 2 times
...
JBangura
8 months, 2 weeks ago
Selected Answer: D
Correct Answer: D
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...