Terraform Interview Questions — Part 1

Common Questions You should know before the Interview

Bhargav Bachina
Bachina Labs

--

Photo by CoWomen on Unsplash

I have done many interviews so far both as an interviewer and Interviewee. I am compiling this list based on my experience and we can’t put it all in one article so I am dividing these articles into 20 questions each. We will see how many parts this will come into. Here are the first 20 Common Questions in Terraform.

  1. What is an IaC and what are the benefits?
IaC is a short form of Infrastructure as code and You write and execute the code to define, deploy, update, and destroy your infrastructure and you can follow all the best practices as normal development.Benefits:
a. Automation

We can bring up the servers with one script and scale up and down based on our load with the same script.
b. Reusability of the code
We can reuse the same code
c. Versioning
We can check it into version control and we get versioning. Now we can see an incremental history of who changed what, how is our infrastructure actually defined at any given point of time, and wehave this transparency of documentationIaC makes changes idempotent, consistent, repeatable, and predictable.
IaC makes it easy to provision and apply infrastructure configurations, saving time…

--

--