nerdexam
Oracle

1Z0-1072 · Question #2

What happens when you run terraform plan?

The correct answer is B. It shows the operator the course of action that would be taken if a change is applied. The terraform plan command is used to create an execution plan. Terraform performs a refresh, unless explicitly disabled, and then determines what actions are necessary to achieve the desired state specified in the configuration files. This command is a convenient way to check…

Implement OCI Tagging and Governance

Question

What happens when you run terraform plan?

Options

  • AIt configures, reconfigures, and instantiates resources and their dependencies.
  • BIt shows the operator the course of action that would be taken if a change is applied.
  • CIt deletes all existing resources and re-creates them.
  • DIt shows a dependency graph.

How the community answered

(53 responses)
  • A
    13% (7)
  • B
    77% (41)
  • C
    6% (3)
  • D
    4% (2)

Explanation

The terraform plan command is used to create an execution plan. Terraform performs a refresh, unless explicitly disabled, and then determines what actions are necessary to achieve the desired state specified in the configuration files. This command is a convenient way to check whether the execution plan for a set of changes matches your expectations without making any changes to real resources or to the state. For example, terraform plan might be run before committing a change to version control, to create confidence that it will behave as expected.

Topics

#terraform plan#infrastructure as code#execution preview#resource management

Community Discussion

No community discussion yet for this question.

Full 1Z0-1072 Practice