Terraform Associate Exam QuestionsBrowse all questions from this exam

Terraform Associate Exam - Question 241


You are working on some new application features and you want to spin up a copy of your production deployment to perform some quick tests. In order to avoid having to configure a new state backend, what open source Terraform feature would allow you create multiple states but still be associated with your current code?

Show Answer
Correct Answer: D

Terraform workspaces allow you to manage multiple states within the same configuration, which enables you to spin up a copy of your production deployment for testing without requiring a new state backend. This feature is specifically designed to handle such scenarios where different environments need to be associated with the same code base.

Discussion

3 comments
Sign in to comment
Oleg_golOption: D
May 6, 2023

D. Terraform workspaces

Stargazer11
Nov 6, 2023

D. Terraform workspaces

090200fOption: D
Jul 31, 2024

key word is multiple state files and no new config creations .. terraform workspaces is correct cmd

090200f
Jul 31, 2024

small correction no new state backend to create