Tell me about a time you stopped someone from making a risky infrastructure change.
IntermediateBehavioralSaying no: risk, unsafe deploys & quality
Answer
What they're really testing → Spotting risk in plans and reviews.
Sample STAR answer →
- Situation: A teammate's Terraform PR renamed a resource from
aws_db_instance.maintoaws_db_instance.primaryfor readability. The plan showed the database would be destroyed and recreated. - Task: I was the reviewer.
- Action: I flagged the
-/+ destroy and then create replacementline and suggested amovedblock so Terraform would track it as a rename without touching the real resource. - Result: The plan went to
0 to add, 0 to change, 0 to destroy. We then addedprevent_destroy = truelifecycle rules on all stateful resources.
Avoid → Not explaining the safe alternative.
More on Saying no: risk, unsafe deploys & quality
Tell me about a time you pushed back on an unsafe production deploy.IntermediateDescribe a time you stopped a release that the business wanted badly.AdvancedTell me about a time you were asked to skip testing to meet a deadline.BeginnerTell me about a time you insisted on a change freeze.IntermediateTell me about a time you refused to grant someone production access.IntermediateDescribe a time you had to push back on a deadline.Beginner