Free Terraform Associate Exam Braindumps (page: 40)

Page 39 of 88

Which of the following is true about terraform apply? (Choose two.)

  1. It only operates on infrastructure defined in the current working directory or workspace
  2. You must pass the output of a terraform plan command to it
  3. Depending on provider specification, Terraform may need to destroy and recreate your infrastructure resources
  4. By default, it does not refresh your state file to reflect current infrastructure configuration
  5. You cannot target specific resources for the operation

Answer(s): A,C



Which of the following statements about local modules is incorrect?

  1. Local modules are not cached by terraform init command
  2. Local modules are sourced from a directory on disk
  3. Local modules support versions
  4. All of the above (all statements above are incorrect)
  5. None of the above (all statements above are correct)

Answer(s): C



Which of the following is true about Terraform's implementation of infrastructure as code? (Choose two.)

  1. It is only compatible with AWS infrastructure management
  2. You cannot reuse infrastructure configuration
  3. You can version your infrastructure configuration
  4. It requires manual configuration of infrastructure resources
  5. It allows you to automate infrastructure provisioning

Answer(s): C,E



You need to write some Terraform code that adds 42 firewall rules to a security group as shown in the example.
What can you use to avoid writing 42 different nested ingress config blocks by hand?

  1. A count loop
  2. A for block
  3. A for each block
  4. A dynamic block

Answer(s): D






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

Exam Discussions & Posts