Pass4itsure > HashiCorp > HashiCorp Certifications > TA-002-P > TA-002-P Online Practice Questions and Answers

TA-002-P Online Practice Questions and Answers

Questions 4

Terraform provisioners can be added to any resource block.

A. True

B. False

Buy Now
Questions 5

Which option can not be used to keep secrets out of Terraform configuration files?

A. A Terraform provider

B. Environment variables

C. A-var flag

D. secure string

Buy Now
Questions 6

Which of the below configuration file formats are supported by Terraform? (Select TWO)

A. Node

B. JSON

C. Go

D. YAML

E. HCL

Buy Now
Questions 7

You want terraform plan and terraform apply to be executed in Terraform Cloud's run environment but the output is to be streamed locally. Which one of the below you will choose?

A. Local Backends.

B. Terraform Backends.

C. This can be done using any of the local or remote backends.

D. Remote Backends.

Buy Now
Questions 8

As a member of the operations team, you need to run a script on a virtual machine created by Terraform. Which provisioned is best to use in your Terraform code?

A. local-exec

B. file

C. null-exec

D. remote-exec

Buy Now
Questions 9

Jack is a newbieto Terraform and wants to enable detailed logging to find all the details. Which environment variable does he need to set?

A. TF_help

B. TF LOG

C. TF_Debug

D. TF_var_log

Buy Now
Questions 10

What does terraform refresh modify?

A. Your cloud infrastructure

B. Your state file

C. Your Terraform plan

D. Your Terraform configuration

Buy Now
Questions 11

What advantage does an operations team that uses infrastructure as code have?

A. The ability to delete infrastructure

B. The ability to reuse best practice configurations and settings

C. The ability to autoscale a group of servers

D. The ability to update existing infrastructure

Buy Now
Questions 12

Which Terraform collection type should you use to store key/value pairs?

A. set

B. tuple

C. list

D. map

Buy Now
Questions 13

Which of the following does terraform apply change after you approve the execution plan? Choose two correct answers.

A. The execution plan

B. Terraform code

C. Cloud infrastructure

D. State file

E. The .terraform directory

Buy Now
Exam Code: TA-002-P
Exam Name: HashiCorp Certified: Terraform Associate
Last Update: Jul 21, 2026
Questions: 449
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99