Search test library by skills or roles
⌘ K

Terraform Online Test

The Terraform Online Test uses scenario-based MCQ questions to evaluate Terraform's core concepts and components. The test evaluates a candidate's ability to define infrastructure as code to create, deploy and scale Web Apps, Databases, Virtual Machines, Storage, Kubernetes clusters etc.

Covered skills:

  • Terraform basics (Creating; Changing; Destroying resources)
  • Using Terraform for multi-cloud deployments (AWS; Azure; GCP)
  • Provision services using Terraform
  • Writing Terraform configuration
  • Parameterising configuration
  • Terraform state management
  • Create Terraform templates
  • Deploying services (containers; PaaS; IaaS; ARM templates)
  • DevOps for Terraform
Get started for free
Preview questions

About the Terraform Test


The Terraform Online Test helps recruiters and hiring managers identify qualified candidates from a pool of resumes, and helps in taking objective hiring decisions. It reduces the administrative overhead of interviewing too many candidates and saves time by filtering out unqualified candidates at the first step of the hiring process.

The test screens for the following skills that hiring managers look for in candidates:

  • Creating, changing, and destroying resources using Terraform
  • Using Terraform for multi-cloud deployments on AWS, Azure, and GCP
  • Provisioning services using Terraform
  • Writing Terraform configuration files
  • Parameterizing Terraform configurations
  • Managing Terraform state
  • Creating Terraform templates
  • Deploying services using Terraform (containers, PaaS, IaaS, ARM templates)
  • Implementing DevOps practices for Terraform

1200+ customers in 80 countries


Use Adaface tests trusted by recruitment teams globally. Adaface skill assessments measure on-the-job skills of candidates, providing employers with an accurate tool for screening potential hires.

customers in 75 countries
Get started for free
Preview questions

Non-googleable questions


We have a very high focus on the quality of questions that test for on-the-job skills. Every question is non-googleable and we have a very high bar for the level of subject matter experts we onboard to create these questions. We have crawlers to check if any of the questions are leaked online. If/ when a question gets leaked, we get an alert. We change the question for you & let you know.

How we design questions

These are just a small sample from our library of 15,000+ questions. The actual questions on this Terraform Online Test will be non-googleable.

🧐 Question

Medium

Dependencies and conditionals
Resources
Tags
Solve
Given the following Terraform code:
 image
What would be the value of the extra_security_group_id output when create_security_group is set to true, project_environment is set to "staging", and enable_additional_security_group is set to false?

Easy

Instance Security Group
AWS
Resources
Solve
Consider the following Terraform code:
 image
Which statement is true about this Terraform code?

A. The code creates an EC2 instance and assigns an EIP to it within a VPC.
B. The code creates an EC2 instance, but it is not associated with the specified security group.
C. The code creates an EC2 instance and an EIP, but does not associate the EIP with the instance.
D. The code creates a security group that allows SSH access to the EC2 instance from anywhere.
E. The code creates an EC2 instance with the specified security group, but does not assign an EIP to it.

Medium

Resource Attributes
Resource Dependencies
Resource Attributes
Infrastructure As Code
Aws Configuration
Solve
Consider the following Terraform code snippet, which represents a simplified infrastructure for a web application:
 image
In the above code, a security group (`web`) and a web server (`web`) are being created. An Elastic IP (`web`) is also being created and associated with the web server. The `web` Elastic IP has a lifecycle policy that prevents it from being destroyed.

Which of the following statements is true?
A: The Elastic IP (`web`) will not be associated with the `web` instance if the security group fails to create.
B: The Elastic IP (`web`) can be disassociated manually in the AWS console without affecting the Terraform state.
C: The Elastic IP (`web`) will be released when the `web` instance is destroyed.
D: A Terraform destroy operation will fail due to the lifecycle policy of the `web` Elastic IP.
E: The `web` instance must be manually terminated before the security group can be deleted.

Medium

Resource Lifecycle and Provisioners
Resource Lifecycle
Provisioners
Solve
Consider the following Terraform code snippet:
 image
This code creates a Google Compute Engine instance and uses a local-exec provisioner to print a message when the instance is created. It also has a lifecycle block that sets create_before_destroy to true.

