CGOA practice question 6 of 15
Which of these is an advantage of using a declarative configuration for your Desired State?
Full set: 60 questionsDeclarative configuration stores the intended end-state in version-controlled files, while generic controllers or reconciliation tools (e.g., Kubernetes controllers, Flux, Argo CD, Terraform) continually compare that declared state to the live system and converge the two. Because those reconcilers are maintained and battle-tested by large communities, teams avoid writing and debugging bespoke imperative scripts for every change, which lowers operational effort and risk—a key advantage highlighted in both Kubernetes object-management guidance and CNCF GitOps principles.
A. Declarative files are applied by external reconcilers, not “executed locally” for efficiency.
C. Declarative models avoid step-by-step procedural logic; dynamic scripting is an imperative trait.
D. Complex conditional code contradicts declarative philosophy; logic resides in controllers, not user configs.
1. Kubernetes Documentation: “Declarative object management” – Advantages section, para 2 (https://kubernetes.io/docs/concepts/overview/object-management-kubectl/overview/#declarative-configuration).
2. CNCF GitOps Working Group, “GitOps Principles” v1.0, Principle 1 (Declarative) & Principle 3 (Automatically applied), pp. 2-3.
3. HashiCorp Terraform Docs, “Why Terraform?” – Declarative Approach section, para 1-2 (docs for OSS tool in CF landscape).
4. University of Maryland CMSC848E Lecture Notes, “Infrastructure as Code & GitOps,” slides 8-10 (Spring 2022).
Keep practicing
Take the free CGOA practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other CGOA practice questions
- Question 1When are progressive delivery patterns useful in software development and deployment?
- Question 2You are deploying a new version of your application using the Blue-Green deployment patte…
- Question 3Which method(s) of accessing the Desired State store does GitOps support?
- Question 4In GitOps, how is the Desired State stored?
- Question 5In a GitOps-managed workflow, what is the correct way to initiate rollback?
- Question 7You are packaging a complex application to deploy to multiple Kubernetes clusters using G…
