This test is designed to assess a candidate's knowledge of the basics of technology and Terraform. It will cover topics such as the fundamentals of Terraform, its syntax, and how to use it to create and manage infrastructure. The test will also include questions about the various components of Terraform, such as providers, resources, and variables. Additionally, the test will evaluate a candidate's ability to troubleshoot common issues related to Terraform.
Example Question:
resource "aws_security_group" "allow_tls" {
name = "allow_tls"
description = "Allow TLS inbound traffic"
vpc_id = aws_vpc.main.id
ingress {
description = "TLS from VPC"
from_port = 443
to_port = 443
protocol = "tcp"
cidr_blocks = [aws_vpc.main.cidr_block]
}
}