Quiz 8 Question 6 of 20

A team is choosing how to lay out dev, staging and prod in one Terraform repository. One proposal uses a long-lived Git branch per environment with the same file layout on each, and the other uses a directory per environment on a single main branch, each calling shared modules. Which assessment is accurate?

Select an answer to reveal the explanation.

Motivation