What will happen if you update the machine_type parameter for the google_compute_instance resource and execute terraform apply?
A: Terraform will fail to apply the changes due to the create_before_destroy lifecycle rule.

B: Terraform will destroy the existing instance, create a new one, and the provisioner will print the message once.

C: Terraform will create a new instance before destroying the old one, and the provisioner will print the message twice.

D: Terraform will update the existing instance without creating a new one or destroying the old one, and the provisioner will print the message once.

E: Terraform will create a new instance before destroying the old one, but the provisioner will print the message only once.
🧐 Question🔧 Skill

Medium

Dependencies and conditionals
Resources
Tags

3 mins

Terraform
Solve

Easy

Instance Security Group
AWS
Resources

2 mins

Terraform
Solve

Medium

Resource Attributes
Resource Dependencies
Resource Attributes
Infrastructure As Code
Aws Configuration

3 mins

Terraform
Solve

Medium

Resource Lifecycle and Provisioners
Resource Lifecycle
Provisioners

2 mins

Terraform
Solve
🧐 Question🔧 Skill💪 Difficulty⌛ Time
Dependencies and conditionals
Resources
Tags
Terraform
Medium3 mins
Solve
Instance Security Group
AWS
Resources
Terraform
Easy2 mins
Solve
Resource Attributes
Resource Dependencies
Resource Attributes
Infrastructure As Code
Aws Configuration
Terraform
Medium3 mins
Solve
Resource Lifecycle and Provisioners
Resource Lifecycle
Provisioners
Terraform
Medium2 mins
Solve
Get started for free
Preview questions
love bonito

With Adaface, we were able to optimise our initial screening process by upwards of 75%, freeing up precious time for both hiring managers and our talent acquisition team alike!

Brandon Lee, Head of People, Love, Bonito

Brandon
love bonito

It's very easy to share assessments with candidates and for candidates to use. We get good feedback from candidates about completing the tests. Adaface are very responsive and friendly to deal with.

Kirsty Wood, Human Resources, WillyWeather

Brandon
love bonito

We were able to close 106 positions in a record time of 45 days! Adaface enables us to conduct aptitude and psychometric assessments seamlessly. My hiring managers have never been happier with the quality of candidates shortlisted.

Amit Kataria, CHRO, Hanu

Brandon
love bonito

We evaluated several of their competitors and found Adaface to be the most compelling. Great library of questions that are designed to test for fit rather than memorization of algorithms.

Swayam Narain, CTO, Affable

Brandon

Why you should use Pre-employment Terraform Online Test?

The Terraform Online Test makes use of scenario-based questions to test for on-the-job skills as opposed to theoretical knowledge, ensuring that candidates who do well on this screening test have the relavant skills. The questions are designed to covered following on-the-job aspects:

  • Creating, changing, and destroying resources in Terraform
  • Using Terraform for multi-cloud deployments with AWS, Azure, and GCP
  • Provisioning services using Terraform
  • Writing Terraform configuration
  • Parameterizing configuration in Terraform
  • Managing Terraform state
  • Creating Terraform templates
  • Deploying services with Terraform, including containers, PaaS, IaaS, and ARM templates
  • Implementing DevOps practices for Terraform
  • Troubleshooting and debugging Terraform configurations

Once the test is sent to a candidate, the candidate receives a link in email to take the test. For each candidate, you will receive a detailed report with skills breakdown and benchmarks to shortlist the top candidates from your pool.

What topics are covered in the Terraform Online Test?

Terraform Basics: Terraform basics covers the foundational concepts of creating, changing, and destroying resources using Terraform. This skill is important to measure in the test as it assesses a candidate's understanding of Terraform's core functionality.

Using Terraform for Multi-Cloud Deployments: This skill evaluates a candidate's ability to utilize Terraform for provisioning and managing resources across multiple cloud providers such as AWS, Azure, and GCP. It is crucial to measure this skill as multi-cloud deployments are becoming increasingly common in today's cloud computing landscape.

Provisioning Services Using Terraform: This skill assesses a candidate's proficiency in provisioning services using Terraform. It involves the ability to use Terraform to define and deploy infrastructure resources, ensuring efficient and reliable service provisioning.

