https://developer.hashicorp.com/terraform/cli/commands/validate
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.
so option A : true is correct
A. True
Correct, terraform validate is used to confirm the syntax and structure of Terraform files. It checks whether your configuration files are correctly written and can be successfully parsed by Terraform. This helps catch simple errors or typos in your configuration before you proceed with other Terraform commands like terraform plan or terraform apply.
upvoted 3 times
...
Log in to ExamTopics
Sign in:
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.
090200f
3 months, 3 weeks agoinkedia3
1 year, 3 months ago