Free Terraform Associate Exam Braindumps
HashiCorp Certified: Terraform Associate Questions 116–120 (page: 25)

Updated On: 10-Feb-2026

You have created a main.tr Terraform configuration consisting of an application server, a database, and a load balancer. You ran terraform apply and all resources were created successfully. Now you realize that you do not actually need the load balancer so you run terraform destroy without any flags What will happen?

  1. Terraform will destroy the application server because it is listed first in the code
  2. Terraform will prompt you to confirm that you want to destroy all the infrastructure
  3. Terraform will destroy the main.tf file
  4. Terraform will prompt you to pick which resource you want to destroy
  5. Terraform will immediately destroy all the infrastructure

Answer(s): B



Which type of block fetches or computes information for use elsewhere in a Terraform configuration?

  1. provider
  2. resource
  3. local
  4. data

Answer(s): D



You have just developed a new Terraform configuration for two virtual machines with a cloud provider. You would like to create the infrastructure for the first time.
Which Terraform command should you run first?

  1. terraform apply
  2. terraform plan
  3. terraform show
  4. terraform init

Answer(s): D



All modules published on the official Terraform Module Registry have been verified by HashiCorp.

  1. True
  2. False

Answer(s): B



You have to initialize a Terraform backend before it can be configured.

  1. True
  2. False

Answer(s): B



Viewing page 25 of 71
Viewing questions 121 - 125 out of 356 questions


Post your Comments and Discuss HashiCorp Terraform Associate exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!