Top 10 Common Interview Questions on Terraform

Below are the list of commonly asked questions on terraform, will be posting answers soon.

  1. What is state file? and how to store it remotely?
  2. What happens if someone accidently deletes state file?
  3. What is modules? and How to import it?
  4. Why Terraform is known for creating reusable infra?
  5. What happens if someone deletes any resources manually on cloud console, and then you run terraform apply?
  6. Continue to Q5: If terraform will recreate it then how to make terraform apply ignore any changes?
  7. What are the lifecycles you have used in terraform?
  8. If you want to provision 10 instances, what argument you will use?
  9. How to use “for condition” in terraform?
  10. What is Sentinel Policies in terraform?

--

--

Ashutosh Rathore
Ashutosh Rathore

Written by Ashutosh Rathore

DevOps | Cloud | DevSecOps | Architecture | Governance | Writing down all my learnings here! Portfolio: ashutoshrathore.in

No responses yet