Skip to content

CI/CD interview questions — Hard

200 hard-level CI/CD questions from our Automation Testing bank, each with the correct answer and an explanation of why it is correct.

What this covers

CI/CD appears throughout Automation Testing interviews. At hard level, interviewers are typically checking depth under pressure — edge cases, failure modes, performance characteristics, and the trade-offs you accepted. Work through these, then explain your answer out loud; the second part is what interviews actually test.

4 example questions

  1. 1. Regarding CI/CD, which of the following is a false statement?

    • A. Test results and artifacts (reports, traces, screenshots) can be uploaded from CI for debugging.
    • B. Secrets are best stored in plain text inside the workflow YAML for transparency.correct
    • C. Continuous Delivery keeps the main branch always deployable, with releases triggered manually.
    • D. Shift-left testing moves testing activities earlier in the development lifecycle.

    Why: The selected statement is false. The other options are accurate statements about CI/CD.

  2. 2. Which statement about CI/CD is NOT correct?

    • A. Test results and artifacts (reports, traces, screenshots) can be uploaded from CI for debugging.
    • B. Continuous Integration merges code frequently and runs automated tests on every change.
    • C. Secrets in CI should be stored in the platform's secret manager, never hard-coded in pipeline files.
    • D. Caching dependencies in CI always slows the pipeline down.correct

    Why: The selected statement is false. The other options are accurate statements about CI/CD.

  3. 3. Identify the INCORRECT statement about CI/CD:

    • A. Continuous Deployment requires a manual approval before every production release.correct
    • B. Test results and artifacts (reports, traces, screenshots) can be uploaded from CI for debugging.
    • C. Ephemeral test environments can be spun up per pull request using containers.
    • D. Shift-left testing moves testing activities earlier in the development lifecycle.

    Why: The selected statement is false. The other options are accurate statements about CI/CD.

  4. 4. Which of the following statements about CI/CD is FALSE?

    • A. A GitHub Actions matrix strategy runs a job across combinations like multiple browsers or OS versions.
    • B. Continuous Delivery keeps the main branch always deployable, with releases triggered manually.
    • C. Caching dependencies (npm, pip, Maven) speeds up CI pipelines significantly.
    • D. GitHub Actions workflows are written in XML files at the repository root.correct

    Why: The selected statement is false. The other options are accurate statements about CI/CD.

Related Automation Testing topics