Free TA-002-P Exam Braindumps

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

Page 8 of 19
QUESTION 31

- (Exam Topic 4)
Which Terraform collection type should you use to store key/value pairs?

  1. A. set
  2. B. tuple
  3. C. list
  4. D. map

Correct Answer: D
Maps/objects are represented by a pair of curly braces containing a series of <KEY> = <VALUE> pairs Source: https://www.terraform.io/language/expressions/types

QUESTION 32

- (Exam Topic 2)
The terraform init command is always safe to run multiple times, to bring the working directory up to date with changes in the configuration. Though subsequent runs may give errors, this command will never delete your existing configuration or state.

  1. A. False
  2. B. True

Correct Answer: B
https://www.terraform.io/docs/commands/init.html

QUESTION 33

- (Exam Topic 4)
Which of the following is not a valid Terraform string function?

  1. A. replace
  2. B. format
  3. C. join
  4. D. tostring

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

QUESTION 34

- (Exam Topic 4)
Choose the best option from below to make Terraform code more user configuration-centric.

  1. A. Variables
  2. B. Local values
  3. C. Input Variable
  4. D. Modules

Correct Answer: C

QUESTION 35

- (Exam Topic 2)
If you enable TF_LOG = DEBUG, the log will be stored in syslog.log file in the currect directory.

  1. A. False
  2. B. True

Correct Answer: A
https://www.terraform.io/docs/internals/debugging.html

Page 8 of 19

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