DevOps Interview DropIntermediate TierScenario+25 XP on read

Your deployment system needs to know exactly which Git commit is running in production. How do you design that?

Core Summary

Stamp the commit SHA into the artifact at build time and expose it at runtime. Build once per commit, tag and deploy by digest, and serve a /version endpoint, so the answer to "what's live?" comes from the running process itself, not from a pipeline log someone has to go dig up.

Hints

Hint 1: The running process should be able to tell you itself

Hint 2: Build once, deploy that exact artifact everywhere

Hint 3: Mutable tags break the whole chain

Reported in interviews at Amazon, Datadog, Cloudflare