Free Terraform Associate Exam Braindumps (page: 12)

Page 11 of 113

What features does the hosted service Terraform Cloud provide? (Choose two.)

  1. Automated infrastructure deployment visualization
  2. Automatic backups
  3. Remote state storage
  4. A web-based user interface (UI)

Answer(s): C,D


Reference:

https://www.terraform.io/enterprise/admin/infrastructure/backup-restore



Where does the Terraform local backend store its state?

  1. In the /tmp directory
  2. In the terraform.tfvars file
  3. In the terraform.tfstate file
  4. In the user's .terraformrc file

Answer(s): C

Explanation:

The local backend stores state on the local filesystem, locks that state using system APIs, and performs operations locally.


Reference:

https://www.terraform.io/docs/language/settings/backends/local.html
https://www.terraform.io/language/state



Which option can not be used to keep secrets out of Terraform configuration files?

  1. A Terraform provider
  2. Environment variables
  3. A -var flag
  4. secure string

Answer(s): A


Reference:

https://secrethub.io/blog/secret-management-for-terraform/



What is one disadvantage of using dynamic blocks in Terraform?

  1. They cannot be used to loop through a list of values
  2. Dynamic blocks can construct repeatable nested blocks
  3. They make configuration harder to read and understand
  4. Terraform will run more slowly

Answer(s): C

Explanation:

"Overuse of dynamic blocks can make configuration hard to read and maintain, so we recommend using them only when you need to hide details in order to build a clean user interface for a re-usable module. Always write nested blocks out literally where possible."


Reference:

https://github.com/hashicorp/terraform/issues/19291






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

Terraform Associate Discussions & Posts