Terraform Online Test
For jobseekers
Practice your skills and earn a certificate of achievement when you score in the top 25%.
Take a Practice TestFor 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
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.image_id
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.image_id
name = "container-${count.index}"
ports {
internal = var.port_number
external = var.port_number
}
}How can another module in the same project use it?
For jobseekers: get certified
Earn a free certificate by achieving top 25% on the Terraform test with public questions.
Take a Certification TestSample silver certificate
Sunshine Caprio
Java and SQL TestDomeCertificate
For companies: premium questions
Buy TestDome to access premium questions that can't be practiced.
3 more premium Terraform questions
Skills and topics tested
- Terraform
- Configuration
- Variable
- Modules
- Expressions
For job roles
- DevOps Engineer
- Terraform DevOps Engineer
Sample candidate report
AI-driven cheating detection
Protect against bad hires with automated highlighting of possible cheating attempts. Spend less time reviewing proctoring details and identify cheating in seconds.
What others say
Reliable, AI-ready technical testing
I thought the rise of AI would render it obsolete, BUT, the platform has definitely adapted to the changing times and I find it to be the only reliable way to do our online technical assessments nowadays. With its system proctoring and AI-detection tools, I feel confident that the applicants aren't able to cheat.
Product reviews
Used by
Solve all your skill testing needs
150+ Pre-made tests
130+ skills
AI-ready assessments
How TestDome works
Choose a pre-made test
or create a custom test
Invite candidates via
email, URL, or your ATS
Candidates take
a test remotely
Sort candidates and
get individual reports









