Terraform Quiz
What does terraform init do?
The Terraform command to auto-format your .tf files to canonical style is terraform .
Which of the following are valid Terraform block types? (Select all that apply)
What is the correct order of the core Terraform workflow?
In Terraform, how do you reference a variable named instance_type inside a configuration block?
What is the purpose of a data block in Terraform?
The file where you would conventionally store your variable declarations is called .
What does terraform plan do?
Which of the following are stored in the Terraform state file? (Select all that apply)
What is the unique identifier for a resource in Terraform configuration?
You can pass a variable value at the command line during terraform plan using the flag.
What does Terraform use providers for?
Which of the following statements about Terraform are true? (Select all that apply)
What happens if you run terraform apply without running terraform init first?
A reusable collection of Terraform resources that can be called from other configurations is known as a .
Where should provider configuration blocks conventionally be placed?
What is the purpose of terraform validate?
Which of the following are common reasons to use terraform destroy? (Select all that apply)
How do you access an attribute of a resource named aws_instance.web in another part of your configuration?
The command to list all resources currently tracked in your Terraform state is terraform .
What best describes Terraform's relationship with runtime infrastructure control?