TA-002-P Dumps

TA-002-P Free Practice Test

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

QUESTION 6

- (Exam Topic 4)
When using multiple configurations of the same Terraform provider, what meta-argument must be included in any non-default provider configurations?

Correct Answer: B

QUESTION 7

- (Exam Topic 1)
Terraform providers are always installed from the Internet.

Correct Answer: B
Terraform configurations must declare which providers they require, so that Terraform can install and use them.
Reference: https://www.terraform.io/docs/language/providers/configuration.html

QUESTION 8

- (Exam Topic 2)
terraform refresh command will not modify infrastructure, but does modify the state file.

Correct Answer: A
The terraform refresh command is used to reconcile the state Terraform knows about (via its state file) with the real-world infrastructure. This can be used to detect any drift from the last-known state, and to update the state file. This does not modify infrastructure, but does modify the state file.
https://www.terraform.io/docs/commands/refresh.html

QUESTION 9

- (Exam Topic 1)
Terraform and Terraform providers must use the same major version number in a single configuration.

Correct Answer: B
https://www.terraform.io/language/expressions/version-constraints#terraform-core-and-provider-versions

QUESTION 10

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

Correct Answer: A