HashiCorp Certified: Terraform Associate (003) — Question 29

terraform apply is failing with the following error. What next step should you take to determine the root cause of the problem?
Error loading state: AccessDenied: Access Denied status code: 403, request id: 288766CE5CCA24A0, host id: web.example.com

Answer options

Correct answer: D

Explanation

Setting TF_LOG=DEBUG will provide detailed logging output that can help identify the underlying issue causing the AccessDenied error. The other options may not provide the necessary level of detail or may not be relevant to the specific error encountered.