Skip to content

Terraform Basics Quiz

Back to Quiz Home

Welcome! 🚀
Test your knowledge of basic Terraform concepts.

Instructions:

  • Select the best answer for each question.
  • Your score will be shown at the end.
#

What is the primary file extension for Terraform configuration files?

#

Which command initializes a working directory containing Terraform configuration files?

#

Which command is used to preview the changes that Terraform will make to your infrastructure?

#

What does 'IaC' stand for?

#

Which block type is used to define a piece of infrastructure in Terraform?

#

Where does Terraform store the mapping between your resources and real-world infrastructure?

#

Which command is used to destroy all the resources created by Terraform?

#

What argument is typically used to specify the region for an AWS provider?

#

Can Terraform manage resources on multiple cloud providers in a single configuration?

#

Which command checks if your configuration is syntactically valid and internally consistent?

#

What command allows you to login to Terraform Cloud or Enterprise?

#

Which command creates a visual graph of Terraform resources?

#

How do you specify a comment in a .tf file?

#

Which command applies changes without asking for confirmation?

#

What is the required_version setting used for?

#

Which command is used to display the output variables defined in the root module?

#

What does data block define?

#

Which syntax is used to interpolate values in standard HCL strings?

#

Where are Terraform plugins downloaded to?

#

What is the default filename for Terraform variable definitions?

Quiz Progress

0 / 0 questions answered (0%)

0 correct


📚 Study Guides


📬 Weekly DevOps, Cloud & Gen AI quizzes & guides