- (Exam Topic 3)
You cannot publish your own modules on the Terraform Registry.
Correct Answer:A
Anyone can publish and share modules on the Terraform Registry. https://www.terraform.io/docs/registry/modules/publish.html
- (Exam Topic 1)
What is the name assigned by Terraform to reference this resource?
Correct Answer:B
- (Exam Topic 1)
You have declared an input variable called environment in your parent module. What must you do to pass the value to a child module in the configuration?
Correct Answer:C
"That module may call other modules and connect them together by passing output values from one to input values of another." https://www.terraform.io/language/modules/develop
- (Exam Topic 2)
What does terrafom plan do ?
Correct Answer:A
- (Exam Topic 2)
Environment variables can be used to set variables. The environment variables must be in the format " "_
Correct Answer:C
Environment variables can be used to set variables. The environment variables must be in the format TF_VAR_name and this will be checked last for a value. For example:
export TF_VAR_region=us-west-1
export TF_VAR_ami=ami-049d8641 export TF_VAR_alist='[1,2,3]'
export TF_VAR_amap='{ foo = "bar", baz = "qux" }' https://www.terraform.io/docs/commands/environment-variables.html