All jobs / DevOps / SRE / cloud / Security
DevOps / SRE / cloud interview question · 3–5 years
How do you know the image in prod is the image CI built?
The strongest answer
A digest and a signature / provenance (the 2026 default is signed provenance, not a tag we liked) — I do not trust a mutable latest
Why it works
Exactly. Digest + provenance. Tags move. Layer counts are comedy.
What a good answer covers
- Promote by digest.
- Sign / attest the build.
- Do not trust latest.
- Do not count layers.
Answers that fall short
- Close, but not the strongest: The tag matches the ticket id
Ticket ids are not hashes. - Weak: The intern said they pushed it
A voice is not provenance. - Red flag: It has the same number of layers as CI
Layer counts collide.
Who gets asked this
More Security questions
- You have 200 services and a human still pastes secrets at provision time. What do you build?
- A squad needs to ship without being able to destroy another squad’s data. What is the shape?
- Engineers still have long-lived cloud keys on laptops. What is the programme?
- What does a good IAM review look like that a good app review does not?
- Security wants a gate that takes 40 minutes on every PR. What do you negotiate?
- What has to already exist for you to answer “which images, and by when”?
- An engineer wants prod data “to reproduce a bug” on their laptop. What is the bar?
- A `.env` with production URLs and a shared password is in git “for convenience.” What do you do?