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.

Get started for free
Preview questions

Screen candidates with a 25 mins test

Test duration:  25 mins
Difficulty level:  Moderate
Availability:  Ready to use
Questions:
  • 10 Terraform MCQs
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

Use Adaface tests trusted by recruitment teams globally

Adaface is used by 1500+ businesses in 80 countries.

Adaface skill assessments measure on-the-job skills of candidates, providing employers with an accurate tool for screening potential hires.

Amazon Morgan Stanley Vodafone United Nations HCL PayPal Bosch WeWork Optimum Solutions Deloitte NCS Sokrati J&T Express Capegemini

Use the Terraform Test to shortlist qualified candidates

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
Get started for free
Preview questions

Screen candidates with the highest quality 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
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

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
Terraform
Medium3 mins
Solve
Resource Lifecycle and Provisioners
Resource Lifecycle
Provisioners
Terraform
Medium2 mins
Solve

Test candidates on core Terraform Hiring Test topics

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.

Get started for free
Preview questions

Make informed decisions with actionable reports and benchmarks

View sample scorecard

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

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


Pick a plan based on your hiring needs

The most advanced candidate screening platform.
14-day free trial. No credit card required.

From
$15
per month (paid annually)
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

Have questions about the Terraform Hiring Test?

What roles can I use the Terraform Test for?

Here are few roles for which we recommend this test:

  • Terraform Developer
  • AWS Terraform Engineer
  • Azure Terraform Engineer
  • Cloud Engineer (Terraform)
  • Cloud Infrastructure Engineer
  • DevOps Engineer (Terraform)
  • Senior DevOps Engineer
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 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.

What are the main DevOps tests?
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.

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.

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.

Can I get a free trial?

Yes, you can sign up for free and preview this 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.

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.

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.

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.

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.

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.

What is the cost of using this test?

You can check out our pricing plans.

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.

customers across world
Join 1500+ 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
✖️