DevOps · Infrastructure as Code
How would you answer an interview scenario involving Infrastructure as Code?
In an interview, I would first define Infrastructure as Code and the problem it solves, then explain how I would keep code modular, review plans, separate environments safely, protect state, manage secrets outside plain source, test changes, and use policy or validation checks before production apply. I would also call out the main failure mode: mixing manual console changes with IaC without reconciliation creates drift and makes the declared configuration unreliable. Finally, I would describe how I would test, monitor, and safely roll back or recover the solution.