Question 97

- (Exam Topic 2)
What is the default backend for Terraform?

Correct Answer:C
By default, Terraform uses the "local" backend, which is the normal behavior of Terraform you're used to. https://www.terraform.io/docs/backends/index.html

Question 98

- (Exam Topic 1)
You have provisioned some virtual machines (VMs) on Google Cloud Platform (GCP) using the gcloud command line tool. However, you are standardizing with Terraform and want to manage these VMs using Terraform instead.
What are the two things you must do to achieve this? (Choose two.)

Correct Answer:BC
You should create the equivalent configuration first, and then run import to load it on the state file.

Question 99

- (Exam Topic 1)
One remote backend configuration always maps to a single remote workspace.

Correct Answer:B
The remote backend can work with either a single remote Terraform Cloud workspace, or with multiple similarly-named remote workspaces (like networking-dev and networking-prod). The workspaces block of the backend configuration determines which mode it uses: To use a single remote Terraform Cloud workspace, set workspaces.name to the remote workspace's full name (like networking-prod). To use multiple remote workspaces, set workspaces.prefix to a prefix used in all of the desired remote workspace names. For example, set prefix = "networking-" to use Terraform cloud workspaces with names like networking-dev and networking-prod. This is helpful when mapping multiple Terraform CLI workspaces used in a single Terraform configuration to multiple Terraform Cloud workspaces.

Question 100

- (Exam Topic 1)
What is the name assigned by Terraform to reference this resource?
TA-002-P dumps exhibit

Correct Answer:B

Question 101

- (Exam Topic 4)
True or False. The terraform refresh command is used to reconcile the state Terraform knows about (via its state file) with the real-world infrastructure. If drift is detected between the real-world infrastructure and the last known-state, it will modify the infrastructure to correct the drift.

Correct Answer:A
https://www.terraform.io/docs/commands/refresh.html

Question 102

- (Exam Topic 1)
If a module uses a local variable, you can expose that value with a terraform output.

Correct Answer:A
Output values are like function return values.
Reference: https://www.terraform.io/docs/language/values/locals.html https://www.terraform.io/docs/language/values/outputs.html

START TA-002-P EXAM