Practice Exams:

HashiCorp Terraform Associate 004 Dumps

EXAM: HashiCorp Certified: Terraform Associate (004)
Verified By Experts
Premium Bundle
$40.00
$59.97 $99.97

Terraform Associate 004 Premium Bundle


  • Premium File 167 Questions & Answers
  • Training Course 118 Lectures
  • Study Guide 285 Pages

HashiCorp Terraform Associate 004 Practice Test 74

Question 730

A research organization operates several related HCP Terraform workspaces that share environment labels and safe provider settings. Which combined implementation and verification plan is the best match for this workload?

  1. Implement: Configure supported HCP Terraform policy sets using Sentinel or Open Policy Agent to inspect planned resource changes against defined governance rules. Verify: Create two disposable workspaces with one shared tagged variable set and verify only authorized workspaces receive the intended nonsecret value.
  2. Implement: Define approved organization or project variable sets and scope them to the intended HCP Terraform workspaces without duplicating secrets manually. Verify: Create two disposable workspaces with one shared tagged variable set and verify only authorized workspaces receive the intended nonsecret value.
  3. Implement: Define approved organization or project variable sets and scope them to the intended HCP Terraform workspaces without duplicating secrets manually. Verify: Submit a test plan with an intentionally disallowed tag or region, then verify the configured mandatory policy blocks its progression.
  4. Implement: Use terraform login or an approved token mechanism for authorized HCP Terraform CLI access, protecting credential storage and limiting token scope. Verify: Authenticate in a disposable environment, inspect the intended organization and attempt a permitted workspace operation, then revoke the test token.

Answer & Explanations

Correct answer: B

A.

The test would be relevant: Create two disposable workspaces with one shared tagged variable set and verify only authorized workspaces receive the intended nonsecret value. But the offered implementation—Configure supported HCP Terraform policy sets using Sentinel or Open Policy Agent to inspect planned resource changes against defined governance rules.—addresses “Apply policy-as-code checks to HCP Terraform runs”. The action needed here is: Define approved organization or project variable sets and scope them to the intended HCP Terraform workspaces without duplicating secrets manually.

B.

The question is set in this situation: A research organization operates several related HCP Terraform workspaces that share environment labels and safe provider settings. Define approved organization or project variable sets and scope them to the intended HCP Terraform workspaces without duplicating secrets manually. Confirm it through this test: Create two disposable workspaces with one shared tagged variable set and verify only authorized workspaces receive the intended nonsecret value. Variable sets supply reusable workspace or environment variables, but scope and precedence govern which values are available to each run.

C.

The action is applicable: Define approved organization or project variable sets and scope them to the intended HCP Terraform workspaces without duplicating secrets manually. But its proposed test—Submit a test plan with an intentionally disallowed tag or region, then verify the configured mandatory policy blocks its progression.—addresses “Apply policy-as-code checks to HCP Terraform runs”. This requirement is confirmed instead by: Create two disposable workspaces with one shared tagged variable set and verify only authorized workspaces receive the intended nonsecret value.

D.

This action/test pair addresses “Authenticate HCP Terraform CLI sessions through supported login workflow”. Use terraform login or an approved token mechanism for authorized HCP Terraform CLI access, protecting credential storage and limiting token scope. Authenticate in a disposable environment, inspect the intended organization and attempt a permitted workspace operation, then revoke the test token. The case instead calls for: Define approved organization or project variable sets and scope them to the intended HCP Terraform workspaces without duplicating secrets manually.

Question 731

A bank has an internal network module and wants developers to consume only releases that have completed a security review. Which HashiCorp Terraform infrastructure implementation best satisfies this requirement?

  1. Review HCP Terraform workspace execution settings and select compatible remote or local execution according to governance, credential and connectivity requirements.
  2. Configure supported HCP Terraform policy sets using Sentinel or Open Policy Agent to inspect planned resource changes against defined governance rules.
  3. Publish approved reusable modules to the HCP Terraform private registry with documented source repositories, versions and access permissions.
  4. Connect a workspace to an authorized repository and branch so HCP Terraform can queue plans from version-controlled commits and record run history.

Answer & Explanations

Correct answer: C

A.

Review HCP Terraform workspace execution settings and select compatible remote or local execution according to governance, credential and connectivity requirements. This addresses “Choose appropriate run mode for local versus remote operations”, where the governing principle is: Remote execution runs against HCP-managed environment and stored run variables; local execution uses the caller runtime while still possibly using HCP-managed state. The stated case instead calls for: Publish approved reusable modules to the HCP Terraform private registry with documented source repositories, versions and access permissions.

