Free Terraform Associate Exam Braindumps (page: 29)

Page 28 of 88

How would you reference the Volume IDs associated with the ebs_block_device blocks in this configuration?

  1. aws_instance.example.ebs_block_device.[*].volume_id
  2. aws_instance.example.ebs_block_device.volume_id
  3. aws_instance.example.ebs_block_device[sda2,sda3].volume_id
  4. aws_instance.example.ebs_block_device.*.volume_id

Answer(s): D



What does state locking accomplish?

  1. Copies the state file from memory to disk
  2. Encrypts any credentials stored within the state file
  3. Blocks Terraform commands from modifying the state file
  4. Prevents accidental deletion of the state file

Answer(s): C



You just upgraded the version of a provider in an existing Terraform project. What do you need to do to install the new provider?

  1. Run terraform apply -upgrade
  2. Run terraform init -upgrade
  3. Run terraform refresh
  4. Upgrade your version of Terraform

Answer(s): B



A module can always refer to all variables declared in its parent module.

  1. True
  2. False

Answer(s): B






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

Exam Discussions & Posts