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

CKA study material · question 651 of 1000

A batch job splits a fixed dataset into numbered shards, and each Pod must know which shard it owns. Which Job setting supports that?

  1. completionMode: Indexed
  2. completionMode: NonIndexed with parallelism set
  3. backoffLimitPerIndex without completions
  4. suspend: true until the shards are assigned
Show the answer

Answer: A. completionMode: Indexed

An Indexed Job gives each Pod a completion index from 0 to completions minus one, which is exactly the static work assignment this needs. NonIndexed only counts successes.

Source: Jobs (Kubernetes) — Writing a Job spec › Completion mode

Challenge yourself on this topic → Study as cards