Interview CI/CD & GitOps

What is the difference between deployment and release?

CI/CD & GitOps · Advanced level

Answer

Deployment means putting a version of software into an environment. Release means exposing functionality to users or business traffic. With feature flags, canaries, and traffic controls, a team can deploy code without releasing it broadly.

Technical explanation

Safe release design assumes rollback may be needed and separates code deployment, data changes, and user exposure.

Compatibility windows and observability are mandatory when application and database versions overlap.

A secure pipeline protects source, build environment, dependencies, artifacts, deployment credentials, and runtime promotion gates as one chain.

Immutable artifacts, SBOMs, signatures, provenance, vulnerability gates, and environment promotion reduce ambiguity about what was built and deployed.

CI runners are high-value targets; isolate untrusted jobs, patch runner images, remove persistent credentials, and prefer ephemeral execution where possible.

Release safety depends on both automation and observability: use canaries, feature flags, rollback plans, and automated metric-based decisions.

Hands-on example

1. Design an advanced delivery exercise for: What is the difference between deployment and release using one service, one Git repository, one artifact registry, and one Kubernetes environment.

2. Add a feature flag with default disabled, enable it for internal users, then for 1% of traffic or one region, and watch error rate, latency, and business metrics.

3. Rollback by disabling the flag first; only redeploy if the underlying code or infrastructure is unhealthy.

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