What is Infrastructure as Code and why does it matter?
Answer: Infrastructure as Code means defining infrastructure in version-controlled, declarative files that a tool applies, rather than clicking in a console. It matters because it makes environments reproducible, changes reviewable, drift detectable and rollback possible, and it turns infrastructure knowledge from something in people's heads into something in a repository.
Why interviewers ask this: The specific failure it prevents is the unreproducible environment: production configured by hand over three years that nobody can recreate. Naming reviewability — an infrastructure change getting the same scrutiny as a code change — is the point interviewers value most.
