Terraform Associate Practice Test

Terraform Associate Practice Test practice questions, page 9 of 15, with answer review and explanations.

Question 41

What features does the hosted service Terraform Cloud provide? (Choose two.)

  1. Automated infrastructure deployment visualization
  2. Automatic backups
  3. Remote state storage
  4. A web-based user interface (UI)

Question 42

Where does the Terraform local backend store its state?

  1. In the /tmp directory
  2. In the terraform file
  3. In the terraform.tfstate file
  4. In the user's terraform.state file

Question 43

Which option can not be used to keep secrets out of Terraform configuration files?

  1. A Terraform provider
  2. Environment variables
  3. A -var flag
  4. secure string

Question 44

What is one disadvantage of using dynamic blocks in Terraform?

  1. They cannot be used to loop through a list of values
  2. Dynamic blocks can construct repeatable nested blocks
  3. They make configuration harder to read and understand
  4. Terraform will run more slowly

Question 45

Only the user that generated a plan may apply it.

  1. True
  2. False