CK.I · CKAD practice question

A Job has completions: 6, parallelism: 2, and completionMode: Indexed. What environment variable does each Pod receive to identify its work index from 0 to 5?

Choose one answer
Check answer and explanation

Correct answer: JOB_COMPLETION_INDEX

Explanation

For an Indexed Job, Kubernetes injects JOB_COMPLETION_INDEX into each created Pod with its integer index in [0, completions - 1].

Common trap

For an Indexed Job, Kubernetes injects JOB_COMPLETION_INDEX into each created Pod with its integer index in [0, completions - 1].

Source: Original unofficial practice; not an official CKAD exam item
Checked against the cited text on 2026-11-30.

Report an error in this question