Declarative or Imperative?

Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.

The problem

  • easy
  • Pro

One engineer manages servers with a shell script of commands, another with a Terraform file describing what should exist. Explain the difference between imperative and declarative infrastructure, and why running each a second time behaves differently.

Talk this problem through with an AI coach

This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.

Start free →