Courseiva
Automation, Orchestration, and ScriptinghardMultiple SelectObjective-mapped

XK0-006 Required Fields for Deployment Manifest Practice Question

A Kubernetes administrator is creating a YAML manifest for a Deployment. Which three fields are required in a valid Deployment specification? (Choose three.)

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

apiVersion

A valid Kubernetes Deployment manifest actually requires four top-level fields: apiVersion, kind, metadata, and spec. The current explanation incorrectly states that only three fields are required and that metadata is not one of them. The correct required fields are all of A, B, C, and E.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • apiVersion

    Why this is correct

    Correct: apiVersion is required to specify the API version.

  • spec

    Why this is correct

    Correct: spec defines the desired state and is mandatory for a Deployment.

  • kind

    Why this is correct

    Correct: kind specifies the resource type (Deployment).

  • status

    Why it's wrong here

    Incorrect: status is automatically generated and not part of the input manifest.

  • metadata

    Why this is correct

    Incorrect: While metadata is technically required, the question focuses on the three fields essential to a Deployment specification, which includes spec instead of metadata.

About these practice questions

Courseiva writes every XK0-006 question from scratch — 979 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This XK0-006 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the XK0-006 exam.