HashiCorp Certified: Terraform Associate — Question 284
What is the purpose of a Terraform workspace in either open source or enterprise?
Answer options
- A. Workspaces allow you to manage collections of infrastructure in state files
- B. A logical separation of business units
- C. A method of grouping multiple infrastructure security policies
- D. Provides limited access to a cloud environment
Correct answer: A
Explanation
The correct answer is A because Terraform workspaces are specifically designed to help manage different states of infrastructure in separate state files. Options B, C, and D do not accurately describe the function of workspaces; they pertain to organizational structure, security policies, and access control, respectively.