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 (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
VerRi
3 weeks, 4 days ago
Selected Answer: D
it only checks syntax error
upvoted 1 times
...
CloudJordao
1 month, 4 weeks 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
2 months ago
Selected Answer: A
it does check the syntax only
upvoted 1 times
...
RealPro111
3 months, 2 weeks 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
3 months, 3 weeks ago
D. None of the above.
upvoted 1 times
...
Amargcp
3 months, 3 weeks ago
Selected Answer: B
Answer is B
upvoted 1 times
Mattt
3 months, 1 week 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago