While attempting to deploy resources into your cloud provider using Terraform, you begin to see some odd behavior and experience slow responses. In order to troubleshoot you decide to turn on Terraform debugging. Which environment variables must be configured to make Terraform ' s logging more verbose?
How can you trigger a run in a Terraform Cloud workspace that is connected to a Version Control System (VCS) repository?
What is an advantage of immutable infrastructure?
You have created a main.tf Terraform configuration consisting of an application server, a database and a load balanced. You ran terraform apply and Terraform created all of the resources successfully.
Now you realize that you do not actually need the load balancer, so you run terraform destroy without any flags. What will happen?
You use a cloud provider account that is shared with other team members. You previously used Terraform to create a load balancer that listens on port 80. After application changes, you updated the Terraform code to change the port to 443.
You run terraform plan and see that the execution plan shows the port changing from 80 to 443 like you intended and step away to grab some coffee.
In the meantime, another team member manually changes the load balancer port to 443 through the cloud provider console before you get back to your desk.
What will happen when you run terraform apply upon returning to your desk?
terraform destroy is the only way to remove infrastructure with Terraform.
Why is it important to treat your Terraform state file as sensitive?
You want to create a string that is a combination of a generated random_id and a variable, and reuse that string several times in your configuration.
What is the simplest correct way to implement this without repeating the random_id and variable?
HashiCorp Configuration Language (HCL) supports user-denned functions.
How does Terraform manage most dependencies between resources?
|
PDF + Testing Engine
|
|---|
|
$41.25 |
|
Testing Engine
|
|---|
|
$31.25 |
|
PDF (Q&A)
|
|---|
|
$26.25 |
HashiCorp Free Exams |
|---|
|