Interview Prep/Real-World Interview/Saying no: risk, unsafe deploys & quality

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.main to aws_db_instance.primary for readability. The plan showed the database would be destroyed and recreated.
  • Task: I was the reviewer.
  • Action: I flagged the -/+ destroy and then create replacement line and suggested a moved block 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 added prevent_destroy = true lifecycle rules on all stateful resources.

Avoid → Not explaining the safe alternative.

All Real-World Interview questions Roadmap: Interview readiness

More on Saying no: risk, unsafe deploys & quality