exam questions

Exam Terraform Associate 003 All Questions

View all questions & answers for the Terraform Associate 003 exam

Exam Terraform Associate 003 topic 1 question 105 discussion

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

You use a Cloud provider account that is shared with other team members. You previously used Terraform to create a load balancer that listens on port 80. After some application changes, you updated the Terraform code to change the port to 443.

You run terraform plan and see that the execution plan shows the port changing from 80 to 443 like you intended, and step away to grab some coffee.

In the meantime, another team member manually changes the load balancer port to 443 through the Cloud provider console before you get back to your desk.

What will happen when you run terraform apply upon returning to your desk?

  • A. Terraform will not make any changes to the load balancer and will update the state file to reflect the manual change.
  • B. Terraform will fail with an error because the state file is no longer accurate.
  • C. Terraform will change the load balancer port to 80, and then change it back to 443.
  • D. Terraform will recreate the load balancer.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
enasuz
2 days, 4 hours ago
Selected Answer: C
Terraform will change the load balancer port to 80, and then change it back to 443.
upvoted 1 times
ShakthiGCP
1 day, 2 hours ago
Wrong Answer. Ans is A. Try to google before posting answers please.
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 ...