B.

Configure supported HCP Terraform policy sets using Sentinel or Open Policy Agent to inspect planned resource changes against defined governance rules. This addresses “Apply policy-as-code checks to HCP Terraform runs”, where the governing principle is: Policy evaluation can detect disallowed infrastructure settings in a run before approval, but each rule's enforcement level and policy configuration matter. The stated case instead calls for: Publish approved reusable modules to the HCP Terraform private registry with documented source repositories, versions and access permissions.

C.

Publish approved reusable modules to the HCP Terraform private registry with documented source repositories, versions and access permissions. A private registry makes reviewed internal modules discoverable and versioned, while public registry availability alone does not establish an organization's security approval. Verify the result with this test: Publish a disposable versioned module, configure an authorized consumer workspace and verify the requested module version resolves to the reviewed source.

D.

Connect a workspace to an authorized repository and branch so HCP Terraform can queue plans from version-controlled commits and record run history. This addresses “Use a VCS-driven workspace to connect code changes to managed runs”, where the governing principle is: A VCS-linked workspace associates runs with source commits and configured triggers, rather than relying on untracked command history from a developer laptop. The stated case instead calls for: Publish approved reusable modules to the HCP Terraform private registry with documented source repositories, versions and access permissions.

Question 732

A bank has an internal network module and wants developers to consume only releases that have completed a security review. The infrastructure engineer proposes this change: Publish approved reusable modules to the HCP Terraform private registry with documented source repositories, versions and access permissions. Which mechanism explains why it works?

  1. A private registry makes reviewed internal modules discoverable and versioned, while public registry availability alone does not establish an organization's security approval.
  2. Remote execution runs against HCP-managed environment and stored run variables; local execution uses the caller runtime while still possibly using HCP-managed state.
  3. Policy evaluation can detect disallowed infrastructure settings in a run before approval, but each rule's enforcement level and policy configuration matter.
  4. A VCS-linked workspace associates runs with source commits and configured triggers, rather than relying on untracked command history from a developer laptop.

Answer & Explanations

Correct answer: A

A.

A private registry makes reviewed internal modules discoverable and versioned, while public registry availability alone does not establish an organization's security approval. The corresponding implementation is: Publish approved reusable modules to the HCP Terraform private registry with documented source repositories, versions and access permissions.

B.

Remote execution runs against HCP-managed environment and stored run variables; local execution uses the caller runtime while still possibly using HCP-managed state. That explains “Choose appropriate run mode for local versus remote operations”, not the mechanism behind the described change. The relevant principle is: A private registry makes reviewed internal modules discoverable and versioned, while public registry availability alone does not establish an organization's security approval.

C.

Policy evaluation can detect disallowed infrastructure settings in a run before approval, but each rule's enforcement level and policy configuration matter. That explains “Apply policy-as-code checks to HCP Terraform runs”, not the mechanism behind the described change. The relevant principle is: A private registry makes reviewed internal modules discoverable and versioned, while public registry availability alone does not establish an organization's security approval.

D.

A VCS-linked workspace associates runs with source commits and configured triggers, rather than relying on untracked command history from a developer laptop. That explains “Use a VCS-driven workspace to connect code changes to managed runs”, not the mechanism behind the described change. The relevant principle is: A private registry makes reviewed internal modules discoverable and versioned, while public registry availability alone does not establish an organization's security approval.

Question 733

A bank has an internal network module and wants developers to consume only releases that have completed a security review. After implementing this change—Publish approved reusable modules to the HCP Terraform private registry with documented source repositories, versions and access permissions.—which test most directly validates its intended outcome?

  1. Create a test branch change, inspect the queued speculative plan and confirm run metadata references the intended commit without automatically approving production.
  2. Run a harmless test in both supported contexts, compare where provider credentials are supplied and confirm state ownership and policy settings.
  3. Publish a disposable versioned module, configure an authorized consumer workspace and verify the requested module version resolves to the reviewed source.
  4. Submit a test plan with an intentionally disallowed tag or region, then verify the configured mandatory policy blocks its progression.

Answer & Explanations

Correct answer: C

A.

