TERRAFORM-ASSOCIATE-004 · Question #226
TERRAFORM-ASSOCIATE-004 Question #226: Real Exam Question with Answer & Explanation
The correct answer is C: Using one workspace's state as a data source for another.. Using one workspace's state outputs as a data source for another workspace is a feature built into HCP Terraform's platform, enabling cross-workspace state sharing natively. While Terraform CLI can use the terraform_remote_state data source with explicitly configured remote backe
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.
Explanation
Using one workspace's state outputs as a data source for another workspace is a feature built into HCP Terraform's platform, enabling cross-workspace state sharing natively. While Terraform CLI can use the terraform_remote_state data source with explicitly configured remote backends (like S3 or GCS), the seamless, integrated cross-workspace state referencing tied to the HCP Terraform workspace model is a platform-specific capability. Plan runs (A), multiple cloud provider support (D), and variable storage (B in basic form) are all available in Terraform CLI as well.
Topics
Community Discussion
No community discussion yet for this question.