Terraform
Export PDF (0)
Flagged
Completed
Export PDF (0)
0%
Define null resource in Terraform.
Junior
Explain the difference between provisioners and
null_resource
in Terraform.
Mid
What is a remote backend in Terraform?
Mid
Can Terraform be used for on-prem infrastructure?
Senior
Define IAC.
Junior
Describe a challenging problem you faced while working with Terraform and how you solved it.
Mid
Differentiate between Terraform and Cloudformation.
Mid
Discuss the advantages and disadvantages of using HCL (HashiCorp Configuration Language) for defining infrastructure as code.
Mid
Discuss the "destroy-before-create" approach in Terraform and when it is useful.
Mid
Discuss the differences between
count
and
for_each
in Terraform when working with resource blocks.
Mid
Does Terraform support multi-provider deployments?
Junior
Explain how you can automate the deployment of Terraform configurations using CI/CD pipelines.
Mid
Explain how you can implement a custom provider in Terraform.
Mid
Explain how you can manage the lifecycle of a Terraform resource with the
lifecycle
block.
Mid
Explain Terraform's
plan
and
apply
phases.
Junior
Explain the concept of a Terraform Provider.
Junior
Explain the concept of
remote-exec
and
local-exec provisioners
in Terraform.
Senior
Explain the concept of Terraform
destroy
and discuss best practices for handling resource destruction.
Mid
Explain the concept of "Terraform plan output" and how it can be saved and shared with the team.
Mid
Explain the concept of Terraform Workspaces.
Mid
Explain the remote state feature in Terraform.
Mid
Explain what a Terraform provider and a Terraform provisioner are, and how they differ in their use cases.
Senior
Give the terraform configuration for creating a single EC2 instance on AWS.
Mid
How do you ensure idempotence in Terraform configurations, and why is it important?
Senior
How do you handle infrastructure updates or changes without causing downtime?
Mid
How do you handle resource drift or changes that were made outside of Terraform?
Senior
How do you manage dependencies between resources in Terraform?
Mid
How do you manage different environments (e.g., dev, staging, production) using Terraform?
Mid
How do you manage secrets and sensitive data in Terraform?
Junior
How do you version control your Terraform configurations?
Mid
How does Terraform differ from other infrastructure as code tools like Ansible or Puppet?
Junior
How does Terraform ensure the idempotency of resource provisioning?
Senior
How does Terraform manage resource dependencies, and what is the role of the Terraform graph in this process?
Senior
Provide a few examples where Sentinel policies can be used?
Mid
What are data sources in Terraform, and how are they used?
Mid
What are Sentinel policies?
Mid
What are Terraform Modules?
Mid
What are the different levels of Sentinel enforcement?
Mid
What are the key features of Terraform?
Junior
What are the most useful Terraform commands?
Junior
What is a tainted resource?
Mid
What is a Terraform State file?
Mid
What is Terraform Cloud?
Mid
What is Terraform Core?
Mid
What is Terraform state locking, and why is it important in a multi-user environment?
Senior
What is Terraform?
Junior
What is Terragrunt?
Senior
What is the best practice for handling Terraform state locking and concurrency in a team environment?
Senior
What is the Resource Graph in Terraform?
Mid
What is the Terraform
refresh
command?
Mid
What is the Terraform Registry?
Mid
What is the Terraform remote backend?
Mid
Top 52 Terraform Interview Questions And Answers 2025 | TechPrep