Free Terraform-Associate-003 Exam Braindumps (page: 26)

Page 25 of 88

Which statement describes a goal of infrastructure as code?

  1. An abstraction from vendor specific APIs
  2. Write once, run anywhere
  3. A pipeline process to test and deliver software
  4. The programmatic configuration of resources

Answer(s): D



When using Terraform to deploy resources into Azure, which scenarios are true regarding state files? (Choose two.)

  1. When a change is made to the resources via the Azure Cloud Console, the changes are recorded in a new state file
  2. When a change is made to the resources via the Azure Cloud Console, Terraform will update the state file to reflect them during the next plan or apply
  3. When a change is made to the resources via the Azure Cloud Console, the current state file will not be updated
  4. When a change is made to the resources via the Azure Cloud Console, the changes are recorded in the current state file

Answer(s): C



You need to deploy resources into two different cloud regions in the same Terraform configuration. To do that, you declare multiple provider configurations as follows:
What meta-argument do you need to configure in a resource block to deploy the resource to the `us-west-2` AWS region?

  1. alias = west
  2. provider = west
  3. provider = aws.west
  4. alias = aws.west

Answer(s): C

Explanation:


Reference:

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



You have declared an input variable called environment in your parent module. What must you do to pass the value to a child module in the configuration?

  1. Add node_count = var.node_count
  2. Declare the variable in a terraform.tfvars file
  3. Declare a node_count input variable for child module
  4. Nothing, child modules inherit variables of parent module

Answer(s): C






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

Exam Discussions & Posts