Create a test branch change, inspect the queued speculative plan and confirm run metadata references the intended commit without automatically approving production. That would help test “Use a VCS-driven workspace to connect code changes to managed runs”, not the outcome required in this scenario. The relevant acceptance check is: Publish a disposable versioned module, configure an authorized consumer workspace and verify the requested module version resolves to the reviewed source.

B.

Run a harmless test in both supported contexts, compare where provider credentials are supplied and confirm state ownership and policy settings. That would help test “Choose appropriate run mode for local versus remote operations”, not the outcome required in this scenario. The relevant acceptance check is: Publish a disposable versioned module, configure an authorized consumer workspace and verify the requested module version resolves to the reviewed source.

C.

Publish a disposable versioned module, configure an authorized consumer workspace and verify the requested module version resolves to the reviewed source. This check is decisive because a private registry makes reviewed internal modules discoverable and versioned, while public registry availability alone does not establish an organization's security approval.

D.

Submit a test plan with an intentionally disallowed tag or region, then verify the configured mandatory policy blocks its progression. That would help test “Apply policy-as-code checks to HCP Terraform runs”, not the outcome required in this scenario. The relevant acceptance check is: Publish a disposable versioned module, configure an authorized consumer workspace and verify the requested module version resolves to the reviewed source.

Question 734

A bank has an internal network module and wants developers to consume only releases that have completed a security review. Which proposed shortcut most directly risks duplicated untrusted module code and inconsistent upgrades across teams and should therefore be rejected?

  1. Let every team copy modules from unknown repositories without any shared versioning or approval process and call it enterprise governance.
  2. Assume selecting HCP Terraform state necessarily forces all provider API calls to execute from the same local laptop regardless of run mode.
  3. Treat a policy advisory warning as an immutable hard security barrier while allowing all unauthorized applies to continue.
  4. Push an unreviewed commit and assume a successful remote plan means human approval is unnecessary for production apply.

Answer & Explanations

Correct answer: A

A.

Let every team copy modules from unknown repositories without any shared versioning or approval process and call it enterprise governance. The foreseeable failure is duplicated untrusted module code and inconsistent upgrades across teams. The safer response is: Publish approved reusable modules to the HCP Terraform private registry with documented source repositories, versions and access permissions.

B.

Assume selecting HCP Terraform state necessarily forces all provider API calls to execute from the same local laptop regardless of run mode. That shortcut risks missing credentials and incorrect security boundaries during infrastructure operations. Here the specific shortcut is: Let every team copy modules from unknown repositories without any shared versioning or approval process and call it enterprise governance.

C.

Treat a policy advisory warning as an immutable hard security barrier while allowing all unauthorized applies to continue. That shortcut risks prohibited infrastructure reaching production because policy enforcement was misunderstood. Here the specific shortcut is: Let every team copy modules from unknown repositories without any shared versioning or approval process and call it enterprise governance.

D.

Push an unreviewed commit and assume a successful remote plan means human approval is unnecessary for production apply. That shortcut risks unapproved changes promoted after confusing plan execution with release authorization. Here the specific shortcut is: Let every team copy modules from unknown repositories without any shared versioning or approval process and call it enterprise governance.

Question 735

A bank has an internal network module and wants developers to consume only releases that have completed a security review. Which combined implementation and verification plan is the best match for this workload?

  1. Implement: Connect a workspace to an authorized repository and branch so HCP Terraform can queue plans from version-controlled commits and record run history. Verify: Create a test branch change, inspect the queued speculative plan and confirm run metadata references the intended commit without automatically approving production.
  2. Implement: Configure supported HCP Terraform policy sets using Sentinel or Open Policy Agent to inspect planned resource changes against defined governance rules. Verify: Publish a disposable versioned module, configure an authorized consumer workspace and verify the requested module version resolves to the reviewed source.
  3. Implement: Publish approved reusable modules to the HCP Terraform private registry with documented source repositories, versions and access permissions. Verify: Submit a test plan with an intentionally disallowed tag or region, then verify the configured mandatory policy blocks its progression.
  4. Implement: Publish approved reusable modules to the HCP Terraform private registry with documented source repositories, versions and access permissions. Verify: Publish a disposable versioned module, configure an authorized consumer workspace and verify the requested module version resolves to the reviewed source.

Answer & Explanations

Correct answer: D

A.

This action/test pair addresses “Use a VCS-driven workspace to connect code changes to managed runs”. Connect a workspace to an authorized repository and branch so HCP Terraform can queue plans from version-controlled commits and record run history. Create a test branch change, inspect the queued speculative plan and confirm run metadata references the intended commit without automatically approving production. The case instead calls for: Publish approved reusable modules to the HCP Terraform private registry with documented source repositories, versions and access permissions.

