Question 4
Application DeliveryWhich core principle differentiates GitOps from general Infrastructure as Code (IaC)?
Correct answer: C
Explanation
GitOps centers on "using Git as the source of truth," meaning desired system state is stored and managed in Git and changes are applied from there. General Infrastructure as Code can use other tools or repositories, but GitOps specifically makes Git the authoritative record for configuration and deployment.
Why each option is right or wrong
A. Using code for infra config
B. Automating infrastructure tests
C. Using Git as the source of truth
GitOps is defined by treating the Git repository as the authoritative desired-state store, with deployments reconciled from commits rather than from a separate control plane or ad hoc operator action. In the standard GitOps model, every change must be committed to Git first, and the runtime is continuously compared against that repository state; that Git-centric reconciliation loop is what distinguishes it from broader IaC practices, which may simply describe and provision infrastructure without making Git the sole source of truth.
D. Manual deployment approval