Free Terraform Associate Exam Braindumps (page: 45)

Page 44 of 88

terraform init retrieves the source code for all referenced modules.

  1. True
  2. False

Answer(s): A



You have a Terraform configuration that defines a single virtual machine with no references to it. You have run terraform apply to create the resource, and then removed the resource definition from your Terraform configuration file.
What will happen when you run terraform apply in the working directory again?

  1. Nothing
  2. Terraform will destroy the virtual machine
  3. Terraform will error
  4. Terraform will remove the virtual machine from the state file, but the resource will still exist

Answer(s): B



Which configuration consistency errors does terraform validate report?

  1. A mix of spaces and tabs in configuration files
  2. Differences between local and remote state
  3. Terraform module isn't the latest version
  4. Declaring a resource identifier more than once

Answer(s): D



In Terraform HCL, an object type of object({ name=string, age=number }) would match this value:



Answer(s): B






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

Exam Discussions & Posts