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.
You're writing a Terraform configuration that needs to read input from a local file called id_rsa.pub. Which built-in Terraform function can you use to import the file's contents as a string?
Define the purpose of state in Terraform.
terraform validate uses provider APIs to verify your infrastructure settings.
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?
Which are forbidden actions when the terraform state file is locked? Choose three correct answers.
When you use a backend that requires authentication, it is best practice to:
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?
terraform apply will fail if you have not run terraform plan first to update the plan output.
Terraform encrypts sensitive values stored in your state file.