Free Terraform Associate Exam Braindumps (page: 24)

Page 23 of 88

Which of the following is allowed as a Terraform variable name?

  1. count
  2. name
  3. source
  4. version

Answer(s): B

Explanation:


Reference:

https://www.terraform.io/docs/language/values/variables.html



What type of block is used to construct a collection of nested configuration blocks?

  1. for_each
  2. repeated
  3. nesting
  4. dynamic

Answer(s): D

Explanation:


Reference:

https://www.hashicorp.com/blog/hashicorp-terraform-0-12-preview-for-and-for-each



Module variable assignments are inherited from the parent module and do not need to be explicitly set.

  1. True
  2. False

Answer(s): B

Explanation:


Reference:

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



If writing Terraform code that adheres to the Terraform style conventions, how would you properly indent each nesting level compared to the one above it?

  1. With four spaces
  2. With a tab
  3. With three spaces
  4. With two spaces

Answer(s): D

Explanation:


Reference:

https://www.terraform.io/docs/language/syntax/style.html






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

Terraform Associate Exam Discussions & Posts