All standard backend types support state storage, locking, and remote operations like plan.

All standard backend types support state storage, locking, and remote operations like plan. apply and destroy.A . TrueB . FalseView AnswerAnswer: A

September 6, 2021 No Comments READ MORE +

What will happen if you delete the VM using the cloud provider console, and run terraform apply again without changing any Terraform code?

You have a simple Terraform configuration containing one virtual machine (VM) in a cloud provider. You run terraform apply and the VM is created successfully. What will happen if you delete the VM using the cloud provider console, and run terraform apply again without changing any Terraform code?A . Terraform...

September 6, 2021 1 Comment READ MORE +

If you manually destroy infrastructure, what is the best practice reflecting this change in Terraform?

If you manually destroy infrastructure, what is the best practice reflecting this change in Terraform?A . Run terraform refreshB . It will happen automaticallyC . Manually update the state fireD . Run terraform importView AnswerAnswer: B

September 6, 2021 1 Comment READ MORE +

What is the name assigned by Terraform to reference this resource?

What is the name assigned by Terraform to reference this resource? A . compute_instanceB . mainC . googleD . teatView AnswerAnswer: A

September 5, 2021 No Comments READ MORE +

A Terraform provisioner must be nested inside a resource configuration block.

A Terraform provisioner must be nested inside a resource configuration block.A . TrueB . FalseView AnswerAnswer: A Explanation: Most provisioners require access to the remote resource via SSH or WinRM, and expect a nested connection block with details about how to connect. Explanation: Reference: https://www.terraform.io/docs/language/resources/provisioners/connection.html

September 5, 2021 No Comments READ MORE +

Which of the following is allowed as a Terraform variable name?

Which of the following is allowed as a Terraform variable name?A . countB . nameC . sourceD . versionView AnswerAnswer: B

September 5, 2021 No Comments READ MORE +

A provider configuration block is required in every Terraform configuration.

A provider configuration block is required in every Terraform configuration. Example: A . TrueB . FalseView AnswerAnswer: A Explanation: Reference: https://github.com/hashicorp/terraform/issues/17928

September 5, 2021 No Comments READ MORE +

What command should you run to display all workspaces for the current configuration?

What command should you run to display all workspaces for the current configuration?A . terraform workspaceB . terraform workspace showC . terraform workspace listD . terraform show workspaceView AnswerAnswer: C Explanation: terraform workspace list The command will list all existing workspaces. Reference: https://www.terraform.io/docs/cli/commands/workspace/list.html

September 5, 2021 No Comments READ MORE +

Where in your Terraform configuration do you specify a state backend?

Where in your Terraform configuration do you specify a state backend?A . The terraform blockB . The resource blockC . The provider blockD . The datasource blockView AnswerAnswer: A Explanation: Backends are configured with a nested backend block within the top-level terraform block. Reference: https://www.terraform.io/docs/language/settings/backends/configuration.html

September 5, 2021 No Comments READ MORE +

Which options will produce a list of the IDs?

You have declared a variable called var.list which is a list of objects that all have an attribute id. Which options will produce a list of the IDs? (Choose two.)A . { for o in var.list : o => o.id }B . var.list[*].idC . [ var.list[*].id ]D . [ for...

September 5, 2021 No Comments READ MORE +