exam questions

Exam Terraform Associate All Questions

View all questions & answers for the Terraform Associate exam

Exam Terraform Associate topic 1 question 285 discussion

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

When do you need to explicitly execute terraform refresh-only?

  • A. Before every terraform plan
  • B. Before every terraform apply
  • C. Before every terraform import
  • 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
vindi135
Highly Voted 9 months, 3 weeks ago
Selected Answer: D
D. none of the above. The question isn't fully correct, the command is terraform apply -refresh-only. You'd only want to do this in place of terraform taint, when you'd want the state to be the same as the real world infrastructure
upvoted 6 times
Alandt
7 months, 3 weeks ago
init mate? (London accent)
upvoted 3 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