Interview Prep/Real-World Interview/CI/CD pipeline deep-dive

Walk me through your CI/CD pipeline stage by stage.

BeginnerBehavioralCI/CD pipeline deep-dive
Answer

Good answer looks like → Name each stage, what it does, how long it takes, and what stops the pipeline. "Lint and unit tests (2 min) → build image with BuildKit (3 min) → Trivy scan, fail on fixable CRITICAL (40 s) → push to ECR by SHA → deploy to staging via GitOps → smoke tests (1 min) → manual approval → production canary 10% for 10 minutes → full rollout."

Follow-ups to expect → Which stage fails most? How do you stop a bad build reaching production? Where do integration tests run?

Red flags → Describing a generic pipeline from a tutorial with no timings or gates.

All Real-World Interview questions Roadmap: Interview readiness

More on CI/CD pipeline deep-dive