ExamGecko
Home / HashiCorp / Terraform Associate 003 / List of questions
Ask Question

HashiCorp Terraform Associate 003 Practice Test - Questions Answers, Page 15

List of questions

Question 141

Report Export Collapse

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)

HashiCorp Terraform Associate 003 image Question 141 30579 09182024192049000000

B)

HashiCorp Terraform Associate 003 image Question 141 30579 09182024192049000000

C)

HashiCorp Terraform Associate 003 image Question 141 30579 09182024192049000000

D)

HashiCorp Terraform Associate 003 image Question 141 30579 09182024192049000000

Become a Premium Member for full access
  Unlock Premium Member

Question 142

Report Export Collapse

Which configuration consistency errors does terraform validate report?

Become a Premium Member for full access
  Unlock Premium Member

Question 143

Report Export Collapse

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.

Become a Premium Member for full access
  Unlock Premium Member

Question 144

Report Export Collapse

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

Become a Premium Member for full access
  Unlock Premium Member

Question 145

Report Export Collapse

When should you run terraform init?

Become a Premium Member for full access
  Unlock Premium Member

Question 146

Report Export Collapse

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

Become a Premium Member for full access
  Unlock Premium Member

Question 147

Report Export Collapse

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?

Become a Premium Member for full access
  Unlock Premium Member

Question 148

Report Export Collapse

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

Become a Premium Member for full access
  Unlock Premium Member

Question 149

Report Export Collapse

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.

Become a Premium Member for full access
  Unlock Premium Member

Question 150

Report Export Collapse

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

Become a Premium Member for full access
  Unlock Premium Member
Total 195 questions
Go to page: of 20