HashiCorp Terraform Associate 003 Practice Test - Questions Answers, Page 20
List of questions
Related questions
Which of these are features of HCP Terraform/Terraform Cloud? Pick the 2 correct responses below.
Automated infrastructure deployment visualization.
A web-based user interface (UI).
Automatic backups of configuration and state.
Remote state storage.
Which of the following is not a way to trigger terraform destroy?
Using the destroy command with auto-approve.
Passing --destroy at the end of a plan request.
Running terraform destroy from the correct directory and then typing yes when prompted in the CLI.
When you include a module block in your configuration that references a module from the Terraform Registry, the 'version' attribute is required.
True
False
Your root module contains a variable named num_servers. Which is the correct way to pass its value to a child module with an input named servers?
servers = num_servers
servers = var(num_servers)
servers = var.num_servers
servers = ${var.num_servers}
What is the provider for the resource shown in the Exhibit?
resource 'aws_vpc' 'main' {
name = 'test'
}
VPC
test
main
aws
Question