Which of the following is not true of Terraform providers?
Which of the following is not true of Terraform providers?A . Providers can be written by individuals B. Providers can be maintained by a community of users C. Some providers are maintained by HashiCorp D. Major cloud vendors and non-cloud vendors can write, maintain, or collaborate on Terraform providers E....
Terraform can only manage resource dependencies if you set them explicitly with the depends_on argument.
Terraform can only manage resource dependencies if you set them explicitly with the depends_on argument.A . True B. FalseView AnswerAnswer: A Explanation: "Use the depends_on meta-argument to handle hidden resource or module dependencies that Terraform cannot automatically infer. You only need to explicitly specify a dependency when a resource or...
Which two steps are required to provision new infrastructure in the Terraform workflow? (Choose two.)
Which two steps are required to provision new infrastructure in the Terraform workflow? (Choose two.)A . Destroy B. Apply C. Import D. Init E. ValidateView AnswerAnswer: B,D Explanation: Reference: https://www.terraform.io/guides/core-workflow.html
What is the workflow for deploying new infrastructure with Terraform?
What is the workflow for deploying new infrastructure with Terraform?A . terraform plan to import the current infrastructure to the state file, make code changes, and terraform apply to update the infrastructure B. Write a Terraform configuration, run terraform show to view proposed changes, and terraform apply to create new...
When you initialize Terraform, where does it cache modules from the public Terraform Module Registry?
When you initialize Terraform, where does it cache modules from the public Terraform Module Registry?A . On disk in the /tmp directory B. In memory C. On disk in the .terraform sub-directory D. They are not cachedView AnswerAnswer: C Explanation: "A hidden .terraform directory, which Terraform uses to manage cached...
Terraform provisioners can be added to any resource block.
Terraform provisioners can be added to any resource block.A . True B. FalseView AnswerAnswer: A Explanation: https://www.phillipsj.net/posts/introduction-to-terraform-provisioners/ As you continue learning about Terraform, you will start hearing about provisioners. Terraform provisioners can be created on any resource and provide a way to execute actions on local or remote machines. https://www.terraform.io/language/resources/provisioners/local-exec
The terraform.tfstate file always matches your currently built infrastructure.
The terraform.tfstate file always matches your currently built infrastructure.A . True B. FalseView AnswerAnswer: B Explanation: Reference: https://www.terraform.io/docs/language/state/index.html
Which backend does the Terraform CLI use by default?
Which backend does the Terraform CLI use by default?A . Terraform Cloud B. Consul C. Remote D. LocalView AnswerAnswer: D Explanation: "By default, Terraform implicitly uses a backend called local to store state as a local file on disk. Every other backend stores state in a remote service of some...
What is the name assigned by Terraform to reference this resource?
What is the name assigned by Terraform to reference this resource? A . compute_instance B. main C. google D. testView AnswerAnswer: B
What are the two things you must do to achieve this?
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.)A . Provision new VMs...