Terraform MCQs

Terraform Quiz Topics

Select a subtopic from each level to test your Terraform knowledge.

🟢 Beginner Level

Terraform Introduction

IaC overview, Terraform vs ARM, use cases, workflow.

Start Test
Terraform CLI Basics

init, plan, apply, destroy, validate, fmt, taint.

Start Test
Configuration Files

.tf files, main.tf, variables.tf, outputs.tf structure.

Start Test

🟡 Intermediate Level

Variables & Outputs

Variable types, default values, outputs, interpolation.

Start Test
Providers & Resources

Azure, AWS, Google providers, defining resources.

Start Test
State Management

Terraform.tfstate, remote backends, state locking.

Start Test
Resource Lifecycle

create_before_destroy, prevent_destroy, lifecycle blocks.

Start Test

🔴 Advanced Level

Terraform Modules

Reusable modules, local vs remote, module inputs/outputs.

Start Test
Workspaces

Managing environments: dev, test, prod isolation.

Start Test
Terraform with Azure

Deploying VMs, networks, storage to Azure using Terraform.

Start Test
Best Practices

Code organization, versioning, automation & secrets.

Start Test