Which are examples of infrastructure as code? Choose two correct answers.
terraform validate uses provider APIs to verify your infrastructure settings.
Before you can use a new backend or HCP Terraform/Terraform Cloud integration, you must first execute terraform init.
You created infrastructure outside the Terraform workflow that you now want to manage using Terraform. Which command brings the infrastructure into Terraform state?
Which of the following should you put into the required_providers block?
Which of the following can you do with terraform plan? (Pick 2 correct responses)
One remote backend configuration always maps to a single remote workspace.
You ate making changes to existing Terraform code to add some new infrastructure. When is the best time to run terraform validate?
You add a new provider to your configuration and immediately run terraform apply in the CD using the local backend. Why does the apply fail?
You add a new resource to an existing Terraform configuration, but do not update the version constraint in the configuration. The existing and new resources use the same provider. The working contains a .terraform.lock, hc1 file.
How will Terraform choose which version of the provider to use?
|
PDF + Testing Engine
|
|---|
|
$49.5 |
|
Testing Engine
|
|---|
|
$37.5 |
|
PDF (Q&A)
|
|---|
|
$31.5 |
HashiCorp Free Exams |
|---|
|