CK.III · CKAD practice question
Which command shows detailed YAML or JSON output for a single Pod named web-0 in namespace default?
Check answer and explanation
Correct answer: kubectl get pod web-0 -n default -o yaml
Explanation
kubectl get -o yaml (or -o json) prints the full API object manifest.
Common trap
kubectl get -o yaml (or -o json) prints the full API object manifest.
Source: Original unofficial practice; not an official CKAD exam item
Checked against the cited text on 2026-11-30.