Free Terraform Associate Exam Braindumps (page: 47)

Page 46 of 88

When should Terraform configuration files be written when running terraform import on existing infrastructure?

  1. Infrastructure can be imported without corresponding Terraform code
  2. Terraform will generate the corresponding configuration files for you
  3. You should write Terraform configuration files after the next terraform import is executed
  4. Terraform configuration should be written before terraform import is executed

Answer(s): D



Which command lets you experiment with Terraform's built-in functions?

  1. terraform env
  2. terraform console
  3. terraform test
  4. terraform validate

Answer(s): B

Explanation:


Reference:

https://www.terraform.io/language/functions



Why does this backend configuration not follow best practices?

  1. You should not store credentials in Terraform Configuration
  2. You should use the local enhanced storage backend whenever possible
  3. An alias meta-argument should be included in backend blocks whenever possible
  4. The backend configuration should contain multiple credentials so that more than one user can execute terraform plan and terraform apply

Answer(s): A



Open source Terraform can only import publicly-accessible and open-source modules.

  1. True
  2. False

Answer(s): B






Post your Comments and Discuss HashiCorp Terraform Associate exam with other Community members:

Exam Discussions & Posts