Which terraform command creates an execution plan specifying what actions Terraform will take to achieve the desired state defined in the configuration file?

IT Exam Items RepositoryCategory: CCNA 3 v7Which terraform command creates an execution plan specifying what actions Terraform will take to achieve the desired state defined in the configuration file?

Which terraform command creates an execution plan specifying what actions Terraform will take to achieve the desired state defined in the configuration file?

  • terraform init
  • terraform plan
  • terraform apply
  • terraform show

Explanation: Terraform commands include:

  • terraform init - Initializes the Terraform working directory and downloads the necessary provider plugins specified in the file.
  • terraform plan - Creates an execution plan specifying what actions Terraform will take to achieve the desired state defined in the configuration file.
  • terraform apply - Applies the changes required to reach the desired state of the configuration.
  • terraform show - Provides human-readable output from a state or plan file.

Related exam: 15.8.2 Module Quiz Answers – CCNA 200-301 Exam v1.1 Supplemental Module