CertKeen

Terraform Associate (004) · Free practice question 7 of 12

Health assessments for drift detection

Nightjar Logistics wants HCP Terraform to check its workspaces on a schedule and alert the team when real infrastructure no longer matches state, without anyone starting a plan. Which feature provides this?

  1. A.Speculative plans on pull requests
  2. B.Health assessments with drift detection
  3. C.The dependency lock file
  4. D.Cost estimation
Show answer and explanation

Correct answer: B. Health assessments with drift detection

Why: Once enabled for a workspace or organization, HCP Terraform health assessments run automatically in the background and include drift detection, which reports when real infrastructure has changed outside Terraform, as well as continuous validation of checks and conditions. Speculative plans on pull requests run only when a pull request is opened or updated. The lock file pins provider versions, and cost estimation shows the cost impact of a planned run.

More free Terraform Associate (004) questions