CertKeen

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

Run triggers between workspaces

At Calloway Retail, an application workspace reads networking outputs from a network workspace in HCP Terraform. The team wants the application workspace to queue a run automatically after each successful apply in the network workspace. Which feature does this?

  1. A.A Sentinel policy that references both workspaces
  2. B.A variable set shared by both workspaces
  3. C.A run trigger on the application workspace with the network workspace as its source
  4. D.A run task attached to the network workspace's post-plan stage
Show answer and explanation

Correct answer: C. A run trigger on the application workspace with the network workspace as its source

Why: Run triggers connect workspaces so that a successful apply in a source workspace queues a run in the dependent workspace. Sentinel policies evaluate runs rather than starting them. Variable sets share variable values, and run tasks call external services during a run instead of starting runs elsewhere.

More free Terraform Associate (004) questions