CGOA Related Practices Practice Question
What is the key difference between Configuration as Code and Infrastructure as Code in the context of GitOps?
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
✓
IaC defines the underlying resources, while Config as Code defines the application-level settings.
Infrastructure as Code focuses on the underlying environment (VMs, networks), while Configuration as Code focuses on the software services and their settings.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Configuration as Code is only for databases.
Why it's wrong here
Configuration as Code applies to any software service.
- ✗
Config as Code is always written in YAML.
Why it's wrong here
It can be in various formats, though YAML is common in Kubernetes.
- ✗
They are the same thing.
Why it's wrong here
They are distinct layers in the stack.
- ✓
IaC defines the underlying resources, while Config as Code defines the application-level settings.
Why this is correct
This is the standard distinction between infrastructure and configuration.
About these practice questions
This CGOA question is part of Courseiva's 325-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
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.