nerdexam
HashiCorp

TA-002-P · Question #444

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

The correct answer is C. terraform graph. The terraform graph command is used to generate a visual representation of either a configuration or execution plan. The output is in the DOT format, which can be used by GraphViz to generate charts.

Use the Terraform CLI (terraform plan, apply, destroy, fmt, init, validate, workspace, import, taint, providers, output)

Question

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

Options

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

How the community answered

(26 responses)
  • B
    8% (2)
  • C
    88% (23)
  • D
    4% (1)

Explanation

The terraform graph command is used to generate a visual representation of either a configuration or execution plan. The output is in the DOT format, which can be used by GraphViz to generate charts.

Topics

#Terraform CLI#Dependency Graph#terraform graph#DOT format

Community Discussion

No community discussion yet for this question.

Full TA-002-P Practice