exam questions

Exam Terraform Associate All Questions

View all questions & answers for the Terraform Associate exam

Exam Terraform Associate topic 1 question 186 discussion

Actual exam question from HashiCorp's Terraform Associate
Question #: 186
Topic #: 1
[All Terraform Associate Questions]

While attempting to deploy resources into your cloud provider using Terraform, you begin to see some odd behavior and experience sluggish responses. In order to troubleshoot you decide to turn on Terraform debugging. Which environment variables must be configured to make Terraform's logging more verbose?

  • A. TF_LOG_LEVEL
  • B. TF_LOG_FILE
  • C. TF_LOG
  • D. TP_LOG_PATH
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
Reference:
https://www.terraform.io/internals/debugging

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
secdaddy
3 weeks ago
The question asks for variables plural but configuring a log path to have a file does not make logging more verbose, so only C.
upvoted 1 times
...
depal_dhir
3 months, 3 weeks ago
Selected Answer: C
https://www.terraform.io/internals/debugging
upvoted 2 times
...
keiffo2
3 months, 3 weeks ago
You can set TF_LOG to one of the log levels TRACE, DEBUG, INFO, WARN or ERROR to change the verbosity of the logs. TRACE is the most verbose and it is the default if TF_LOG is set to something other than a log level name. Type “TF_LOG=TRACE TF_LOG_PATH=./ terraform apply"
upvoted 3 times
keiffo2
3 months, 3 weeks ago
Answer C
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago