All jobs / DevOps / SRE / cloud / CI/CD
DevOps / SRE / cloud interview question · 0–1 years
A teammate wants to “save CI minutes” by running tests only before release. What do you say?
The strongest answer
Run the fast tests on every push — a broken main is more expensive than the minutes — and keep a longer suite on a schedule or a label
Why it works
Exactly. Fast signal on every change. Long suites are a different knob.
What a good answer covers
- Fast tests on every push.
- Longer suite on a slower train.
- Do not wait for release day.
- Do not make the gate unbearable.
Answers that fall short
- Close, but not the strongest: Agreed; CI is for the release captain
Release-only is how you find the break after it has friends. - Weak: Disable CI and run tests on laptops only
Laptops are not a shared oracle. - Red flag: Run the 2-hour suite on every keystroke
A 2-hour gate on every keystroke trains people to skip CI.
Who gets asked this
More CI/CD questions
- The Jenkins jobs are configured by clicking through the web UI. What is wrong with that?
- A deploy goes bad. What is a rollback?
- Who builds the artifact we put in production?
- When is a Friday production deploy a bad idea?
- What belongs in a CI/CD pipeline before production?
- Staging is good. How do those bits get to production?
- What is blue/green, in one sentence you would say in a room?
- What is a canary deploy, as opposed to blue/green?