Which task does terraform init not perform?
Answer(s): D
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.)
Answer(s): B,D
A splat expression provides a more concise way to express a common operation that could otherwise be performed with a for expression.
https://www.terraform.io/language/expressions/splat
Which argument(s) is (are) required when declaring a Terraform variable?
Answer(s): B
The variable declaration can also include a default argument.
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?
Answer(s): C
VersionWhen 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}
https://www.terraform.io/docs/language/modules/sources.html
Post your Comments and Discuss HashiCorp TA-002-P exam prep with other Community members:
Our website is free, but we have to fight against bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the TA-002-P content, but please register or login to continue.
We’re offering these study questions to support your success. The least you can do? Drop a useful comment about each question. Help others. Build the community.