HashiCorp Certified: Terraform Associate — Question 223
When does Sentinel enforce policy logic during a Terraform Cloud 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
Sentinel applies policy checks before the apply phase to ensure compliance with the defined rules before any changes are executed. The other options are incorrect as policies are not enforced before the planning or after the applying of changes.