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?
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?
Setting the TF_LOG environment variable to DEBUG causes debug messages to be logged into stdout.
Infrastructure as Code (laC) can be stored in a version control system along with application code.
What Terraform command always causes a state file to be updated with changes that might have been made outside of Terraform?
Which of these statements about HCP Terraform/Terraform Cloud workspaces is false?
Which type of block fetches or computes information for use elsewhere in a Terraform configuration?
A resource block is shown in the Exhibit space of this page. What is the Terraform resource name of the resource block?
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?
Which option cannot be used to keep secrets out of Terraform configuration files?
PDF + Testing Engine
|
---|
$66 |
Testing Engine
|
---|
$50 |
PDF (Q&A)
|
---|
$42 |
HashiCorp Free Exams |
---|
![]() |