DevOps Interview DropIntermediate TierScenario+25 XP on read
The deploy says it shipped main, but production doesn't have the latest commit. How do you debug it?
Core Summary
Walk the chain, commit, CI checkout, build, artifact, deploy, running pod, and compare the SHA at each step. main is a moving pointer, so the usual cause is that something in the chain resolved it at a different moment, or shipped a cached artifact instead of a fresh one.
Hints
Hint 1: Find the first step in the chain where the SHA changes
Hint 2: main is a pointer, so it means different things at different times
Hint 3: Ask what the running process reports, not what the pipeline claims
Reported in interviews at Amazon, Datadog