Skip to content

CI/CD Integration: CGOA practice questions

CI/CD integration is about where a classic build pipeline ends and the GitOps agent takes over. In a push-based setup the CI system builds an artifact and then deploys it, which means the pipeline holds credentials for every environment it deploys to.

By Ibrahim Yesilay · Published · Updated

Independent community practice, not affiliated with or endorsed by CNCF or The Linux Foundation.

What CI/CD Integration covers in CGOA

CI/CD integration is about where a classic build pipeline ends and the GitOps agent takes over. In a push-based setup the CI system builds an artifact and then deploys it, which means the pipeline holds credentials for every environment it deploys to. In a GitOps setup the pipeline still builds and tests, but its last step is to record the new desired state in the configuration repository; an agent that pulls from that repository applies it.

The hand-off usually happens through an image reference. CI builds a container image, pushes it to a registry, and updates the tag or digest in the manifests. Flux can automate that step itself: an ImageRepository tells Flux which registry to scan for new tags, an ImagePolicy selects which tag to use (for example within a semver range), a marker comment in the manifest names the policy that controls a field, and an ImageUpdateAutomation commits the new tag back to Git. The change then flows through the same reconciliation path as any other commit.

Argo CD's best practices explain why the configuration usually lives in a separate repository from the application source. Separation keeps application code cleanly apart from application config. It separates access, because people who may commit code are not automatically allowed to change production. It produces a cleaner audit log without the noise of everyday development commits. And it avoids an infinite loop of builds that can occur when a pipeline commits manifest changes into the same repository that triggers it.

Promotion between environments follows from this. The same artifact, identified by tag or digest, moves from development to staging to production as validated configuration changes in the repository, typically by pull request, so each promotion is reviewed and recorded. Argo CD also recommends that manifests refer to a Git tag or commit SHA rather than a moving HEAD when they pull in remote bases, so a deployed revision does not change meaning underneath you.

Rollback in this model is a change to the desired state. Argo CD can roll back to any application configuration committed to Git, but its documentation notes that rollback cannot be performed on an application with automated sync enabled; with automation on, you revert in Git and let the agent reconcile. Reverting the commit keeps the history intact, so the audit trail records both the change and its undoing.

Feedback closes the loop. Argo CD's CLI is built for automation and CI integration, and Flux's notification controller can report reconciliation events back to chat tools and receive webhooks from GitHub, GitLab or Jenkins to trigger an early fetch.

Key points

  • In GitOps, CI builds and tests and then updates the configuration repository; the agent pulls and applies the change.
  • Flux image automation uses ImageRepository, ImagePolicy, a marker comment and ImageUpdateAutomation to commit new tags to Git.
  • Argo CD recommends a separate config repository for clean separation, separate access, a cleaner audit log and to avoid build loops.
  • Argo CD cannot perform a rollback on an application with automated sync enabled; revert in Git instead.

Three sample questions

9 CGOA questions on CI/CD Integration, 9 with explanations. How practice works

Question 1

What is the primary benefit of using pull requests in GitOps?
  1. A.Code review, validation, and controlled deployment with comprehensive change approval and quality assurance processes
  2. B.Faster development cycles with accelerated deployment and reduced development overhead for rapid iteration
  3. C.Automated testing with integrated validation and streamlined quality control for continuous deployment workflows
  4. D.Repository synchronization with coordinated updates and unified version management for distributed development teams

Correct answer: A

Pull requests provide a mechanism for peer review, automated testing, policy validation, and controlled integration of changes before they affect production environments.

Question 2

How does Git blame contribute to GitOps troubleshooting?
  1. A.Identifies who made specific changes and when for effective troubleshooting and accountability in deployment issues
  2. B.Automatically fixes configuration errors with intelligent correction and self-healing deployment mechanisms for system recovery
  3. C.Optimizes repository performance with enhanced processing speed and improved resource utilization for large-scale operations
  4. D.Provides deployment statistics with comprehensive metrics and performance analytics for operational monitoring and optimization

Correct answer: A

Git blame shows line-by-line authorship and timing of changes, which is invaluable for understanding the history of configuration issues and knowing who to contact for context about specific changes.

Question 3

What is the key difference between traditional CI/CD and GitOps?
  1. A.GitOps uses a pull-based deployment model with Git as the single source of truth for declarative infrastructure and application state
  2. B.Traditional CI/CD with push-based deployment and centralized control for rapid development and streamlined release management
  3. C.Manual deployment processes with human oversight and controlled release cycles for enterprise governance and compliance requirements
  4. D.Container-based deployment with orchestrated releases and automated scaling for modern application delivery and cloud-native operations

Correct answer: A

Traditional CI/CD often uses push-based deployment where the CI system deploys directly to environments. GitOps uses a pull-based model where deployment agents pull changes from Git repositories.

Practice this topic

Focus mode keeps every question on CI/CD Integration until you leave it. 10 free guest answers, then a free account; no credit card.

Or open CGOA practice across all topics.

Sources

The explanation above was checked against these official documents.