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

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam Terraform Associate topic 1 question 228 discussion

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

What does running a terraform plan do?

  • A. Imports all of your existing cloud provider resources to the state file
  • B. Compares the state file to your Terraform code and determines if any changes need to be made
  • C. Imports all of your existing cloud provider resources to your Terraform configuration file
  • D. 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
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
SilentH
1 week, 5 days ago
Selected Answer: D
Examtopics, please fire whoever you had answer these questions! Almost every single answer is wrong.
upvoted 1 times
...
tbhtp
1 year, 1 month ago
Selected Answer: B
B. Compares the state file to your Terraform code and determines if any changes need to be made. The terraform plan command is used to create an execution plan, which shows you the changes that will be made to your infrastructure based on the current Terraform configuration and the current state file. It allows you to review the changes before actually applying them, helping you understand the impact of your changes and catch any unintended modifications before they happen.
upvoted 2 times
...
camps
1 year, 1 month ago
Selected Answer: B
B. Compares the state file to your Terraform code and determines if any changes need to be made Running a terraform plan command performs a comparison between your Terraform configuration files and the current state file. It then generates an execution plan that shows the differences between the desired state (defined in the configuration) and the actual state (represented by the state file). This plan outlines the actions (create, update, or delete) that Terraform will take to reconcile the differences and achieve the desired state when the terraform apply command is executed.
upvoted 1 times
...
micropbl4
1 year, 1 month ago
Selected Answer: B
B is correct
upvoted 2 times
...
Ravi528
1 year, 1 month ago
Selected Answer: B
B is correct,
upvoted 2 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 ...