Question 530
After rollout, a platform architect investigates whether Unset the TF_LOG environment variable truly meets the need to disable unusually verbose logs after an incident investigation. Which observation should it prioritize?
Explanation
Correct Answer
This finding directly verifies Unset the TF_LOG environment variable: removing TF_LOG disables environment-driven Terraform debug logging. It establishes the stated outcome rather than merely confirming a resource exists.
Incorrect Answers
That evidence concerns Targeted provider debugging, used to narrow a failure investigation to provider-specific logging instead of enabling every core trace. It does not verify whether Unset the TF_LOG environment variable meets its acceptance criteria.
That evidence concerns TF_LOG=DEBUG, used to investigate a provider installation or API failure with detailed diagnostics short of TRACE volume. It does not verify whether Unset the TF_LOG environment variable meets its acceptance criteria.
That evidence concerns TF_LOG=TRACE, used to capture extremely detailed Terraform core and provider debugging output. It does not verify whether Unset the TF_LOG environment variable meets its acceptance criteria.






HashiCorp Certified: Terraform Associate (004) (Terraform Associate 004) Practice Tests