Courseiva
CGOA
Gitops PrinciplesmediumMultiple ChoiceObjective-mapped

CGOA Gitops Principles Practice Question

When defining a declarative desired state in Kubernetes, which attribute is essential to satisfy the 'declarative' principle?

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

A YAML manifest describing the final resource configuration.

The manifest should define the final state, not the steps taken to achieve it.

Answer analysis

Option-by-option breakdown

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

  • A shell script that executes 'kubectl apply'.

    Why it's wrong here

    Scripts are imperative, not declarative.

  • A webhook that triggers an update process.

    Why it's wrong here

    Webhooks are mechanisms, not the state definition itself.

  • A YAML manifest describing the final resource configuration.

    Why this is correct

    Declarative systems focus on the target state, represented by static configuration.

  • A manual 'kubectl edit' command.

    Why it's wrong here

    Manual edits violate the source of truth principle.

About these practice questions

One of 325 original CGOA practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed August 2026 · checked against the official CNCF / Linux Foundation exam blueprint

This CGOA practice question is part of Courseiva's free CNCF / Linux Foundation 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 CGOA exam.