Free TA-002-P Exam Braindumps

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

Page 6 of 19
QUESTION 21

- (Exam Topic 1)
Terraform can import modules from a number of sources – which of the following is not a valid source?

  1. A. FTP server
  2. B. GitHub repository
  3. C. Local path
  4. D. Terraform Module Registry

Correct Answer: A
https://www.terraform.io/language/modules/sources

QUESTION 22

- (Exam Topic 4)
You're writing a Terraform configuration that needs to read input from a local file called id_rsa.pub. Which built-in Terraform function can you use to import the file's contents as a string?

  1. A. fileset("id_rsa.pub")
  2. B. filebase64("id_rsa.pub")
  3. C. templatefile("id_rsa.pub")
  4. D. file("id_rsa.pub")

Correct Answer: D
https://www.terraform.io/language/functions/file

QUESTION 23

- (Exam Topic 2)
Which of the following Terraform files should be ignored by Git when committing code to a repo? (select Three)

  1. A. Files named exactly terraform.tfvars or terraform.tfvars.json.
  2. B. Any files with names ending in .auto.tfvars or .auto.tfvars.json.
  3. C. input.tf
  4. D. terraform.tfstate
  5. E. output.tf

Correct Answer: ABD
The .gitignore file should be configured to ignore Terraform files that either contain sensitive data or are not required to save.
Terraform state (terraform.tfstate) can contain sensitive data, depending on the resources in use and your definition of "sensitive." The state contains resource IDs and all resource attributes. For resources such as databases, this may contain initial passwords.
When using local state, state is stored in plain-text JSON files.
The terraform.tfvars file may contain sensitive data, such as passwords or IP addresses of an environment that you may not want to share with others.

QUESTION 24

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

  1. A. Sentinel
  2. B. Cost Estimation
  3. C. Audit Logs
  4. D. Clustering
  5. E. SAML/SSO

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

QUESTION 25

- (Exam Topic 2)
Which of the below are paid features of Terraform Cloud?

  1. A. Full API Coverage
  2. B. Secure variable Storage
  3. C. Roles/ Team management
  4. D. Cost Estimation
  5. E. Private Module Registry
  6. F. Sentinel policies

Correct Answer: CDF
https://www.hashicorp.com/products/terraform/pricing/

Page 6 of 19

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