CI/CD interview questions
100 Cloud & DevOps practice questions. Read what a strong answer covers, then practise it out loud against the clock.
Practise CI/CD questionsBeginner
- A deployment just broke production
- A secret appeared in pipeline logs
- Adding approval before production deployments
- Artefact repositories
- Build broke without any code change
- Build once, deploy many
- Caching in CI pipelines
- CI runners and agents
- Common CI/CD tools
- Common deployment strategies
- Continuous delivery vs continuous deployment
- Deployments are done manually by one person
- Different configuration per environment
- DORA metrics for delivery performance
- Environments in a delivery pipeline
- Feature flags in continuous delivery
- Flaky tests in the pipeline
- Handling secrets in CI/CD
- Main branch keeps getting broken
- Pipeline does not start after editing the workflow file
- Pipeline fails but works on your machine
- Pipeline feedback and notifications
- Pipeline takes 40 minutes
- Pipeline triggers
- Pipelines as code
- Post-deployment verification
- Preview environments for pull requests
- Quality gates
- Rolling back a deployment
- Setting up CI for a new project
- Stages of a typical CI/CD pipeline
- Tests in a CI pipeline
- Versioning build artefacts
- What continuous integration is
Intermediate
- Avoiding deployments during peak business hours
- Blue-green deployments in depth
- Builds produce different results each time
- Canary releases and automated analysis
- Canary shows elevated errors
- CI costs are growing quickly
- CI/CD for a mobile app
- Concurrency controls for deployment pipelines
- Coordinating deployments across services
- Dark launches in a delivery pipeline
- Database migrations in CI/CD
- Deploying a schema change without downtime
- Docker image builds are slow in CI
- End-to-end tests take two hours
- Ephemeral test environments
- Every team has a different pipeline
- GitOps-based continuous delivery
- Integration tests need realistic data
- Monitoring CI/CD pipelines
- Moving from monthly to daily deployments
- Not knowing what version runs in each environment
- OIDC federation for pipeline credentials
- Pipelines for monorepos
- Pull requests from forks and pipeline secrets
- Reusable pipeline templates
- Rollback vs roll forward in CI/CD
- Rolling back a release didn't fix production
- Rotating credentials used by many pipelines
- Satisfying change management requirements in CI/CD
- Securing CI/CD pipelines
- Security scanning in pipelines
- Signing and verifying build artefacts
- Staging passes but production fails
Experienced
- A CI dependency was compromised
- A migration made rollback impossible
- Automating versioning and release notes
- CI reliability is undermining trust organisation-wide
- CI/CD architecture at large scale
- CI/CD for infrastructure changes
- CI/CD for machine learning models
- CI/CD platform outage blocks all deployments
- Delivering configuration changes safely
- Designing a deployment pipeline for 50 microservices
- Designing CI/CD for a regulated financial company
- Feature flags have become a mess
- Golden paths and internal developer platforms
- Hermetic and reproducible builds
- Hundreds of secrets stored in CI settings
- Keeping dependencies updated across hundreds of repositories
- Lead time from commit to production is two weeks
- Linking deployments to production incidents
- Measuring developer experience with CI/CD
- Migrating from a legacy Jenkins setup
- Preventing an engineer from bypassing the pipeline
- Progressive delivery
- Promoting releases across many clusters with GitOps
- Reducing change failure rate
- Release trains
- Releases keep breaking other services
- Releasing features to enterprise customers carefully
- Ring-based deployments
- Rolling out changes safely across many regions
- Scaling self-hosted CI runners
- SLO-based deployment verification
- SLSA and build provenance
- Testing in production safely as part of CD