B.

The test would be relevant: Publish a disposable versioned module, configure an authorized consumer workspace and verify the requested module version resolves to the reviewed source. But the offered implementation—Configure supported HCP Terraform policy sets using Sentinel or Open Policy Agent to inspect planned resource changes against defined governance rules.—addresses “Apply policy-as-code checks to HCP Terraform runs”. The action needed here is: Publish approved reusable modules to the HCP Terraform private registry with documented source repositories, versions and access permissions.

C.

The action is applicable: Publish approved reusable modules to the HCP Terraform private registry with documented source repositories, versions and access permissions. But its proposed test—Submit a test plan with an intentionally disallowed tag or region, then verify the configured mandatory policy blocks its progression.—addresses “Apply policy-as-code checks to HCP Terraform runs”. This requirement is confirmed instead by: Publish a disposable versioned module, configure an authorized consumer workspace and verify the requested module version resolves to the reviewed source.

D.

Publish approved reusable modules to the HCP Terraform private registry with documented source repositories, versions and access permissions. Confirm it through this test: Publish a disposable versioned module, configure an authorized consumer workspace and verify the requested module version resolves to the reviewed source. A private registry makes reviewed internal modules discoverable and versioned, while public registry availability alone does not establish an organization's security approval.

Question 736

A large retail group needs several business units to reuse an approved DNS module while tracking which module version each workspace deploys. Which HashiCorp Terraform infrastructure implementation best satisfies this requirement?

  1. Organize workspaces into HCP Terraform projects according to team, application or lifecycle boundaries, applying sensible project-level access and variable policies.
  2. Publish approved reusable modules to the HCP Terraform private registry with documented source repositories, versions and access permissions.
  3. Define approved organization or project variable sets and scope them to the intended HCP Terraform workspaces without duplicating secrets manually.
  4. Declare the appropriate cloud configuration linking organization and workspace names, initialize the project and verify runs and state are associated with that exact workspace.

Answer & Explanations

Correct answer: B

A.

Organize workspaces into HCP Terraform projects according to team, application or lifecycle boundaries, applying sensible project-level access and variable policies. This addresses “Group HCP Terraform workspaces into meaningful projects”, where the governing principle is: Projects group and govern related workspaces; a project does not replace the workspace's own state or automatically merge several separate infrastructure graphs. The stated case instead calls for: Publish approved reusable modules to the HCP Terraform private registry with documented source repositories, versions and access permissions.

B.

The question is set in this situation: A large retail group needs several business units to reuse an approved DNS module while tracking which module version each workspace deploys. Publish approved reusable modules to the HCP Terraform private registry with documented source repositories, versions and access permissions. A private registry makes reviewed internal modules discoverable and versioned, while public registry availability alone does not establish an organization's security approval. Verify the result with this test: Publish a disposable versioned module, configure an authorized consumer workspace and verify the requested module version resolves to the reviewed source.

C.

Define approved organization or project variable sets and scope them to the intended HCP Terraform workspaces without duplicating secrets manually. This addresses “Use variable sets for shared managed workspace configuration”, where the governing principle is: Variable sets supply reusable workspace or environment variables, but scope and precedence govern which values are available to each run. The stated case instead calls for: Publish approved reusable modules to the HCP Terraform private registry with documented source repositories, versions and access permissions.

D.

Declare the appropriate cloud configuration linking organization and workspace names, initialize the project and verify runs and state are associated with that exact workspace. This addresses “Connect CLI configuration to an intended HCP Terraform workspace”, where the governing principle is: The cloud integration configures HCP Terraform workflow and managed state selection, but does not give broad permission to unrelated organizations or regions. The stated case instead calls for: Publish approved reusable modules to the HCP Terraform private registry with documented source repositories, versions and access permissions.

Question 737

A large retail group needs several business units to reuse an approved DNS module while tracking which module version each workspace deploys. The infrastructure engineer proposes this change: Publish approved reusable modules to the HCP Terraform private registry with documented source repositories, versions and access permissions. Which mechanism explains why it works?

  1. The cloud integration configures HCP Terraform workflow and managed state selection, but does not give broad permission to unrelated organizations or regions.
  2. Projects group and govern related workspaces; a project does not replace the workspace's own state or automatically merge several separate infrastructure graphs.
  3. A private registry makes reviewed internal modules discoverable and versioned, while public registry availability alone does not establish an organization's security approval.
  4. Variable sets supply reusable workspace or environment variables, but scope and precedence govern which values are available to each run.

