HashiCorp Terraform-Associate-004 - HashiCorp Certified: Terraform Associate (004) (HCTA0-004)
Total 366 questions
When do you need to explicitly execute Terraform in refresh-only mode?
terraform destroy is the only way to remove infrastructure.
Why would you use the -replace flag for terraform apply?
Parent modules can always access a child module’s variable values.
A provider configuration block is required in every Terraform configuration.
Example:

You just scaled your VM infrastructure and realize you set the count variable to the wrong value. You correct the value and save your change. What must you do next to make your infrastructure match your configuration?
Which command doesnotcause Terraform to refresh its state?
As a member of an operations team that uses infrastructure as code (lac) practices, you are tasked with making a change to an infrastructure stack running in a public cloud. Which pattern would follow laC best practices for making a change?
You should run terraform fnt to rewrite all Terraform configurations within the current working directory to conform to Terraform-style conventions.
By default, if you do not define a backend for your configuration, where does Terraform store information about the resources that it manages?
