Free Terraform-Associate-003 Actual Exam Questions - Question 10 Discussion

Question No. 10
[Read, Generate, and Modify Configurations]
Setting the TF_LOG environment variable to DEBUG causes debug messages to be logged into stdout.
Select one option, then reveal solution.
US
SR
Sarah R.
2026-02-11

A/B? I think it’s true in the sense that setting TF_LOG=DEBUG enables debug messages, but they usually go to a file unless you specifically send them to stdout.

0
IU
Irfan U.
2026-01-25

It’s B. Setting TF_LOG=DEBUG definitely enables debug logging, but those logs don’t automatically go to stdout unless you do something extra like redirecting output. Terraform writes the debug info to terraform.log by default, so just setting the variable alone won’t send messages straight to your terminal screen.

0
IU
Irfan U.
2026-01-25

B, logs don’t go straight to stdout unless you explicitly redirect them.

0
IU
Irfan U.
2026-01-24

B imo, logs go to a file by default, not stdout.

0
SH
Sami H.
2026-01-19

It’s B because by default, TF_LOG=DEBUG writes to a file named terraform.log, not stdout. You’d have to redirect or configure it to see logs in the console directly.

0
SH
Sami H.
2026-01-17

A/B? I thought setting TF_LOG to DEBUG sends logs to a file, not stdout by default. So it might not always go directly to console unless you configure the output.

0
SH
Sami H.
2026-01-16

Pretty sure it’s A. Setting TF_LOG to DEBUG definitely ramps up the logging output right to the console.

0