Terraform-Associate-004 Exam Question 26
You add a new resource to an existing Terraform configuration, but do not update the version constraint in the configuration. The existing and new resources use the same provider. The working contains a .terraform.lock, hc1 file.
How will Terraform choose which version of the provider to use?
How will Terraform choose which version of the provider to use?
Terraform-Associate-004 Exam Question 27
You are using a networking module in your Terraform configuration with the name label my-network. In your main configuration you have the following code:
When you run terraform validate, you get the following error:
What must you do to successfully retrieve this value from your networking module?
When you run terraform validate, you get the following error:
What must you do to successfully retrieve this value from your networking module?
Terraform-Associate-004 Exam Question 28
You want to use API tokens and other secrets within your team's Terraform workspaces. Where does HashiCorp recommend you store these sensitive values? (Pick 3)
Terraform-Associate-004 Exam Question 29
A developer accidentally launched a VM (virtual machine) outside of the Terraform workflow and ended up with two servers with the same name. They don't know which VM Terraform manages but do have a list of all active VM IDs.
Which of the following methods could you use to discover which instance Terraform manages?
Which of the following methods could you use to discover which instance Terraform manages?
Terraform-Associate-004 Exam Question 30
A Terraform local value can reference other Terraform local values.
