Test Your Knowledge: AWS VPC and Terraform

1. What is the purpose of a VPC in AWS?

2. What does the CIDR block define in a VPC?

3. What is the purpose of an internet gateway in a VPC?

4. What does the argument `map_public_ip_on_launch = true` do in Terraform?

5. What is the purpose of the `aws_route_table_association` resource in Terraform?

6. What is the purpose of a NAT gateway in a VPC?

7. What is the purpose of the `cidr_block` argument in the `aws_vpc` resource?

8. What is the purpose of the `aws_internet_gateway` resource in Terraform?

9. What is the purpose of the `aws_subnet` resource in Terraform?

10. What is the purpose of the `aws_route_table` resource in Terraform?