Which requirement of the GitOps principle declares that Desired State must be versioned?
Answer : B
One of the GitOps principles is Versioned and Immutable, which requires that the Desired State is stored in a system that maintains a complete version history. This allows for auditing, traceability, and rollback.
''The Desired State must be stored in a versioned, immutable system. The State Store must retain a complete version history so changes can be audited and previous states can be restored.''
Thus, the correct answer is B.
===========
Which GitOps tool has the option for a push-based reconciliation model?
Answer : A
Most GitOps tools (e.g., Flux) are pull-based only. However, ArgoCD supports both pull-based reconciliation (via continuous monitoring) and an optional push-based model, where changes can be triggered via webhooks or CI pipelines.
''ArgoCD supports both pull-based reconciliation, where the controller watches the repository, and an optional push-based reconciliation mode triggered by webhooks.''
Thus, the correct answer is A: ArgoCD.
Which of the following statements accurately describes the role of GitOps in progressive delivery?
Answer : B
Progressive delivery is a GitOps pattern that incrementally rolls out application updates, using methods like canary releases, feature flags, and blue-green deployments. GitOps enhances this by ensuring the rollout is automated and declaratively managed through Git, removing the need for manual traffic switching.
''GitOps enables progressive delivery by declaratively managing rollout strategies such as canary or blue-green deployments. These strategies are applied automatically by controllers, without requiring manual traffic switching.''
Thus, the correct answer is B.
In the context of GitOps, what does Continuous mean?
Answer : C
One of the four core GitOps principles is that the system must be Continuously Reconciled. This means reconciliation is not a one-time or on-demand process but happens constantly in the background, ensuring the actual system state remains aligned with the declared desired state.
''GitOps requires that reconciliation is continuous. Software agents continuously compare actual state against desired state and automatically reconcile differences.''
Thus, the correct answer is C.
===========
What does Pulled Automatically refer to?
Answer : D
The Pulled Automatically GitOps principle refers to the way software agents continuously access the Desired State stored in the State Store (e.g., Git). Agents automatically pull the state from the repository and reconcile the system accordingly.
''Software agents automatically pull the desired state declarations from the source of truth (State Store) and continuously reconcile the system to match.''
Thus, the correct answer is D.
===========
Which of these is an advantage of using a declarative configuration for your Desired State?
Answer : B
Declarative configuration describes what the system should look like, not how to achieve it. This enables the use of standard reconciliation tools (like ArgoCD or Flux) to manage the system automatically, removing the burden of writing and maintaining imperative scripts.
''Declarative configuration enables systems to be managed by generic reconciliation tools rather than bespoke scripts, reducing operational overhead and increasing reliability.''
Thus, the correct answer is B.
===========
Why is the feedback loop important for reconciliation?
Answer : A
The feedback loop is critical in GitOps reconciliation. It continuously monitors the system's actual state and compares it to the desired state. This loop determines when reconciliation is required and whether a full or partial synchronization is necessary.
''The feedback loop in reconciliation continuously observes the actual state. It determines if reconciliation is required, and informs whether to perform a partial or full sync to align with the declared desired state.''
Thus, the correct answer is A.