Terraform Associate 004 Practice Test practice questions, page 6 of 7, with answer review and explanations.
Question 26
A variable block is shown in the Exhibit space on this page: You will use this variable as the value for the tags argument in several resources. The data format must be a set of key value pairs. Which type argument would you use?
type = map(string)
type = any
type = list(string)
type = object({ tags = string})
Question 27
Which of the following is allowed as a Terraform variable name?
name
source
version
count
Question 28
Terraform providers are part of the Terraform core binary.
True
False
Question 29
Where can Terraform not load a provider from?
Provider plugin cache
Source code
Official HashiCorp distribution on releases.hashicorp.com
Plugins directory
Question 30
terraform init creates an example main.tf file in the current directory.