Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
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 (?) , you can switch to a simple comment.
Switch to a voting comment New
secdaddy
1 year, 11 months 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
2 years, 2 months ago
Selected Answer: C
https://www.terraform.io/internals/debugging
upvoted 2 times
...
keiffo2
2 years, 2 months 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
2 years, 2 months 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 ...