Terraform Online Test

Test real-world Terraform skills that matter in a world with AI. Protected by AI proctoring.

For jobseekers

Practice your skills and earn a certificate of achievement when you score in the top 25%.

Take a Practice Test

For companies

Screen real Terraform skills, flag human or AI assistance, and interview the right people.

About the test

The Terraform online test assesses knowledge of using Terraform and its scripting language in order to manage data center infrastructure.

The assessment includes work-sample tasks such as:

  • Working with the HCL language.
  • Creating modules to ensure reusability and maintainability.
  • Using Terraform command line interface.

A good Terraform engineer or developer should be familiar with Terraform’s HCL language and other tools in order to create and maintain data center infrastructure.

Sample public questions

Easy
3 min
mca
Public
Terraform
Configuration
Modules
Variable

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?

Easy
3 min
mca
Public
Terraform
Configuration
Variable

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?

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

Sunshine Caprio

Java and SQL
TestDome
Certificate
TestDome logo icon

For companies: premium questions

Buy TestDome to access premium questions that can't be practiced.

Ready to interview?

Use these and other questions from our library with our
Code Interview Platform.

Sample image of the interviews app.

3 more premium Terraform questions

Insurance Development, Zoo Deploy, Gardening Supplies.

Skills and topics tested

  • Terraform
  • Configuration
  • Variable
  • Modules
  • Expressions

For job roles

  • DevOps Engineer
  • Terraform DevOps Engineer

Sample candidate report

Need it fast? AI-crafted tests for your job role

TestDome generates custom tests tailored to the specific skills you need for your job role.
Sign up now to try it out and see how AI can streamline your hiring process!

Use AI Test Generator

What others say

Decorative quote

Simple, straight-forward technical testing

TestDome is simple, provides a reasonable (though not extensive) battery of tests to choose from, and doesn't take the candidate an inordinate amount of time. It also simulates working pressure with the time limits.

Jan Opperman, Grindrod Bank

Product reviews

G2 - Crowd Badge
G2 - High Performer - Winter (2025)
Capterra - 4.5 Stars
Capterra - Ease of Use (2025)

Used by

Solve all your skill testing needs

150+ Pre-made tests

From web development and database administration to accounting and MS Excel. See all pre-made tests.

130+ skills

From SQL and Python to Attention to Detail and Logical Reasoning. See all questions to filter by skill.

AI-ready assessments

Test what matters in a world with AI, protected by AI proctoring that flags any assistance.

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

Enterprise-ready technical solutions

Multi-user Account

Support multiple users with shared permissions and role-based access control.

GDPR compliance

TestDome is fully GDPR compliant, see our legal pages .

Single Sign-On (SSO)

Use SSO for easy and secure user authentication for multiple users in your company. Request access.

Data anonymization

Automatic data anonymization after a defined period of time — or on-demand.