Chapter 4
- Correct answer: A
Explanation: The Terraform support environment variable, TF_LOG
, should be enabled with some trace label so that Terraform can start collecting logs and storing them in the defined path, TF_LOG_PATH
. For more information, you can read the Terraform debugging page at https://www.terraform.io/docs/internals/debugging.html.
- Correct answer: C
Explanation: Terraform has inbuilt functions and max
is one of them, so the maximum value among the given number is 10. For more information about Terraform functions, you can refer to https://www.terraform.io/docs/configuration/functions.html.
- Correct answer: D
Explanation: GitHub is not a supported backend type. For more information about Terraform backends, you can read https://www.terraform.io/docs/backends/types/index.html.
- Correct answer: C
Explanation: Terraform provisioners can be used to run some sort of script, whether it is on a local or remote machine...