- (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
- (Exam Topic 2)
Which one of the following will run echo 0 and echo 1 on a newly created host?
Correct Answer:
D
remote-exec Provisioner Example usage
resource "aws_instance" "web" {
# ...
provisioner "remote-exec" { inline = [
"puppet apply",
"consul join ${aws_instance.web.private_ip}",
]
}
}
- (Exam Topic 4)
What does terraform refresh modify?
Correct Answer:
C
- (Exam Topic 1)
You would like to reuse the same Terraform configuration for your development and production environments with a different state file for each.
Which command would you use?
Correct Answer:
B
https://www.terraform.io/language/state/workspaces#when-to-use-multiple-workspaces