Certified GitOps Associate (CGOA) Practice Questions

Certified GitOps Associate (CGOA) exam preparation

Certified GitOps Associate (CGOA) practice questions in English: 180 questions with explanations. The mock exam has 60 questions and 90 minutes.

Certified GitOps Associate (CGOA) free question 3 / 10 · Domain 2: GitOps Principles

Which statement is how the Flux core concepts page describes GitOps?

  1. Managing infrastructure by editing the live system and recording the commands in a version-controlled log file
  2. Managing infrastructure and applications with a pipeline that runs a deployment script after a merge to the main branch of the repository
  3. Managing the whole system declaratively under version control, with an automated process that keeps the deployed environment matching Git
  4. Managing applications with a template that is filled in by hand for the environments before a release is made
Show the answer and explanation

Answer: C

Why this is correct
The GitOps section of the core concepts says GitOps is a way of managing your infrastructure and applications so that the whole system is described declaratively and version controlled. It adds an automated process that ensures that the deployed environment matches the state specified in one or more Git repositories. Three ideas are packed in: a declarative description, version control, and automation that closes the gap.

Why the other options are wrong
"Managing infrastructure and applications with a pipeline that runs a deployment script after a merge to the main branch of the repository" … A merge-triggered script is a pipeline, and it is not how the page describes GitOps. The page speaks of a declarative description and an automated process that ensures a match.
"Managing infrastructure by editing the live system and recording the commands in a version-controlled log file" … Recording commands is a log of imperative actions. The page puts a declarative description under version control.
"Managing applications with a template that is filled in by hand for the environments before a release is made" … Filling in templates by hand is not described. The page points to an automated process that ensures the environment matches the repositories.

Key points
GitOps is a way of managing your infrastructure and applications so that the whole system is described declaratively and version controlled.

Go to the Certified GitOps Associate (CGOA) practice app (10 free questions; purchase unlocks all questions)

See the full practice set