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

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

What does running a terraform plan do?

  • A. Compares your Terraform code and local state file to the remote state file in a cloud provider and determines if any changes need to be made
  • B. Imports all of your existing cloud provider resources to the state file
  • C. Installs all providers and modules referenced by configuration
  • D. Compares the state file to your Terraform code and determines if any changes need to be made
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
Ramdi1
Highly Voted 12 months ago
Selected Answer: D
it compares your current state (the existing resources) with your desired state (the configuration file) and generates a plan of action to achieve it. The plan shows you which resources will be created, modified, or destroyed
upvoted 5 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 ...