Writing Terraform Configuration: Writing Terraform configuration involves creating declarative code using HashiCorp Configuration Language (HCL). This skill measures a candidate's ability to write reusable, modular, and maintainable Terraform configurations for infrastructure provisioning.

Parameterizing Configuration: Parameterizing configuration is the practice of using variables in Terraform to enable flexible and customizable infrastructure deployments. This skill evaluates a candidate's understanding of how to define and use variables in Terraform configurations for improved configurability.

Terraform State Management: Terraform state management encompasses the management and tracking of the state of infrastructure resources across different Terraform runs. This skill is important to measure as it evaluates a candidate's ability to effectively manage and maintain the state of resources to ensure accurate infrastructure deployment and updates.

Create Terraform Templates: This skill assesses a candidate's ability to create reusable and parameterizable Terraform templates. It involves designing templates that can be easily adapted to different environments, reducing duplication of effort and ensuring consistency in infrastructure provisioning.

Deploying Services: This skill measures a candidate's capability to deploy various services using Terraform, including containers, Platform as a Service (PaaS), Infrastructure as a Service (IaaS), and Azure Resource Manager (ARM) templates. It evaluates their knowledge and proficiency in leveraging Terraform for different types of service deployments.

DevOps for Terraform: DevOps for Terraform encompasses the integration of Terraform into a DevOps workflow, enabling automated infrastructure provisioning and management. This skill evaluates a candidate's understanding of DevOps principles and practices related to Terraform, highlighting their ability to streamline and automate infrastructure processes.

Full list of covered topics

The actual topics of the questions in the final test will depend on your job description and requirements. However, here's a list of topics you can expect the questions for Terraform Online Test to be based on.

Terraform syntax
Terraform commands
Terraform variables
Terraform data sources
Terraform providers
Terraform modules
Terraform outputs
Terraform remote state
Terraform workspaces
Terraform state locking
Terraform resource dependencies
Terraform conditional expressions
Terraform loops
Terraform functions
Terraform plan
Terraform apply
Terraform destroy
AWS Terraform resources
Azure Terraform resources
GCP Terraform resources
Terraform backend configuration
Terraform template rendering
Terraform dynamic blocks
Terraform provider configuration
Terraform local-exec provisioner
Terraform null_resource
Terraform count and for_each
Terraform input variables
Terraform output variables
Terraform remote-exec provisioner
Terraform file provisioner
Terraform local state
Terraform remote state backend
Terraform state migration
Terraform state encryption
Terraform state versioning
Terraform state import
Terraform state locking
Terraform initialization
Terraform plan
Terraform apply
Terraform destroy
Terraform module registry
Terraform module sources
Docker with Terraform
Kubernetes with Terraform
PaaS deployment with Terraform
IaaS deployment with Terraform
ARM template deployment with Terraform
Terraform cloud and remote operations
CI/CD pipelines with Terraform
Terraform linting and formatting
Infrastructure as Code (IaC) concepts
Terraform security best practices
Terraform configuration management
Terraform troubleshooting and debugging
Terraform version control
Terraform infrastructure design
Testing Terraform configurations
Terraform scalability and performance optimization
Terraform monitoring and logging
Terraform backup and recovery
Terraform disaster recovery

What roles can I use the Terraform Online Test for?

  • Terraform Developer
  • AWS Terraform Engineer
  • Azure Terraform Engineer
  • Cloud Engineer (Terraform)
  • Cloud Infrastructure Engineer
  • DevOps Engineer (Terraform)
  • Senior DevOps Engineer

How is the Terraform Online Test customized for senior candidates?

For intermediate/ experienced candidates, we customize the assessment questions to include advanced topics and increase the difficulty level of the questions. This might include adding questions on topics like

  • Implementing infrastructure as code principles with Terraform
  • Collaborating and versioning Terraform configurations using version control systems
  • Integrating Terraform with CI/CD pipelines
  • Implementing security best practices for Terraform deployments
  • Managing secrets and sensitive data in Terraform
  • Monitoring and logging Terraform deployments
  • Automating infrastructure workflows with Terraform
  • Optimizing infrastructure provisioning using Terraform
  • Designing scalable and resilient infrastructure with Terraform
  • Performing impact assessments and risk analysis for Terraform changes

Try the most advanced candidate assessment platform

ChatGPT Protection

