nerdexam
HashiCorp

TERRAFORM-ASSOCIATE-003 · Question #226

Which of the following is available only in HCP Terraform workspaces and not in Terraform CLI?

The correct answer is C. Using one workspace's state as a data source for another. C ( Correct) - In HCP Terraform, you can use the terraform_remote_state data source to A ( Incorrect) - terraform plan (dry runs) is available in both Terraform CLI and HCP Terraform. B ( Incorrect) - Secure variable storage exists in HCP Terraform, but CLI users can store…

Understand HCP Terraform Capabilities

Question

Which of the following is available only in HCP Terraform workspaces and not in Terraform CLI?

Options

  • ADry runs with terraform plan.
  • BSecure variable storage.
  • CUsing one workspace's state as a data source for another.
  • DSupport for multiple cloud providers.

How the community answered

(37 responses)
  • A
    8% (3)
  • B
    11% (4)
  • C
    78% (29)
  • D
    3% (1)

Explanation

C ( Correct) - In HCP Terraform, you can use the terraform_remote_state data source to A ( Incorrect) - terraform plan (dry runs) is available in both Terraform CLI and HCP Terraform. B ( Incorrect) - Secure variable storage exists in HCP Terraform, but CLI users can store variables securely using environment variables or .tfvars files. D ( Incorrect) - Both Terraform CLI and HCP Terraform support multiple cloud providers.

Topics

#HCP Terraform#workspaces#remote state data source#CLI vs cloud

Community Discussion

No community discussion yet for this question.

Full TERRAFORM-ASSOCIATE-003 Practice