TA-004

Introduction to Backends and State Locking

Where Terraform stores state: the default local backend and CLI workspaces, state locking, and configuring remote state with the backend block, including partial configuration and migration.

  • 3 lessons
  • Module quiz

Backends decide where state lives. The local backend is the default; remote backends with locking let teams work on the same infrastructure safely.

What the exam expects

Questions test the local backend and CLI workspaces, how locking works and which backends support it, force-unlock and lock timeouts, backend block restrictions, partial configuration, migration and remote state data sources.

How this module is organized

The Local Backend and CLI Workspaces covers local state. State Locking covers locks. Configuring Remote Backends covers backend blocks, partial configuration and migration.

  1. The Local Backend and CLI Workspaces Lesson 1
  2. State Locking Lesson 2
  3. Configuring Remote Backends Lesson 3
  4. Practise and review
  5. Checkpoint Practice activities across the module
  6. Test your knowledge 6 questions