Terraform Associate Exam QuestionsBrowse all questions from this exam

Terraform Associate Exam - Question 311


terraform validate uses provider APIs to verify your infrastructure settings.

Show Answer
Correct Answer: B

The command 'terraform validate' checks the syntax and validity of your Terraform configuration files without accessing remote services such as provider APIs. It only verifies the configuration files in a directory to ensure they are syntactically and semantically correct.

Discussion

3 comments
Sign in to comment
vindi135Option: B
May 26, 2024

The terraform validate command validates the configuration files in a directory, referring only to the configuration and NOT accessing any remote services such as remote state, provider APIs, etc.

Stargazer11Option: B
May 27, 2024

B Validate command doesn't talk to providers

kabaryOption: B
Jun 16, 2024

Answer is obviously false