Answer & Explanations

Correct answer: C

A.

The cloud integration configures HCP Terraform workflow and managed state selection, but does not give broad permission to unrelated organizations or regions. That explains “Connect CLI configuration to an intended HCP Terraform workspace”, not the mechanism behind the described change. The relevant principle is: A private registry makes reviewed internal modules discoverable and versioned, while public registry availability alone does not establish an organization's security approval.

B.

Projects group and govern related workspaces; a project does not replace the workspace's own state or automatically merge several separate infrastructure graphs. That explains “Group HCP Terraform workspaces into meaningful projects”, not the mechanism behind the described change. The relevant principle is: A private registry makes reviewed internal modules discoverable and versioned, while public registry availability alone does not establish an organization's security approval.

C.

The question is set in this situation: A large retail group needs several business units to reuse an approved DNS module while tracking which module version each workspace deploys. A private registry makes reviewed internal modules discoverable and versioned, while public registry availability alone does not establish an organization's security approval. The corresponding implementation is: Publish approved reusable modules to the HCP Terraform private registry with documented source repositories, versions and access permissions.

D.

Variable sets supply reusable workspace or environment variables, but scope and precedence govern which values are available to each run. That explains “Use variable sets for shared managed workspace configuration”, not the mechanism behind the described change. The relevant principle is: A private registry makes reviewed internal modules discoverable and versioned, while public registry availability alone does not establish an organization's security approval.

Question 738

A large retail group needs several business units to reuse an approved DNS module while tracking which module version each workspace deploys. After implementing this change—Publish approved reusable modules to the HCP Terraform private registry with documented source repositories, versions and access permissions.—which test most directly validates its intended outcome?

  1. Create a test project with development and staging workspaces and verify each retains separate runs and state while sharing intended project metadata.
  2. Initialize a small test root configuration with an authorized HCP Terraform workspace and confirm the intended remote run target before any apply.
  3. Create two disposable workspaces with one shared tagged variable set and verify only authorized workspaces receive the intended nonsecret value.
  4. Publish a disposable versioned module, configure an authorized consumer workspace and verify the requested module version resolves to the reviewed source.

Answer & Explanations

Correct answer: D

A.

Create a test project with development and staging workspaces and verify each retains separate runs and state while sharing intended project metadata. That would help test “Group HCP Terraform workspaces into meaningful projects”, not the outcome required in this scenario. The relevant acceptance check is: Publish a disposable versioned module, configure an authorized consumer workspace and verify the requested module version resolves to the reviewed source.

B.

Initialize a small test root configuration with an authorized HCP Terraform workspace and confirm the intended remote run target before any apply. That would help test “Connect CLI configuration to an intended HCP Terraform workspace”, not the outcome required in this scenario. The relevant acceptance check is: Publish a disposable versioned module, configure an authorized consumer workspace and verify the requested module version resolves to the reviewed source.

C.

Create two disposable workspaces with one shared tagged variable set and verify only authorized workspaces receive the intended nonsecret value. That would help test “Use variable sets for shared managed workspace configuration”, not the outcome required in this scenario. The relevant acceptance check is: Publish a disposable versioned module, configure an authorized consumer workspace and verify the requested module version resolves to the reviewed source.

D.

The question is set in this situation: A large retail group needs several business units to reuse an approved DNS module while tracking which module version each workspace deploys. Publish a disposable versioned module, configure an authorized consumer workspace and verify the requested module version resolves to the reviewed source. This check is decisive because a private registry makes reviewed internal modules discoverable and versioned, while public registry availability alone does not establish an organization's security approval.

Question 739

A large retail group needs several business units to reuse an approved DNS module while tracking which module version each workspace deploys. Which proposed shortcut most directly risks duplicated untrusted module code and inconsistent upgrades across teams and should therefore be rejected?

  1. Let every team copy modules from unknown repositories without any shared versioning or approval process and call it enterprise governance.
  2. Put a production administrator secret into a globally scoped variable set and assume every workspace has the same least-privilege authorization.
  3. Move several workspaces into one HCP Terraform project and assume their state files automatically combine into one authoritative Terraform state.
  4. Copy an HCP Terraform cloud block between projects without checking organization and workspace identifiers, assuming Terraform will infer the right production account.

