Interview CI/CD & GitOps

What recent CI/CD or GitOps practice have you adopted, and what improved?

CI/CD & GitOps · Advanced level

Answer

A recent CI/CD practice I would highlight is replacing long-lived deployment secrets with OIDC-based short-lived credentials and adding artifact signing/SBOM gates. It improves security by reducing static secret exposure and improves traceability from source commit to deployed artifact.

Technical explanation

The desired state should be declarative enough for an agent to converge without manual runbook steps.

Git history becomes the audit trail for who requested, reviewed, and approved an environment change.

GitOps separates build from deploy: CI produces immutable artifacts, while the GitOps controller reconciles declarative desired state into the cluster.

Argo CD status has two dimensions: sync status indicates desired versus live state; health status indicates whether live resources appear operationally healthy.

Use projects, RBAC, repository allowlists, destination restrictions, sync windows, and admission policies to constrain what an Application may deploy.

Prefer reviewed Git changes over direct kubectl changes; direct changes create drift and bypass audit, policy, and promotion workflow.

Hands-on example

1. Design an advanced delivery exercise for: What recent CI/CD or GitOps practice have you adopted, and what improved using one service, one Git repository, one artifact registry, and one Kubernetes environment.

2. Build once from a protected branch, generate test reports, SBOM, vulnerability scan results, provenance metadata, and a container image tagged by both semantic version and digest.

3. Sign the image or artifact, verify the signature in the deployment pipeline, and promote the same digest through dev, staging, and production without rebuilding.

4. Use progressive exposure where relevant: feature flag off by default, canary 5%, automated metric check for error rate and latency, then expand or rollback.

5. Record audit evidence: PR, approver, pipeline run, artifact digest, SBOM location, signature verification result, deployment event, and rollback or forward-fix decision.

Preparing for an interview?

Check how well your resume matches the role with our free resume checker— match score, ATS check, and the skills you're missing.

More CI/CD & GitOps interview questions

← All CI/CD & GitOps questions