All jobs / DevOps / SRE / cloud / CI/CD
DevOps / SRE / cloud interview question · 0–1 years
Who builds the artifact we put in production?
The strongest answer
CI, from a tagged commit, on a clean runner — not a laptop that “has the right Node version”
Why it works
Exactly. Clean, tagged, repeatable. Laptops are for development.
What a good answer covers
- CI builds the artifact.
- Tag the commit.
- Clean runner.
- Do not copy a laptop folder into the image.
Answers that fall short
- Close, but not the strongest: Whoever is free, from whatever is in their working tree
Working trees are how debug flags ship. - Weak: The intern, from a USB stick
USB sticks are not a supply chain. - Red flag: I copy node_modules from my machine into the image
Laptop node_modules are how you ship your OS into prod.
Who gets asked this
More CI/CD questions
- 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?
- A bad change is already live. The store / the cluster is slow to revert. What is faster?
- The team wants true continuous deploy to production. What do you still insist on?
- Every squad has a unique pipeline. You want a paved road. What do you standardise first?