What value does the Terraform Cloud private registry provide over the public Terraform Module Registry?
You've used Terraform to deploy a virtual machine and a database. You want to replace this virtual machine instance with an identical one without affecting the database. What is the best way to achieve this using Terraform?
What are some benefits of using Sentinel with Terraform Cloud/Terra form Cloud? Choose three correct answers.
What kind of configuration block will create an infrastructure object with settings specified within the block?
What are some benefits of using Sentinel with Terraform Cloud/Terraform Cloud? Choose three correct answers.
If a module declares a variable with a default, that variable must also be defined within the module.
You want to define multiple data disks as nested blocks inside the resource block for a virtual machine. What Terraform feature would help you define the blocks using the values in a variable?
Which of these are benefits of using Sentinel with HCP Terraform/Terraform Cloud? (Pick the 3 correct responses)
What does Terraform not reference when running a terraform apply -refresh-only ?
Changing the Terraform backend from the default "local" backend to a different one after performing your first terrafom apply is:
When using multiple configuration of the same Terraform provider, what meta-argument must you include in any non-default provider configurations?
Once you configure a new Terraform backend with a terraform code block, which command(s) should you use to migrate the state file?
A module block is shown in the Exhibit space of this page. When you use a module block to reference a module from the Terraform Registry such as the one in the example, how do you specify version 1.0.0 of the module?
How can a ticket-based system slow down infrastructure provisioning and limit the ability to scale? Choose two correct answers.
Which two steps are required to provision new infrastructure in the Terraform workflow? Choose two correct answers.
Which type of block fetches or computes information for use elsewhere in a Terraform configuration?
Which of these are features of HCP Terraform/Terraform Cloud? Pick the 2 correct responses below.
It is best practice to store secret data in the same version control repository as your Terraform configuration.
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?
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.
What information does the public Terraform Module Registry automatically expose about published modules?
Multiple team members are collaborating on infrastructure using Terraform and want to format the* Terraform code following standard Terraform-style convention.
How should they ensure the code satisfies conventions?
How would you reference the "name’’ value of the second instance of this resource?
What Terraform command always causes a state file to be updated with changes that might have been made outside of Terraform?
You have a list of numbers that represents the number of free CPU cores on each virtual cluster:
What Terraform function could you use to select the largest number from the list?
terraform validate confirms that your infrastructure matches the Terraform state file.
What is the name of the default file where Terraform stores the state?
Type your answer in the field provided. The text field is not case-sensitive and all variations of the correct answer are accepted.
What feature stops multiple users from operating on the Terraform state at the same time?
A Terraform output that sets the "sensitive" argument to true will not store that value in the state file.
You must use different Terraform commands depending on the cloud provider you use.
Which command should you run to check if all code in a Terraform configuration that references multiple modules is properly formatted without making changes?
Which of these actions will prevent two Terraform runs from changing the same state file at the same time?
When should you write Terraform configuration files for existing infrastructure that you want to start managing with Terraform?
Your security team scanned some Terraform workspaces and found secrets stored in plaintext in state files. How can you protect that data?