Skip to content
Français
Sync not enabled: your progress stays in this browser My learning
Select theme
Français

Quiz: check your Terraform basics

4 min read
Improve this page

Logo Terraform

This quiz checks whether you have the Terraform basics before you move on to writing code. It covers the core landmarks: what Terraform does, what it does not do, the role of providers, the difference between a resource and a data source, the CLI workflow, installation, the minimal structure of a project and the first points of comparison with OpenTofu.

The questions cover the landmarks taught in the guides, with no obscure detail. They check that your foundations are solid before you tackle variables, expressions, modules or the state in depth. If you get stuck here, it is better to fix the basics right away.

What this quiz covers

All the questions of the module's bank are asked, in a different order on each attempt. The list below says which topics may come up; it also serves as a revision plan if your score disappoints.

  • the real promise of Terraform and its limits;
  • the declarative logic and idempotence;
  • the notions of provider, resource and data source;
  • the init → validate → plan → apply → destroy cycle;
  • the everyday CLI commands;
  • installation and version management;
  • the minimal structure of a Terraform project;
  • the differences in context between Terraform and OpenTofu.

Before you start

This quiz is built from the individual guides of the Discover Terraform section. Each question points to the exact page that justifies the answer, so that you can quickly review what is missing.

Knowledge check

Knowledge check

Check what you have learned with this interactive quiz

38 questions
30 min
75% to pass

How it works

  • The timer starts when you click Start
  • Multiple choice, true/false and short answer questions
  • You can move between questions
  • Detailed results are shown at the end

Starts the quiz and the timer

How to read your result

An overall score says little; the breakdown of your mistakes says more. Spot the family of questions where you stumble, then go back to the matching lesson:

  • If you are comfortable with the workflow and CLI questions, the rest of the course will go more smoothly.
  • If you still confuse resource and data source, or Terraform and Ansible, go back over those pages before moving on to writing code.
  • If you hesitate on OpenTofu, there is no rush: remember the license and compatibility context, the choice will come later.