Free Terraform Associate Exam Braindumps
HashiCorp Certified: Terraform Associate Questions 81–85 (page: 18)

Updated On: 10-Feb-2026

What features stops multiple admins from changing the Terraform state at the same time?

  1. Version control
  2. Backend types
  3. Provider constraints
  4. State locking

Answer(s): D

Explanation:


Reference:

https://blog.gruntwork.io/how-to-manage-terraform-state-28f5697e68fa



A fellow developer on your team is asking for some help in refactoring their Terraform code. As part of their application's architecture, they are going to tear down an existing deployment managed by Terraform and deploy new. However, there is a server resource named aws_instance.ubuntu[1] they would like to keep to perform some additional analysis.
What command should be used to tell Terraform to no longer manage the resource?

  1. terraform apply rm aws_instance.ubuntu[1]
  2. terraform state rm aws_instance.ubuntu[1]
  3. terraform plan rm aws_instance.ubuntu[1]
  4. terraform delete aws_instance.ubuntu[1]

Answer(s): B

Explanation:


Reference:

https://www.terraform.io/docs/cli/commands/state/rm.html



Terraform can only manage resource dependencies if you set them explicitly with the depends_on argument.

  1. True
  2. False

Answer(s): B

Explanation:


Reference:

https://learn.hashicorp.com/tutorials/terraform/dependencies?in=terraform/0-13



A terraform apply can not _________ infrastructure.

  1. change
  2. destroy
  3. provision
  4. import

Answer(s): D



You need to constrain the GitHub provider to version 2.1 or greater.
Which of the following should you put into the Terraform 0.12 configuration's provider block?

  1. version >= 2.1
  2. version ~> 2.1
  3. version = ג€<= 2.1ג€
  4. version = ג€>= 2.1ג€

Answer(s): D

Explanation:


Reference:

https://github.com/hashicorp/terraform-provider-null/issues/31



Viewing page 18 of 71
Viewing questions 86 - 90 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!