Free TA-002-P Exam Braindumps

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

Page 9 of 19
QUESTION 36

- (Exam Topic 1)
A Terraform local value can reference other Terraform local values.

  1. A. True
  2. B. False

Correct Answer: A
"The expressions in local values are not limited to literal constants; they can also reference other values in the module in order to transform or combine them, including variables, resource attributes, or other local values:" https://www.terraform.io/language/values/locals#declaring-a-local-value

QUESTION 37

- (Exam Topic 4)
Which of the following commands will launch the Interactive console for Terraform interpolations?

  1. A. terraform console
  2. B. terraform cli
  3. C. terraform
  4. D. terraform cmdline

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

QUESTION 38

- (Exam Topic 4)
You have decided to create a new Terraform workspace to deploy a development environment. What is different about this workspace?

  1. A. It uses a different branch of code It uses a different backend
  2. B. It has its own state file
  3. C. It pulls in a different terraform.tvars file

Correct Answer: C

QUESTION 39

- (Exam Topic 4)
A terraform apply can not ______ infrastructure.

  1. A. import
  2. B. provision
  3. C. destroy
  4. D. change

Correct Answer: A

QUESTION 40

- (Exam Topic 4)
By default, where does Terraform store its state file?

  1. A. Amazon S3 bucket
  2. B. shared directory
  3. C. remotely using Terraform Cloud
  4. D. current working directory

Correct Answer: D
By default, the state file is stored in a local file named "terraform.tfstate", but it can also be stored remotely, which works better in a team environment.

Page 9 of 19

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