nerdexam
HashiCorp

TA-002-P · Question #283

What Terraform command can be used to inspect the current state file?

The correct answer is C. terraform show. See the full explanation below for the reasoning.

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

Question

What Terraform command can be used to inspect the current state file?

Options

  • Aterraform inspect
  • Bterraform read
  • Cterraform show
  • Dterraform state

How the community answered

(45 responses)
  • A
    2% (1)
  • C
    93% (42)
  • D
    4% (2)

Topics

#terraform show#state file#CLI command#inspect state

Community Discussion

No community discussion yet for this question.

Full TA-002-P Practice