Interview Q&A · questions with model answers

CI/CD & Deployment Interview Questions

Part of the study plan for: DevOps Engineer · Site Reliability Engineer (SRE) · QA Engineer / SDET

Ordered by how often they're asked. Most-asked answers are free to read in full; members see every answer and can rate their confidence on each.

  1. Most asked How should secrets be handled in CI/CD pipelines?

    Store secrets in the CI secret store or a vault, scope them to environments and protected branches, prefer short-lived credentials via OIDC federation (e.g., GitHub Actions to AWS/GCP) over…

  2. How do feature flags change the way teams release software?

    Feature flags decouple deployment from release: code ships dark, then features are enabled for internal users, a percentage of users or specific segments, and can be turned off instantly. They…

  3. How should application configuration be managed across environments?

    Keep config separate from code (environment variables or config services), use the same artifact across environments, validate config at startup, keep secrets in secret managers, and version…

  4. How should build artifacts be versioned and promoted?

    Build once per commit, tag artifacts/images with an immutable identifier (commit SHA and/or semantic version, never only latest), store them in a registry, and promote the same artifact through…

Was this page helpful?

Report a mistake