All 46 questions
How is Jenkins used in a CI/CD pipeline?
Asked in 3 of 296 interviews · last asked Oct 23 · Tooling · Junior
Show answer
Jenkins is an automation server that runs CI/CD pipelines. I use it to fetch code after a change, build it, run tests, and publish a deployable artifact. I define these steps in a Jenkinsfile stored with the code, then deploy the same artifact to each environment, with approval before production if needed.
- Webhooks or scheduled checks can trigger builds when code changes.
- Agents run pipeline jobs and provide the tools each job needs.
- Configure failed tests to block later stages; deployment steps can call scripts, cloud tools, or plugins.
- Store secrets in Jenkins credentials, not in source code.
What the interviewer checks: The interviewer checks whether you can explain how Jenkins connects code changes, testing, and controlled deployment.
Other ways it was asked
- “How would you use Jenkins in a CI/CD pipeline to integrate deployment?”
- “How do you use Jenkins to support a CI/CD pipeline?”
- “How would you use Jenkins in a large AWS pipeline?”
How would you set up a CI/CD process in GitHub?
Asked in 3 of 296 interviews · last asked Nov 19 · Tooling · Mid-level
Show answer
I would use GitHub Actions and define workflows in `.github/workflows/`. On pull requests, CI would install dependencies, run checks and tests, and build the application. After merging to the main branch, CD would deploy the tested build to staging, then production. I would use protected environments, secure credentials, and a rollback plan.
- Require passing CI checks and code review before merging.
- Build once and deploy the same artifact across environments.
- Use GitHub secrets or short-lived cloud credentials; never commit credentials.
- Continuous delivery can require production approval; continuous deployment releases automatically after checks pass.
What the interviewer checks: The interviewer is checking whether you can connect GitHub workflows, automated testing, and safe deployments.
Other ways it was asked
- “How do you set up a CI/CD process in GitHub?”
- “What is CI/CD, and how do you implement it using GitHub?”
How would you manage environment-specific configuration without duplicating pipeline YAML?
Asked in 2 of 296 interviews · last asked Aug 4 · Scenario · Mid-level
Show answer
I would keep one pipeline and load environment-specific values from variable groups, configuration files, or a configuration store. A parameter selects the target environment, while shared steps stay in reusable templates. I would keep secrets in a secret store and limit access by environment.
- Keep pipeline steps shared; change only the values for each environment.
- Pass the target environment as a parameter and validate it against allowed choices.
- Store secrets outside YAML and restrict production access.
- Require approval for production deployments where needed.
What the interviewer checks: The interviewer is checking whether you can reuse pipeline logic while keeping environment settings and secrets separate.
Other ways it was asked
- “If certain values need to differ between production and non-production, how can you achieve that without duplicating configuration in the YAML?”
- “How do you manage environment-specific configuration without duplicating the pipeline?”
How would you configure Jenkins to connect to and use a Docker server?
Asked in 2 of 296 interviews · last asked Sep 4 · Tooling · Mid-level
Other ways it was asked
- “I have a Docker server and want to integrate it with Jenkins. What steps would you follow?”
How can you manage multi-stage deployments with Azure DevOps?
Asked once · last asked Feb 9 · Tooling · Mid-level
Other ways it was asked
- “How do you maintain multi-stage deployment pipelines in Azure DevOps?”
How do Jenkins and GitHub Actions work together?
Asked once · last asked Oct 20 · Concept · Mid-level
Other ways it was asked
- “Can Jenkins and GitHub Actions be used together?”
- “Why would you need Jenkins if you are already using GitHub Actions?”
Why might teams move from Azure Pipelines to GitHub Actions?
Asked once · last asked Feb 17 · Concept · Mid-level
What CI/CD pipeline actions can you automate beyond builds triggered by pull requests or merges?
Asked once · last asked Apr 14 · Tooling · Mid-level
What deployment activities can you handle with Jenkins besides deploying applications?
Asked once · last asked Apr 16 · Tooling · Mid-level
How would you configure CI/CD pipeline steps to run automatically when a change is made?
Asked once · last asked May 21 · Tooling · Mid-level
How do you build and manage a CI/CD pipeline in Azure DevOps?
Asked once · last asked Aug 13 · Tooling · Mid-level
How do you use Docker and GitHub Actions in your workflow to test and deploy your app?
Asked once · last asked Aug 24 · Tooling · Mid-level
What should a GitHub or GitLab pipeline YAML file include to validate a project?
Asked once · last asked Sep 7 · Tooling · Mid-level
How do you trigger automated scripts using a Jenkins pipeline?
Asked once · last asked Sep 17 · Tooling · Mid-level
How do you modify a CI/CD pipeline to add or remove stages or steps?
Asked once · last asked Sep 21 · Tooling · Mid-level
How would you structure a reusable GitHub Actions workflow's jobs, inputs, and permissions so it can build and push images and open pull requests without exposing long-lived credentials?
Asked once · last asked Oct 1 · Tooling · Senior
What is the structure of a .gitlab-ci.yml file, including stages, jobs, artifacts, and cache?
Asked once · last asked Oct 7 · Tooling · Mid-level
How would you design a GitLab CI/CD pipeline?
Asked once · last asked Oct 7 · Tooling · Mid-level
How would you complete a development workflow in GitLab without using a terminal?
Asked once · last asked Oct 12 · Tooling · Mid-level
What factors determine the scale and investment required for a Jenkins deployment?
Asked once · last asked Oct 14 · Scenario · Senior
How would you package and roll out an AI code review capability as a reusable module?
Asked once · last asked Oct 14 · Design · Senior
How would you set up and manage self-hosted GitHub Actions runners?
Asked once · last asked Oct 20 · Tooling · Senior
How do you inspect, modify, or write a Jenkins pipeline?
Asked once · last asked Oct 22 · Tooling · Mid-level
What are GitLab Runners?
Asked once · last asked Oct 22 · Concept · Junior
How would you build an end-to-end Azure DevOps pipeline using YAML or Python?
Asked once · last asked Oct 23 · Tooling · Mid-level
Other ways it was asked
- “Can you walk me through your experience writing Azure DevOps pipelines in YAML or using Python with your pipelines, with a concrete end-to-end example?”
Would you set up an automated workflow of your choice, such as a GitHub Actions workflow or a pipeline file, and what stages would you include?
Asked once · last asked Nov 3 · Tooling · Senior
In GitHub Actions, how would you fail a workflow when a PR exceeds 300 changed lines, and how would you exclude generated files from that calculation?
Asked once · last asked Nov 6 · Tooling · Senior
How would you implement retries for intermittent npm install network errors in a GitHub Actions workflow so they apply only to the install step, not the whole job?
Asked once · last asked Nov 6 · Tooling · Senior
In a GitHub Actions workflow YAML, how do `needs`, `if`, and `strategy.matrix` differ, and when would you use each to control job execution?
Asked once · last asked Nov 6 · Concept · Senior
Other ways it was asked
- “In a workflow YAML, what's the functional difference between needs, if, and strategy.matrix? And when would you use each to control job execution?”
How would you use a strategy.matrix to test multiple Node versions but still ensure deploy runs only once after all matrix jobs pass?
Asked once · last asked Nov 6 · Tooling · Senior
A workflow in a monorepo should run tests only when files under packages/app change. How would you implement that filtering in GitHub Actions?
Asked once · last asked Nov 6 · Tooling · Senior
In a monorepo GitHub Actions workflow, how would you add workflow_dispatch inputs to optionally test only the app or only the web, and conditionally run the corresponding jobs?
Asked once · last asked Nov 6 · Tooling · Senior
How would you validate workflow_dispatch inputs for selecting the app or web, so an unexpected value makes a GitHub Actions workflow fail fast instead of silently skipping jobs?
Asked once · last asked Nov 6 · Tooling · Senior
Which CI/CD platform would you use for a GitHub repository—GitHub Actions, CircleCI, or Jenkins—and why?
Asked once · last asked Nov 12 · Tooling · Mid-level
How would you modify a CI pipeline in GitHub Actions and extend its integrated code-quality checks?
Asked once · last asked Nov 17 · Tooling · Senior
How do you use Jenkins to run test automation?
Asked once · last asked Nov 18 · Tooling · Mid-level
What other CI/CD tools could be used to achieve the same thing as Jenkins?
Asked once · last asked Mar 20 · Concept · Junior
What is Jenkins' default port number?
Asked once · last asked Apr 16 · Concept · Junior
What does a deployment trigger represent, and what events can cause a deployment to be created?
Asked once · last asked Jul 31 · Concept · Junior
What would you change in a CI/CD toolchain, and why?
Asked once · last asked Aug 19 · Design · Senior
What is AWS CodePipeline, and what problem does it solve?
Asked once · last asked Sep 4 · Concept · Junior
What is a YAML file, and when would you use one?
Asked once · last asked Oct 12 · Concept · Junior
What is GitLab, and what role can Jenkins play in a CI/CD pipeline?
Asked once · last asked Oct 12 · Concept · Junior
How would you write a script to trigger a pipeline?
Asked once · last asked Oct 23 · Write code · Mid-level
How do you handle deployment using Git and Jenkins?
Asked once · last asked Nov 2 · Tooling · Mid-level
Would you execute Ansible locally or through GitHub Actions?
Asked once · last asked Nov 12 · Tooling · Mid-level
Other ways it was asked
- “How did you execute Ansible—locally or through GitHub Actions?”
More CI/CD interview questions
- All CI/CD interview questions
- CI/CD Pipeline Design Interview Questions
- CI/CD Testing and Quality Gates Interview Questions
- Deployment Strategies, Kubernetes and GitOps Interview Questions
- CI/CD Security and Release Governance Interview Questions
- CI/CD Troubleshooting and Optimization Interview Questions
How this list is made
Every question here was asked by a real interviewer in a real job interview that a candidate ran MeetAssist in. After the call, the interviewer's questions are pulled from the transcript. Practice sessions, tests, exams and anything that was not a job interview are dropped.
Questions are rewritten so they make sense on their own: names of people, employers and clients are removed, and speech-to-text mistakes are fixed. Small talk, logistics and questions about one candidate's own résumé are left out. Rephrasings of the same question are merged, and the count is the number of different interviews it came up in.
The interviews come from candidates who use MeetAssist, so they lean towards software, data and AI roles: the shares describe these interviews, not every CI/CD interview. Answers to the most asked questions are written and checked by an editor; a "common mistake" is shown only when reviews of real answers in these interviews show it, with the count.
296 interviews, 192 candidates, Nov 2025 to Nov 2026. Updated every month with new interviews.
Or add the Chrome extension