Study. uk . com
  1. Home
  2. All questions
  3. Question 426

CKA study material · question 426 of 1000

Why must batch work run as a Job rather than a Deployment?

  1. Deployments have no backoff limit
  2. A Deployment's Pod template may only use restartPolicy Always
  3. Deployments cannot mount volumes
  4. Deployments cannot set resource requests
Show the answer

Answer: B. A Deployment's Pod template may only use restartPolicy Always

Always is the only value a Deployment permits, whereas batch work needs OnFailure or Never.

Source: Pod Lifecycle (Kubernetes) — Restart behavior comparison

Challenge yourself on this topic → Study as cards