Free Terraform Associate Exam Braindumps (page: 41)

Page 40 of 88

Which of the following is the safest way to inject sensitive values into a Terraform Cloud workspace?

  1. Write the value to a file and specify the file with the -var-file flag
  2. Set a value for the variable in the UI and check the "Sensitive" check box
  3. Edit the state file directly just before running terraform apply
  4. Set the variable value on the command line with the -var flag

Answer(s): B



terraform apply will fail if you have not am terraform plan first to update the plan output.

  1. True
  2. False

Answer(s): B



How would you reference the attribute "name" of this fictitious resource in HCL?

  1. resource.kubernetes_namespace.example.name
  2. kubernetes_namespace.test.name
  3. kubernetes_namespace.example.name
  4. data.kubernetes_namespace.name
  5. None of the above

Answer(s): C



A Terraform output that sets the "sensitive" argument to true will not store that value in the state file.

  1. True
  2. False

Answer(s): B






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

Exam Discussions & Posts