HashiCorp TA-002-P Exam (page: 8)
HashiCorp Certified: Terraform Associate
Updated on: 15-Feb-2026

Viewing Page 8 of 91

What value does the Terraform Cloud/Terraform Enterprise private module registry provide over the public Terraform Module Registry?

  1. The ability to share modules with public Terraform users and members of Terraform Enterprise Organizations
  2. The ability to tag modules by version or release
  3. The ability to restrict modules to members of Terraform Cloud or Enterprise organizations
  4. The ability to share modules publicly with any user of Terraform

Answer(s): C

Explanation:

Terraform Cloud's private registry works similarly to the public Terraform Registry and helps you share Terraform providers and Terraform modules across your organization. It includes support for versioning and a searchable list of available providers and modules.



Which task does terraform init not perform?

  1. Sources all providers present in the configuration and ensures they are downloaded and available locally
  2. Connects to the backend
  3. Sources any modules and copies the configuration locally
  4. Validates all required variables are present

Answer(s): D


Reference:

https://www.terraform.io/docs/cli/commands/init.html



You have declared a variable called var.list which is a list of objects that all have an attribute id.
Which options will produce a list of the IDs? (Choose two.)

  1. { for o in var.list : o => o.id }
  2. var.list[*].id
  3. [ var.list[*].id ]
  4. [ for o in var.list : o.id ]

Answer(s): B,D

Explanation:

A splat expression provides a more concise way to express a common operation that could otherwise be performed with a for expression.


Reference:

https://www.terraform.io/language/expressions/splat



Which argument(s) is (are) required when declaring a Terraform variable?

  1. type
  2. default
  3. description
  4. All of the above
  5. None of the above

Answer(s): B

Explanation:

The variable declaration can also include a default argument.


Reference:

https://www.terraform.io/docs/language/values/variables.html



When using a module block to reference a module stored on the public Terraform Module Registry such as:


How do you specify version 1.0.0?

  1. Modules stored on the public Terraform Module Registry do not support versioning
  2. Append ?ref=v1.0.0 argument to the source path
  3. Add version = "1.0.0" attribute to module block
  4. Nothing – modules stored on the public Terraform Module Registry always default to version 1.0.0

Answer(s): C

Explanation:

Version
When using modules installed from a module registry, we recommend explicitly constraining the acceptable version numbers to avoid unexpected or unwanted changes.
Use the version argument in the module block to specify versions: module "consul" {
source = "hashicorp/consul/aws"
version = "0.0.5"
servers = 3
}


Reference:

https://www.terraform.io/docs/language/modules/sources.html



Viewing Page 8 of 91



Share your comments for HashiCorp TA-002-P exam with other users:

Prateek 9/18/2023 11:13:00 AM

kindly share the dumps
UNITED STATES


Irfan 11/25/2023 1:26:00 AM

very nice content
Anonymous


php 6/16/2023 12:49:00 AM

passed today
Anonymous


Durga 6/23/2023 1:22:00 AM

hi can you please upload questions
Anonymous


JJ 5/28/2023 4:32:00 AM

please upload quetions
THAILAND


Norris 1/3/2023 8:06:00 PM

i passed my exam thanks to this braindumps questions. these questions are valid in us and i highly recommend it!
UNITED STATES


abuti 7/21/2023 6:10:00 PM

are they truely latest
Anonymous


Curtis Nakawaki 7/5/2023 8:46:00 PM

questions appear contemporary.
UNITED STATES


Vv 12/2/2023 6:31:00 AM

good to prepare in this site
UNITED STATES


praveenkumar 11/20/2023 11:57:00 AM

very helpful to crack first attempt
Anonymous


asad Raza 5/15/2023 5:38:00 AM

please upload this exam
CHINA


Reeta 7/17/2023 5:22:00 PM

please upload the c_activate22 dump questions with answer
SWEDEN


Wong 12/20/2023 11:34:00 AM

q10 - the answer should be a. if its c, the criteria will meet if either the prospect is not part of the suppression lists or if the job title contains vice president
MALAYSIA


david 12/12/2023 12:38:00 PM

this was on the exam as of 1211/2023
Anonymous


Tink 7/24/2023 9:23:00 AM

great for prep
GERMANY


Jaro 12/18/2023 3:12:00 PM

i think in question 7 the first answer should be power bi portal (not power bi)
Anonymous


9eagles 4/7/2023 10:04:00 AM

on question 10 and so far 2 wrong answers as evident in the included reference link.
Anonymous


Tai 8/28/2023 5:28:00 AM

wonderful material
SOUTH AFRICA


VoiceofMidnight 12/29/2023 4:48:00 PM

i passed!! ...but barely! got 728, but needed 720 to pass. the exam hit me with labs right out of the gate! then it went to multiple choice. protip: study the labs!
UNITED STATES


A K 8/3/2023 11:56:00 AM

correct answer for question 92 is c -aws shield
Anonymous


Nitin Mindhe 11/27/2023 6:12:00 AM

great !! it is really good
IRELAND


BailleyOne 11/22/2023 1:45:00 AM

explanations for the answers are to the point.
Anonymous


patel 10/25/2023 8:17:00 AM

how can rea next
INDIA


MortonG 10/19/2023 6:32:00 PM

question: 128 d is the wrong answer...should be c
EUROPEAN UNION


Jayant 11/2/2023 3:15:00 AM

thanks for az 700 dumps
Anonymous


Bipul Mishra 12/14/2023 7:12:00 AM

thank you for this tableau dumps . it will helpfull for tableau certification
UNITED STATES


hello 10/31/2023 12:07:00 PM

good content
Anonymous


Matheus 9/3/2023 2:14:00 PM

just testing if the comments are real
UNITED STATES


yenvti2@gmail.com 8/12/2023 7:56:00 PM

very helpful for exam preparation
Anonymous


Miguel 10/5/2023 12:16:00 PM

question 11: https://help.salesforce.com/s/articleview?id=sf.admin_lead_to_patient_setup_overview.htm&type=5
SPAIN


Noushin 11/28/2023 4:52:00 PM

i think the answer to question 42 is b not c
CANADA


susan sandivore 8/28/2023 1:00:00 AM

thanks for the dump
Anonymous


Aderonke 10/31/2023 12:51:00 AM

fantastic assessments
Anonymous


Priscila 7/22/2022 9:59:00 AM

i find the xengine test engine simulator to be more fun than reading from pdf.
GERMANY