TF-004 Understand Terraform basics • Set 2
TF-004 Understand Terraform basics Practice Test 2 — 15 questions with explanations. Free, no signup.
A platform team manages a large Terraform codebase with hundreds of resources across multiple environments (dev, staging, prod). They use terraform workspaces to manage environment-specific state files. Recently, an engineer made changes to the production workspace but forgot to switch from the dev workspace before applying. The apply was successful, but now the production resources are in an inconsistent state. The team wants to recover the production state to match the actual infrastructure. The previous state file for production was backed up in an S3 bucket before the accidental apply. What is the best course of action?
Choose an answer to begin — your selection is scored in the full session.
15 questions · instant feedback and full explanations after every question.