All jobs / DevOps / SRE / cloud / CI/CD
DevOps / SRE / cloud interview question · 5+ years
When is GitOps the production door, and when is it theatre?
The strongest answer
When the cluster only takes what the repo + the pipeline signed, with drift detection — a Git folder we apply by hand on Fridays is theatre
Why it works
Exactly. The door is signature + desired state. A repo souvenir is not GitOps.
What a good answer covers
- Cluster takes signed desired state.
- Detect drift.
- A repo without a door is theatre.
- Do not skip review and signature.
Answers that fall short
- Close, but not the strongest: When we have a /deploy repo, even if kubectl apply is still the path
A folder is not a door. - Weak: Never; GitOps is a fad
Desired state is still a 2026 default; the word is optional. - Red flag: Always; a git commit should mutate prod with no review and no signature
Unsigned auto-mutate is a supply-chain hole.
Who gets asked this
More CI/CD questions
- How do you know the paved road is winning?
- A teammate wants to “save CI minutes” by running tests only before release. What do you say?
- 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?