HashiCorp Terraform Associate 003 Practice Test - Questions Answers, Page 15
List of questions
Question 141

You are writing a child Terraform module that provisions an AWS instance. You want to reference the IP address returned by the child module in the root configuration. You name the instance resource 'main'.
Which of these is the correct way to define the output value?
A)
B)
C)
D)
Question 142

Which configuration consistency errors does terraform validate report?
Question 143

You have used Terraform lo create an ephemeral development environment in the (loud and are now ready to destroy all the Infrastructure described by your Terraform configuration To be safe, you would like to first see all the infrastructure that Terraform will delete.
Which command should you use to show all of the resources that mil be deleted? Choose two correct answers.
Question 144

You can configure Terraform to log to a file using the TF_LOG environment variable.
Question 145

When should you run terraform init?
Question 146

What value does the Terraform Cloud private registry provide over the public Terraform Module Registry?
Question 147

You're writing a Terraform configuration that needs to read input from a local file called id_rsa.pub . Which built-in Terraform function can you use to import the file's contents as a string?
Question 148

Which of the following arguments are required when declaring a Terraform output?
Question 149

In a Terraform Cloud workspace linked to a version control repository, speculative plan runs start automatically when you merge or commit changes to version control.
Question 150

You can access state stored with the local backend by using terraform_remote_state data source.
Question