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 5 / 10 · Domain 3: Related Practices

An engineer applies Deployment manifests to a cluster straight from files on a laptop. What does the Kubernetes Configuration Good Practices page advise instead, and what does that make possible?

  1. Convert the manifests to JSON files, which are easier to compare in a review and so easier to roll back
  2. Keep the manifests on the laptop and apply a whole directory together, which lets the whole cluster be recreated
  3. Keep the manifests in version control such as Git, so that a change can be rolled back to an earlier commit
  4. Create the Pods on their own and skip the Deployment, so that a failed one can be replaced by hand
Show the answer and explanation

Answer: C

Why this is correct
The Store configuration in version control practice says to never apply manifest files directly from your desktop and to always keep them in a version control system like Git, described as a safety net. If something breaks, you can instantly roll back to a previous commit, compare changes, or recreate your cluster setup. This is the configuration as code idea in its simplest form: the files that describe the cluster live in a repository, and the cluster is built from them.

Why the other options are wrong
"Keep the manifests on the laptop and apply a whole directory together, which lets the whole cluster be recreated" … Applying a whole directory is listed as a kubectl tip for grouping files. The safety net the page names is version control.
"Convert the manifests to JSON files, which are easier to compare in a review and so easier to roll back" … The page tells the reader to write YAML rather than JSON because YAML is easier for humans. It gives no rollback reason for the format.
"Create the Pods on their own and skip the Deployment, so that a failed one can be replaced by hand" … The page calls Pods that no controller manages risky, and says a Deployment lets you roll back instantly.

Key points
Keep manifests in version control such as Git, so you can roll back to a previous commit, compare changes or recreate the cluster setup.

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

See the full practice set