TA-002-P Dumps

TA-002-P Free Practice Test

HashiCorp TA-002-P: HashiCorp Certified: Terraform Associate

QUESTION 46

- (Exam Topic 1)
You would like to reuse the same Terraform configuration for your development and production environments with a different state file for each.
Which command would you use?

Correct Answer: B
https://www.terraform.io/language/state/workspaces#when-to-use-multiple-workspaces

QUESTION 47

- (Exam Topic 4)
Select all features which are exclusive to Terraform Enterprise. (Select Three)

Correct Answer: CDE
Sentinel and Cost Estimation are also available in Terraform Cloud https://www.hashicorp.com/products/terraform/pricing/

QUESTION 48

- (Exam Topic 3)
Why is it a good idea to declare the required version of a provider in a Terraform configuration file?
* 1. terraform
* 2. {
* 3. required_providers
* 4. {
* 5. aws = "~> 1.0"
* 6. }
* 7. }

Correct Answer: C

QUESTION 49

- (Exam Topic 4)
Changing the Terraform backend from the default "local" backend to a different one after doing your first terraform apply is:

Correct Answer: B

QUESTION 50

- (Exam Topic 1)
You run a local-exec provisioner in a null resource called null_resource.run_script and realize that you need to rerun the script.
Which of the following commands would you use first?

Correct Answer: A
https://www.terraform.io/cli/commands/taint