exam questions

Exam Terraform Associate All Questions

View all questions & answers for the Terraform Associate exam

Exam Terraform Associate topic 1 question 282 discussion

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

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

  • A. True
  • B. False
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
meallhour
Highly Voted 1 year, 6 months ago
Selected Answer: B
B Because it's stdrr
upvoted 6 times
...
MohameDaft
Highly Voted 1 year ago
Selected Answer: A
Setting the TF_LOG environment variable to DEBUG causes debug messages to be logged to standard output (stdout) or standard error (stderr)
upvoted 5 times
bora4motion
6 months, 3 weeks ago
chat gpt
upvoted 1 times
...
...
57ee09c
Most Recent 1 month, 1 week ago
Selected Answer: A
The correct answer is: ✅ A. True Explanation: Setting the TF_LOG environment variable to DEBUG causes Terraform to log debug-level messages into stdout (standard output). This is helpful for troubleshooting and understanding the inner workings of Terraform during execution.
upvoted 1 times
...
geekos
1 month, 4 weeks ago
Selected Answer: B
Setting the TF_LOG environment variable to DEBUG causes debug messages to be logged, but they are sent to the standard error (stderr) stream by default, not to standard output (stdout). To redirect or persist these logs, you can use additional configurations such as TF_LOG_PATH to specify a file for logging.
upvoted 1 times
...
uax
1 year, 4 months ago
Selected Answer: B
"Terraform has detailed logs that you can enable by setting the TF_LOG environment variable to any value. Enabling this setting causes detailed logs to appear on stderr." https://developer.hashicorp.com/terraform/internals/debugging
upvoted 3 times
...
akm_1010
1 year, 6 months ago
Selected Answer: B
https://developer.hashicorp.com/terraform/internals/debugging
upvoted 2 times
...
Rajmane
1 year, 7 months ago
Selected Answer: B
B Because it's stdrr
upvoted 2 times
...
suchar
1 year, 7 months ago
Correct is B. False - not "stdut" but stderr" https://developer.hashicorp.com/terraform/internals/debugging "Terraform has detailed logs that you can enable by setting the TF_LOG environment variable to any value. Enabling this setting causes detailed logs to appear on stderr."
upvoted 4 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