Check our public questions below
Solve questions to get feedback or
take a practice test and get a free certificate.
Solve questions to get feedback or
take a practice test and get a free certificate.
Work-samples are the best predictor of work performance. 8,000+ companies use TestDome premium questions.
The Terraform online test evaluates a candidate's knowledge of Terraform's scripting language and how to use it to create infrastructure.
It's an ideal test for the pre-employment screening of candidates applying for roles such as Terraform engineers and developers.
This test requires candidates to demonstrate an understanding of Terraform's HCL language and how it's used to create commonly used infrastructure.
A bridge design company is using Terraform to manage containers for programs that compute bridge integrity. The following is a snippet from their main.tf file:
resource "docker_image" "bridge_integrity" {
name = "bridge_integrity:latest"
}
resource "docker_container" "bridge_integrity_container" {
count = length(var.container_names)
image = docker_image.bridge_integrity.latest
name = var.container_names[count.index]
ports {
internal = 80
external = 80
}
}
variable "container_names" {
type = list(string)
default = ["first", "second"]
}
What can be concluded from it?
A company managing public parks is using Terraform modules for their web servers.
The following is a snippet from the module in the web_server folder:
variable "count_of_containers" {
type = number
}
variable "port_number" {
type = number
}
resource "docker_image" "park_web_image" {
name = "parkweb:latest"
}
resource "docker_container" "park_web_server" {
count = var.count_of_containers
image = docker_image.park_web_image.latest
name = "container-${count.index}"
ports {
internal = var.port_number
external = var.port_number
}
}
How can another module in the same project use it?
Earn a free certificate by achieving top 25% on the Terraform test with public questions.
Take a Certification TestKera Lafleur
Java and SQL
TestDome
Certificate
Buy TestDome to access premium questions that can't be practiced.
Get money back if you find any premium question answered online.
From web development and database administration to project management and customer support. See all pre-made tests.
From JavaScript and SQL to English and customer support. See all questions to filter by skill.
Mix questions for different skills or even custom questions in one test. See an example.