Question 67

- (Exam Topic 4)
terraform destroy is the only way to remove infrastructure.

Correct Answer:B

Question 68

- (Exam Topic 4)
Select the answer below that completes the following statement: Terraform Cloud can be managed from the CLI but requires ______?

Correct Answer:A
API and CLI access are managed with API tokens, which can be generated in the Terraform Cloud UI. Each user can generate any number of personal API tokens, which allow access with their own identity and permissions. Organizations and teams can also generate tokens for automating tasks that aren't tied to an individual user.

Question 69

- (Exam Topic 4)
You have decided to create a new Terraform workspace to deploy a development environment. What is different about this workspace?

Correct Answer:C

Question 70

- (Exam Topic 4)
Terraform Cloud is more powerful when you integrate it with your version control system (VCS) provider. Select all the supported VCS providers from the answers below. (select four)

Correct Answer:ACDE

Terraform Cloud supports the following VCS providers:
- https://www.terraform.io/docs/cloud/vcs/github.html
- https://www.terraform.io/docs/cloud/vcs/github.html
- https://www.terraform.io/docs/cloud/vcs/github-enterprise.html
- https://www.terraform.io/docs/cloud/vcs/gitlab-com.html
- https://www.terraform.io/docs/cloud/vcs/gitlab-eece.html
- https://www.terraform.io/docs/cloud/vcs/bitbucket-cloud.html
- https://www.terraform.io/docs/cloud/vcs/bitbucket-server.html
- https://www.terraform.io/docs/cloud/vcs/azure-devops-server.html
- https://www.terraform.io/docs/cloud/vcs/azure-devops-services.html https://www.terraform.io/docs/cloud/vcs/index.html#supported-vcs-providers

Question 71

- (Exam Topic 4)
You are using a networking module in your Terraform configuration with the name label my_network. In your main configuration you have the following code:
TA-002-P dumps exhibit
When you run terraform validate, you get the following error:
TA-002-P dumps exhibit
What must you do to successfully retrieve this value from your networking module?

Correct Answer:C
In a parent module, outputs of child modules are available in expressions as module.<MODULE NAME>.<OUTPUT NAME>. For example, if a child module named web_server declared an output named instance_ip_addr, you could access that value as module.web_server.instance_ip_addr.

Question 72

- (Exam Topic 1)
Which argument(s) is (are) required when declaring a Terraform variable?

Correct Answer:B
The variable declaration can also include a default argument.
Reference: https://www.terraform.io/docs/language/values/variables.html

START TA-002-P EXAM