Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Terraform Associate All Questions

View all questions & answers for the Terraform Associate exam

Exam Terraform Associate topic 1 question 269 discussion

Actual exam question from HashiCorp's Terraform Associate
Question #: 269
Topic #: 1
[All Terraform Associate Questions]

You must initialize your working directory before running terraform validate.

  • A. True
  • B. False
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
DevoteamAnalytix
Highly Voted 1 year, 5 months ago
Selected Answer: A
"Validation requires an initialized working directory with any referenced plugins and modules installed. " https://developer.hashicorp.com/terraform/cli/commands/validate
upvoted 6 times
...
LemonadeSoftware
Most Recent 1 year ago
A. True Before running the terraform validate command, it is recommended to initialize your working directory using the terraform init command. The Terraform init command initializes the working directory and downloads the necessary providers and modules specified in your Terraform configuration. After initialization, you can use Terraform validate to check the syntax and validity of your Terraform files.
upvoted 1 times
...
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.

SaveCancel
Loading ...