InterviewStack.io LogoInterviewStack.io

Continuous Integration and Delivery Pipelines Questions

Design and implement continuous integration and continuous delivery pipelines that reliably build, test, validate, and deploy applications and infrastructure. Topics include pipeline as code practices, defining stages and triggers for builds and tests, automated testing strategies across unit, integration, smoke, and end to end tests, gating and environment promotion, branching and release strategies, artifact management and versioning, and deployment patterns such as rolling updates, blue green deployments, and canary releases. Candidates should be able to design rollback and recovery procedures, integrate infrastructure provisioning into pipelines, select and configure pipeline tooling such as Jenkins, GitHub Actions, GitLab CI, Azure Pipelines, or cloud vendor pipeline services, and reason about observability and reporting for pipeline health and test execution. Practical considerations include environment parity, pipeline security, secrets handling, pipeline as code best practices, and trade offs between speed and safety.

MediumTechnical
32 practiced
Describe how you would secure CI/CD runners and agents in a cloud environment. Include isolation, resource permissioning, ephemeral credentials (OIDC), artifact signing, log redaction, and guarding against supply-chain attacks.
EasyTechnical
40 practiced
Write a GitHub Actions workflow YAML that builds a Node.js application (npm) for Node 14 and 16, runs unit tests, caches node_modules, and uploads test reports as artifacts. Trigger on push and pull_request targeting main. Keep steps idempotent and concise.
EasyTechnical
36 practiced
Explain the difference between tagging an artifact (for example docker:latest or v1.2.3) and using an immutable digest (sha256). Why is using image digests recommended for deployments, and how would you incorporate digest-based deployment in a CI/CD pipeline?
EasyTechnical
31 practiced
What key metrics and logs would you collect to monitor CI/CD pipeline health and test execution? Describe dashboards, alerting thresholds, and automated reporting you would implement to ensure fast feedback and reliability for engineering teams.
MediumTechnical
37 practiced
You observe that a subset of tests are flaky and cause pipeline instability. Propose a strategy to triage and mitigate flaky tests while maintaining fast feedback. Cover tactics like quarantining tests, reruns, prioritization, test parallelization, and investment decisions.

Unlock Full Question Bank

Get access to hundreds of Continuous Integration and Delivery Pipelines interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.