What feature stops multiple users from operating on the Terraform state at the same time?
Which type of block fetches or computes information for use elsewhere in a Terraform configuration?
Which provider authentication method prevents credentials from being stored in the state file?
What are some benefits of using Sentinel with Terraform Cloud/Terra form Cloud? Choose three correct answers.
How could you reference an attribute from the vsphere_datacenter data source for use with the datacenter_id argument within the vsphere_folder resource in the following configuration?
In a Terraform Cloud workspace linked to a version control repository, speculative plan runs start automatically when you merge or commit changes to version control.
You decide to move a Terraform state file to Amazon S3 from another location. You write the code below into a file called backend.tf.
Which command will migrate your current state file to the new S3 remote backend?
Module variable assignments are inherited from the parent module and you donotneed to explicitly set them.
Which of the following commands would you use to access all of the attributes and details of a resource managed by Terraform?
What information does the public Terraform Module Registry automatically expose about published modules?
You modified your Terraform configuration and run Terraform plan to review the changes. Simultaneously, your teammate manually modified the infrastructure component you are working on. Since you already ran terraform plan locally, the execution plan for terraform apply will be the same.
A developer on your team is going lo leaf down an existing deployment managed by Terraform and deploy a new one. However, there is a server resource named aws instant.ubuntu[l] theywould like to keep. What command should they use to tell Terraform to stop managing that specific resource?
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 does Terraform not reference when running a terraform apply -refresh-only ?
You ate making changes to existing Terraform code to add some new infrastructure. When is the best time to run terraform validate?
terraform validate reports syntax check errors for which of the following?
How can a ticket-based system slow down infrastructure provisioning and limit the ability to scale? Choose two correct answers.
When you use a remote backend that needs authentication, HashiCorp recommends that you:
Setting the TF_LOG environment variable to DEBUG causes debug messages to be logged into stdout.
When should you write Terraform configuration files for existing infrastructure that you want to start managing with Terraform?
If a module declares a variable with a default, that variable must also be defined within the module.
Which two steps are required to provision new infrastructure in the Terraform workflow? Choose two correct answers.
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 used Terraform lo create an ephemeral development environment in the (loud and are now ready to destroy all the Infrastructure described by your Terraform configuration To be safe, you would like to first see all the infrastructure that Terraform will delete.
Which command should you use to show all of the resources that mil be deleted? Choose two correct answers.
Changing the Terraform backend from the default "local" backend to a different one after performing your first terrafom apply is:
What type of block is used to construct a collection of nested configuration blocks?
As a member of an operations team that uses infrastructure as code (lac) practices, you are tasked with making a change to an infrastructure stack running in a public cloud. Which pattern would follow laC best practices for making a change?
Which of the following command would be use to access all of the attributes and details of a resource managed by Terraform?
How would you output returned values from a child module in the Terraform CLI output?