Free Terraform Associate Exam Braindumps (page: 8)

Page 7 of 113

Terraform requires the Go runtime as a prerequisite for installation.

  1. True
  2. False

Answer(s): B


Reference:

https://www.terraform.io/plugin/sdkv2/guides/v1-upgrade-guide
https://www.terraform.io/plugin/sdkv2/guides/v2-upgrade-guide



When should you use the force-unlock command?

  1. You see a status message that you cannot acquire the lock
  2. You have a high priority change
  3. Automatic unlocking failed
  4. Your apply failed due to a state lock

Answer(s): C

Explanation:

Be very careful with this command. If you unlock the state when someone else is holding the lock it could cause multiple writers. Force unlock should only be used to unlock your own lock in the situation where automatic unlocking failed.


Reference:

https://www.terraform.io/language/state/locking https://www.terraform.io/cli/commands/force-unlock



Terraform can import modules from a number of sources – which of the following is not a valid source?

  1. FTP server
  2. GitHub repository
  3. Local path
  4. Terraform Module Registry

Answer(s): A


Reference:

https://www.terraform.io/language/modules/sources



Which of the following is available only in Terraform Enterprise or Cloud workspaces and not in Terraform CLI?

  1. Secure variable storage
  2. Support for multiple cloud providers
  3. Dry runs with terraform plan
  4. Using the workspace as a data source

Answer(s): A


Reference:

https://www.terraform.io/docs/language/providers/configuration.html






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

Terraform Associate Discussions & Posts