Categories
Terraform

Terraform Associate Certification: Quiz

8
Created on

Terraform Associate Certification: Quiz

1 / 5

You have defined the values for your variables in the file terraform.tfvars, and saved it in the same directory as your Terraform configuration. Which of the following commands will use those values when creating an execution plan?

2 / 5

Consider the following Terraform 0.12 configuration snippet:

variable "vpc_cidrs" {
type = map
default = {
us-east-1 = "10.0.0.0/16"
us-east-2 = "10.1.0.0/16"
us-west-1 = "10.2.0.0/16"
us-west-2 = "10.3.0.0/16"
}
}

resource "aws_vpc" "shared" {
cidr_block = _____________
}

3 / 5

Usernames and passwords referenced in the Terraform code, even as variables, will end up in plain text in the state file.

4 / 5

State locking does not happen automatically and must be specified at run.

5 / 5

Command Terraform refresh will update state file?

Your score is

The average score is 53%

0%