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

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

You have been working in a Cloud provider account that is shared with other team members. You previously used Terraform to create a load balancer that is listening 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 terraform apply upon returning to your desk?

  • A. Terraform will fail with an error because the state file is no longer accurate.
  • B. Terraform will change the load balancer port to 80, and then change it back to 443.
  • C. Terraform will not make any changes to the Load Balancer and will update the state file to reflect any changes made.
  • D. Terraform will recreate the load balancer.
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
irusharulz
2 weeks, 3 days ago
C is the correct answer
upvoted 1 times
...
artyartycms
3 weeks, 2 days ago
Selected Answer: C
C is correct
upvoted 1 times
...
Edward2021
1 month ago
C is the correct answer
upvoted 1 times
...
TheShantyman
1 month, 1 week ago
Selected Answer: C
C is the correct answer. Terraform will see that no changes need to be made as the load balancer now matches the local configuration. It will then update the state files to reflect the new remote configuration.
upvoted 1 times
...
irusharulz
1 month, 1 week ago
Selected Answer: C
It's not making any changes load balancer. Since the load balancer now listening in port 443. No need to update the load balancer. but State file will be modified according to that
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 ...
ex Want to SAVE BIG on Certification Exam Prep?
close
ex Unlock All Exams with ExamTopics Pro 75% Off
  • arrow Choose From 1000+ Exams
  • arrow Access to 10 Exams per Month
  • arrow PDF Format Available
  • arrow Inline Discussions
  • arrow No Captcha/Robot Checks
Limited Time Offer
Ends in