Answer & Explanations

Correct answer: A

A.

The question is set in this situation: A large retail group needs several business units to reuse an approved DNS module while tracking which module version each workspace deploys. Let every team copy modules from unknown repositories without any shared versioning or approval process and call it enterprise governance. The foreseeable failure is duplicated untrusted module code and inconsistent upgrades across teams. The safer response is: Publish approved reusable modules to the HCP Terraform private registry with documented source repositories, versions and access permissions.

B.

Put a production administrator secret into a globally scoped variable set and assume every workspace has the same least-privilege authorization. That shortcut risks unnecessary exposure and inconsistent workspace configuration. Here the specific shortcut is: Let every team copy modules from unknown repositories without any shared versioning or approval process and call it enterprise governance.

C.

Move several workspaces into one HCP Terraform project and assume their state files automatically combine into one authoritative Terraform state. That shortcut risks misunderstood infrastructure ownership and unintended cross-environment access assumptions. Here the specific shortcut is: Let every team copy modules from unknown repositories without any shared versioning or approval process and call it enterprise governance.

D.

Copy an HCP Terraform cloud block between projects without checking organization and workspace identifiers, assuming Terraform will infer the right production account. That shortcut risks plans and resource changes submitted to an unintended managed workspace. Here the specific shortcut is: Let every team copy modules from unknown repositories without any shared versioning or approval process and call it enterprise governance.

Question 740

A large retail group needs several business units to reuse an approved DNS module while tracking which module version each workspace deploys. Which combined implementation and verification plan is the best match for this workload?

  1. Implement: Organize workspaces into HCP Terraform projects according to team, application or lifecycle boundaries, applying sensible project-level access and variable policies. Verify: Create a test project with development and staging workspaces and verify each retains separate runs and state while sharing intended project metadata.
  2. Implement: Publish approved reusable modules to the HCP Terraform private registry with documented source repositories, versions and access permissions. Verify: Publish a disposable versioned module, configure an authorized consumer workspace and verify the requested module version resolves to the reviewed source.
  3. Implement: Define approved organization or project variable sets and scope them to the intended HCP Terraform workspaces without duplicating secrets manually. Verify: Publish a disposable versioned module, configure an authorized consumer workspace and verify the requested module version resolves to the reviewed source.
  4. Implement: Publish approved reusable modules to the HCP Terraform private registry with documented source repositories, versions and access permissions. Verify: Create two disposable workspaces with one shared tagged variable set and verify only authorized workspaces receive the intended nonsecret value.

Answer & Explanations

Correct answer: B

A.

This action/test pair addresses “Group HCP Terraform workspaces into meaningful projects”. Organize workspaces into HCP Terraform projects according to team, application or lifecycle boundaries, applying sensible project-level access and variable policies. Create a test project with development and staging workspaces and verify each retains separate runs and state while sharing intended project metadata. The case instead calls for: Publish approved reusable modules to the HCP Terraform private registry with documented source repositories, versions and access permissions.

B.

The question is set in this situation: A large retail group needs several business units to reuse an approved DNS module while tracking which module version each workspace deploys. Publish approved reusable modules to the HCP Terraform private registry with documented source repositories, versions and access permissions. Confirm it through this test: Publish a disposable versioned module, configure an authorized consumer workspace and verify the requested module version resolves to the reviewed source. A private registry makes reviewed internal modules discoverable and versioned, while public registry availability alone does not establish an organization's security approval.

C.

The test would be relevant: Publish a disposable versioned module, configure an authorized consumer workspace and verify the requested module version resolves to the reviewed source. But the offered implementation—Define approved organization or project variable sets and scope them to the intended HCP Terraform workspaces without duplicating secrets manually.—addresses “Use variable sets for shared managed workspace configuration”. The action needed here is: Publish approved reusable modules to the HCP Terraform private registry with documented source repositories, versions and access permissions.

D.

The action is applicable: Publish approved reusable modules to the HCP Terraform private registry with documented source repositories, versions and access permissions. But its proposed test—Create two disposable workspaces with one shared tagged variable set and verify only authorized workspaces receive the intended nonsecret value.—addresses “Use variable sets for shared managed workspace configuration”. This requirement is confirmed instead by: Publish a disposable versioned module, configure an authorized consumer workspace and verify the requested module version resolves to the reviewed source.

HashiCorp Certified: Terraform Associate (004) (Terraform Associate 004) Practice Tests