Non-googleable Questions

Web Proctoring

IP Proctoring

Webcam Proctoring

MCQ Questions

Coding Questions

Typing Questions

Personality Questions

Custom Questions

Ready-to-use Tests

Custom Tests

Custom Branding

Bulk Invites

Public Links

ATS Integrations

Multiple Question Sets

Custom API integrations

Role-based Access

Priority Support

GDPR Compliance

Screen candidates in 3 easy steps

Pick a test from over 500+ tests

The Adaface test library features 500+ tests to enable you to test candidates on all popular skills- everything from programming languages, software frameworks, devops, logical reasoning, abstract reasoning, critical thinking, fluid intelligence, content marketing, talent acquisition, customer service, accounting, product management, sales and more.

Invite your candidates with 2-clicks

Make informed hiring decisions

Get started for free
Preview questions

Have questions about the Terraform Hiring Test?

What is Terraform Online Test?

The Terraform Online Test is designed to assess candidates' knowledge and skills in using Terraform for infrastructure as code. This test is used by recruiters to evaluate technical expertise and suitability for roles requiring Terraform proficiency.

Can I combine Terraform test with AWS questions?

Yes, you can request a custom test that includes both Terraform and AWS skills. This allows recruiters to evaluate a candidate's expertise in both technologies in a single assessment.

How are senior candidates evaluated in this test?

Senior candidates are assessed on advanced skills like implementing infrastructure as code, integrating with CI/CD pipelines, managing secrets, and optimizing infrastructure provisioning using Terraform.

How to use Terraform Online Test in my hiring process?

Use this test as a pre-screening tool at the start of your recruitment process. You can share the assessment link in job postings or send direct invitations to candidates via email.

Can I test Terraform and DevOps skills together in a test?

Yes, you can combine Terraform and DevOps skills. Consider using the DevOps Online Test for a comprehensive evaluation.

What are the main DevOps tests?
Can I combine multiple skills into one custom assessment?

Yes, absolutely. Custom assessments are set up based on your job description, and will include questions on all must-have skills you specify. Here's a quick guide on how you can request a custom test.

Do you have any anti-cheating or proctoring features in place?

We have the following anti-cheating features in place:

  • Non-googleable questions
  • IP proctoring
  • Screen proctoring
  • Web proctoring
  • Webcam proctoring
  • Plagiarism detection
  • Secure browser
  • Copy paste protection

Read more about the proctoring features.

How do I interpret test scores?

The primary thing to keep in mind is that an assessment is an elimination tool, not a selection tool. A skills assessment is optimized to help you eliminate candidates who are not technically qualified for the role, it is not optimized to help you find the best candidate for the role. So the ideal way to use an assessment is to decide a threshold score (typically 55%, we help you benchmark) and invite all candidates who score above the threshold for the next rounds of interview.

What experience level can I use this test for?

Each Adaface assessment is customized to your job description/ ideal candidate persona (our subject matter experts will pick the right questions for your assessment from our library of 10000+ questions). This assessment can be customized for any experience level.

Does every candidate get the same questions?

Yes, it makes it much easier for you to compare candidates. Options for MCQ questions and the order of questions are randomized. We have anti-cheating/ proctoring features in place. In our enterprise plan, we also have the option to create multiple versions of the same assessment with questions of similar difficulty levels.

I'm a candidate. Can I try a practice test?

No. Unfortunately, we do not support practice tests at the moment. However, you can use our sample questions for practice.

What is the cost of using this test?

You can check out our pricing plans.

Can I get a free trial?

Yes, you can sign up for free and preview this test.

I just moved to a paid plan. How can I request a custom assessment?

Here is a quick guide on how to request a custom assessment on Adaface.

View sample scorecard


Along with scorecards that report the performance of the candidate in detail, you also receive a comparative analysis against the company average and industry standards.

View sample scorecard
customers across world
Join 1200+ companies in 80+ countries.
Try the most candidate friendly skills assessment tool today.
g2 badges
Ready to use the Adaface Terraform Online Test?
Ready to use the Adaface Terraform Online Test?
logo
40 min tests.
No trick questions.
Accurate shortlisting.
Terms Privacy Trust Guide
ada
Ada
● Online
Previous
Score: NA
Next
✖️