nerdexam
HashiCorpHashiCorp

TERRAFORM-ASSOCIATE-004 · Question #225

TERRAFORM-ASSOCIATE-004 Question #225: Real Exam Question with Answer & Explanation

The correct answer is B: terraform graph. terraform graph generates Graphviz DOT format output, which allows visualization of resource dependencies in Terraform. A (terraform refresh) - Incorrect, as it only updates the state file. C (terraform output) - Incorrect, as it only displays Terraform output values. D (terrafor

Submitted by hans_de· Apr 18, 2026Use Terraform CLI

Question

What command can you run to generate DOT (Graphviz) formatted data to visualize Terraform dependencies?

Options

  • Aterraform refresh
  • Bterraform graph
  • Cterraform output
  • Dterraform show

Explanation

terraform graph generates Graphviz DOT format output, which allows visualization of resource dependencies in Terraform. A (terraform refresh) - Incorrect, as it only updates the state file. C (terraform output) - Incorrect, as it only displays Terraform output values. D (terraform show) - Incorrect, as it only displays the Terraform state.

Topics

#terraform graph#CLI commands#dependency visualization#Graphviz DOT

Community Discussion

No community discussion yet for this question.

Full TERRAFORM-ASSOCIATE-004 PracticeBrowse All TERRAFORM-ASSOCIATE-004 Questions