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 334 discussion

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

Which syntax check errors when you run terraform validate?

  • A. The code contains tabs for indentation instead of spaces.
  • B. There is a missing value for a variable.
  • C. The state file does not match the current infrastructure.
  • D. None of the above.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
CloudJordao
3 weeks, 1 day ago
Selected Answer: D
So, none of these issues would cause terraform validate to report an error, making D. None of the above the correct answer
upvoted 1 times
...
Beda12
3 weeks, 6 days ago
Selected Answer: A
it does check the syntax only
upvoted 1 times
...
RealPro111
2 months, 1 week ago
Selected Answer: D
missing value gets through, state is irrelevant, the other one is fmt. but for real the missing value gets through, although if you try to use the variable in a block then it yields an error.
upvoted 1 times
...
d00b229
2 months, 2 weeks ago
D. None of the above.
upvoted 1 times
...
Amargcp
2 months, 2 weeks ago
Selected Answer: B
Answer is B
upvoted 1 times
Mattt
2 months ago
missing value is not a syntax issue D is correct
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 ...