Terraform Associate Practice Test practice questions, page 4 of 15, with answer review and explanations.
Question 16
What information does the public Terraform Module Registry automatically expose about published modules?
Required input variables
Optional inputs variables and default values
Outputs
All of the above
None of the above
Question 17
If a module uses a local values, you can expose that value with a terraform output.
True
False
Question 18
You should store secret data in the same version control repository as your Terraform configuration.
True
False
Question 19
Which of the following is not a valid string function in Terraform?
split
join
slice
chomp
Question 20
You have provisioned some virtual machines (VMs) on Google Cloud Platform (GCP) using the gcloud command line tool. However, you are standardizing with Terraform and want to manage these VMs using Terraform instead. What are the two things you must do to achieve this? (Choose two.)
Provision new VMs using Terraform with the same VM names
Use the terraform import command for the existing VMs
Write Terraform configuration for the existing VMs