Free TA-002-P Exam Braindumps

Pass your HashiCorp Certified: Terraform Associate exam with these free Questions and Answers

Page 3 of 19
QUESTION 6

- (Exam Topic 3)
Terraform Cloud always encrypts state at rest and protects it with TLS in transit. Terraform Cloud also knows the identity of the user requesting state and maintains a history of state changes.

  1. A. False
  2. B. True

Correct Answer: B
Terraform Cloud always encrypts state at rest and protects it with TLS in transit. Terraform Cloud also knows the identity of the user requesting state and maintains a history of state changes. This can be used to control access and track activity. Terraform Enterprise also supports detailed audit logging.
https://www.terraform.io/docs/state/sensitive-data.html#recommendations

QUESTION 7

- (Exam Topic 2)
The Terraform language does not support user-defined functions, and so only the functions built in to the language are available for use.

  1. A. False
  2. B. True

Correct Answer: B
https://www.terraform.io/docs/configuration/functions.html

QUESTION 8

- (Exam Topic 4)
When using providers that require the retrieval of data, such as the HashiCorp Vault provider, in what phase does Terraform actually retrieve the data required?

  1. A. terraform delete
  2. B. terraform plan
  3. C. terraform init
  4. D. terraform apply

Correct Answer: C

QUESTION 9

- (Exam Topic 4)
In the example below, the depends_on argument creates what type of dependency?

  1. A. implicit dependency
  2. B. internal dependency
  3. C. explicit dependency
  4. D. non-dependency resource

Correct Answer: C

QUESTION 10

- (Exam Topic 1)
You have declared a variable called var.list which is a list of objects that all have an attribute id. Which options will produce a list of the IDs? (Choose two.)

  1. A. { for o in var.list : o => o.id }
  2. B. var.list[*].id
  3. C. [ var.list[*].id ]
  4. D. [ for o in var.list : o.id ]

Correct Answer: BD
https://www.terraform.io/language/expressions/splat
A splat expression provides a more concise way to express a common operation that could otherwise be performed with a for expression.

Page 3 of 19

Post your Comments and Discuss HashiCorp TA-002-P exam with other Community members: