Kubernetes and Cloud Native Associate (KCNA) — Question 56

What fields must exist in any Kubernetes object (e.g. YAML) file?

Answer options

Correct answer: A

Explanation

The correct answer is A, as every Kubernetes object must include apiVersion, kind, and metadata fields to define its version, type, and metadata information. Options B, C, and D are incorrect because they include either unnecessary fields or omit the required ones.