Free Terraform Associate Exam Braindumps (page: 14)

Page 13 of 113

What is the name assigned by Terraform to reference this resource?

  1. dev
  2. azurerm_resource_group
  3. azurerm
  4. test

Answer(s): A



Setting the TF_LOG environment variable to DEBUG causes debug messages to be logged into syslog.

  1. True
  2. False

Answer(s): B

Explanation:

TF_LOG_PATH IS NOT REQUIRED, in the docs, they do not mention HAVE TO SET TF_LOG_PATH, it is optional, therefore without TF_LOG_PATH will cause detailed logs to appear on stderr.


Reference:

https://www.computerhope.com/jargon/s/stderr.htm#:~:text=Stderr%2C%20also%20known%20as%20standard,defaults%20to%20the%20user's%20screen.



Where in your Terraform configuration do you specify a state backend?

  1. The terraform block
  2. The resource block
  3. The provider block
  4. The datasource block

Answer(s): A

Explanation:

Backends are configured with a nested backend block within the top-level terraform block.


Reference:

https://www.terraform.io/docs/language/settings/backends/configuration.html
https://www.terraform.io/language/settings/backends/configuration#using-a-backend-block



In Terraform 0.13 and above, outside of the required_providers block, Terraform configurations always refer to providers by their local names.

  1. True
  2. False

Answer(s): A

Explanation:

Outside of the required_providers block, Terraform configurations always refer to providers by their local names.


Reference:

https://www.terraform.io/docs/language/providers/requirements.html
https://www.terraform.io/language/providers/requirements#local-names






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

Terraform Associate Discussions & Posts