Linux Foundation Certified GitOps Associate CGOA Exam Questions

Page: 1 / 14
Total 60 questions
Question 1

In the context of GitOps, what source of truth guides the continuous deployment process?



Answer : A

The Desired State, stored in Git, is the ultimate source of truth in GitOps. It defines how the system should look and behave. Continuous deployment processes reconcile the actual cluster state against this Desired State.

''In GitOps, the desired state kept in Git is the single source of truth. The reconciler ensures the actual state matches the desired state, guiding the continuous deployment process.''

Thus, the correct answer is A.


===========

Question 2

In the context of GitOps, what is the purpose of a State Store?



Answer : D

A State Store in GitOps is the system of record where Desired State declarations are kept. It must be immutable and versioned to ensure full auditability, traceability, and rollback capabilities. Git itself is the most common State Store.

''The Desired State must be stored in a State Store that is versioned and immutable. This guarantees traceability and enables recovery by reverting to previous commits.''

Thus, the correct answer is D.


===========

Question 3

What is one of the key benefits of a pull-based reconciliation approach to configuration management?



Answer : B

In GitOps, the pull-based reconciliation approach means that agents continuously monitor the Desired State in Git. Unlike push-based systems, which only act when triggered, pull-based systems can reconcile at any time, providing resilience, self-healing, and security (since no external system needs direct access to the cluster).

''In a pull-based model, reconciliation agents continuously fetch and compare the desired state, enabling self-healing and ensuring the desired configuration is accessible at all times.''

Thus, the correct answer is B.


Question 4

In the context of GitOps, what happens to a GitOps-managed Kubernetes cluster if there is drift divergence?



Answer : B

A GitOps-managed Kubernetes cluster uses reconciliation loops to continuously compare the actual state of the system with the desired state declared in Git. When drift (divergence between declared configuration and live cluster state) is detected, the GitOps operator automatically reconciles the difference to bring the system back into alignment.

''In GitOps, a reconciliation loop ensures that the desired state as declared in Git is continuously compared with the observed state of the system. If drift is detected, the system automatically takes corrective action to reconcile the difference and restore the declared configuration.''

This ensures consistency, reliability, and self-healing. Manual intervention is not required for drift correction, as the automated reconciliation is a core principle of GitOps.


Question 5

Would you implement DevSecOps culture in CI/CD pipelines?



Answer : D

DevSecOps integrates security into the DevOps culture and CI/CD pipelines. Instead of treating security as an afterthought, DevSecOps ensures security checks, policies, and automated validations are embedded throughout the CI/CD process.

''DevSecOps emphasizes shifting security left, integrating security testing, validation, and compliance into every stage of the CI/CD pipeline. This ensures vulnerabilities are detected early and software is delivered securely.''

Thus, D is correct: DevSecOps culture is essential for CI/CD pipelines to ensure security is baked into software delivery.


===========

Question 6

When using Kustomize, how are resources, configurations, and customizations commonly organized?



Answer : D

Kustomize is a GitOps tool for managing Kubernetes configurations declaratively. It uses a folder structure with configuration files and a kustomization.yaml file that references resources and overlays. This enables customization without modifying the base manifests.

''Kustomize allows customization of Kubernetes manifests by organizing resources in directories and referencing them through file paths in a kustomization file. This directory-based approach supports overlays, reusability, and modular configuration.''

Thus, the correct answer is D.


===========

Question 7

You want to route alerts from Prometheus to Slack in your GitOps workflow. Which tool can you use to achieve this?



Answer : A

Prometheus is commonly used in GitOps for monitoring. Alertmanager is the tool integrated with Prometheus to handle alert routing. It supports sending alerts to external systems such as Slack, PagerDuty, or email.

''Prometheus generates alerts, which are routed and managed by Alertmanager. Alertmanager can integrate with messaging tools like Slack to deliver alerts in real time.''

Thus, the correct answer is A: Alertmanager.


===========

Page:    1 / 14   
Total 60 questions