HashiCorp
TERRAFORM-ASSOCIATE-003 · Question #204
TERRAFORM-ASSOCIATE-003 Question #204: Real Exam Question with Answer & Explanation
Sign in or unlock TERRAFORM-ASSOCIATE-003 to reveal the answer and full explanation for question #204. The question stem and answer options stay visible for context.
Question
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 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?
Options
- ATerraform will recreate the load balancer.
- BTerraform will fail with an error because the state file is no longer accurate.
- CTerraform will change the load balancer port to 80, and then change it back to 443.
- DTerraform will not make any changes to the load balancer and will update the state file to
Unlock TERRAFORM-ASSOCIATE-003 to see the answer
You've previewed enough free TERRAFORM-ASSOCIATE-003 questions. Unlock TERRAFORM-ASSOCIATE-003 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.