HashiCorp Certified: Terraform Associate — Question 296
When does Sentinel enforce policy logic during a Terraform Enterprise run?
Answer options
- A. Before the plan phase
- B. During the plan phase
- C. Before the apply phase
- D. After the apply phase
Correct answer: C
Explanation
The correct answer is C, as Sentinel policies are enforced just before the apply phase to ensure compliance with organizational rules before any changes are made. Options A and B are incorrect because policy enforcement doesn't occur before or during the planning phase. Option D is also incorrect since policy checks should happen before any resources are applied.