HashiCorp Terraform Associate 003 Practice Test - Questions Answers, Page 9
List of questions
Related questions
Module version is required to reference a module on the Terraform Module Registry.
You ate creating a Terraform configuration which needs to make use of multiple providers, one for AWS and one for Datadog. Which of the following provider blocks would allow you to do this?
A)
B)
C)
D)
terraform validate confirms that your infrastructure matches the Terraform state file.
Which command must you first run before performing further Terraform operations in a working directory?
A developer accidentally launched a VM (virtual machine) outside of the Terraform workflow and ended up with two servers with the same name. They don't know which VM Terraform manages but do have a list of all active VM IDs.
Which of the following methods could you use to discover which instance Terraform manages?
When does Sentinel enforce policy logic during a Terraform Cloud run?
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 correct answers.
Which of the following ate advantages of using infrastructure as code (laC) instead of provisioning with a graphical user interface (GUI)? Choose two correct answers.
Outside of the required_providers block, Terraform configurations always refer to providers by their local names.
Terraform providers are always installed from the Internet.
Question