Question 180
After rollout, an enterprise infrastructure group investigates whether Terraform output command truly meets the need to retrieve exported root-module values after a successful apply. Which observation should it prioritize?
Explanation
Correct Answer
This finding directly verifies Terraform output command: output reads declared root outputs without requiring the operator to inspect raw state JSON. It establishes the stated outcome rather than merely confirming a resource exists.
Incorrect Answers
That evidence concerns terraform -chdir=dir plan, used to run a command against a different root configuration without first changing the shell directory. It does not verify whether Terraform output command meets its acceptance criteria.
That evidence concerns Terraform plugin initialization, used to explain why an uninitialized clone cannot yet plan with declared providers. It does not verify whether Terraform output command meets its acceptance criteria.
That evidence concerns Terraform local workspace selection, used to separate dev and staging state snapshots while reusing the same root configuration. It does not verify whether Terraform output command meets its acceptance criteria.






HashiCorp Certified: Terraform Associate (004) (Terraform Associate 004) Practice Tests