This Terraform Online Test
Separates Good From Bad Hires

Screen with work-sample questions

Work-samples are the best predictor of work performance. 8,000+ companies use TestDome premium questions.

About the test

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.

Sample public questions

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?

Terraform
Configuration
Variable
Easy
3 min
mca
Public

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?

Terraform
Configuration
Modules
Variable
Easy
3 min
mca
Public

For jobseekers: get certified

Earn a free certificate by achieving top 25% on the Terraform test with public questions.

Take a Certification Test

Sample silver certificate

Kera Lafleur

Java and SQL

TestDome
Certificate

TestDome logo on certificate

For companies: premium questions

Buy TestDome to access premium questions that can't be practiced.
Get money back if you find any premium question answered online.

Sign Up to Offer this Test

Skills and topics tested

  • Terraform
  • Configuration
  • Variable
  • Modules
  • Expressions

For job roles

  • DevOps Engineer
  • Terraform DevOps Engineer

Solve all your skill testing needs

150+ Pre-made tests

From web development and database administration to project management and customer support. See all pre-made tests.

Multi-skills Test

Mix questions for different skills or even custom questions in one test. See an example.

How TestDome works

1
Choose a pre-made test or create a custom test.
2
Invite candidates via email, URL or your ATS
3
Candidates take a test remotely
4
Sort candidates and get individual reports

Want to know more?