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, 10 months ago
Selected Answer: B
B Because it's stdrr
upvoted 6 times
...
MohameDaft
Highly Voted 1 year, 3 months 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
10 months ago
chat gpt
upvoted 1 times
...
...
vl67
Most Recent 1 month ago
Selected Answer: A
Set the TF_LOG variable 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. stfrr - seems to be like a typo. In examtopic contains a few typos in different questions.
upvoted 1 times
vl67
1 month ago
as a second evaluation the answer would B. Still not sure if the question is accurate. It would be hard to belive tha Hashicorp would evaluate in the level of memorization that it is only would work with stderr and not stdout
upvoted 1 times
...
...
57ee09c
4 months, 3 weeks 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
5 months, 1 week 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, 7 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, 10 months ago
Selected Answer: B
https://developer.hashicorp.com/terraform/internals/debugging
upvoted 2 times
...
Rajmane
1 year, 10 months ago
Selected Answer: B
B Because it's stdrr
upvoted 2 times
...
suchar
1 year, 10 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 5 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 ...