HashiCorp Terraform Associate 004 (HashiCorp Certified: Terraform Associate (004)) Practice Test 82

Question 810

A design uses Drift reconciliation to configuration to restore externally modified resource settings to desired code values. Which qualification applies to the named mechanism?

  1. A refresh-only apply instead accepts observed remote values into state.
  2. Configuration reconciliation requires a subsequent reviewed apply.
  3. It does not transfer a resource between unrelated provider types.
  4. It does not make the live object conform to an old configuration value.

Explanation

Correct Answer

A:

For Drift reconciliation to configuration in the task to restore externally modified resource settings to desired code values, the important caution is: A refresh-only apply instead accepts observed remote values into state. The reason this matters is its actual behavior: A regular plan and apply can propose changing a drifted object back to configured settings.

Incorrect Answers

B:

The proposed warning belongs to Remote drift detection during plan, which serves the different goal to recognize that a resource was changed outside Terraform, rather than to Drift reconciliation to configuration: Normal plan refresh reads can reveal drift between state and the remote object. The question concerns Drift reconciliation to configuration acting to restore externally modified resource settings to desired code values, not a limit of Remote drift detection during plan.

C:

The proposed warning belongs to moved block for refactoring, which serves the different goal to rename a managed resource address without destroying its remote object, rather than to Drift reconciliation to configuration: A moved block describes an address migration as part of configuration history. The question concerns Drift reconciliation to configuration acting to restore externally modified resource settings to desired code values, not a limit of moved block for refactoring.

D:

The proposed warning belongs to Refresh-only reconciliation, which serves the different goal to accept an external change into Terraform state without modifying remote infrastructure, rather than to Drift reconciliation to configuration: A refresh-only plan or apply updates state and outputs to observed values. The question concerns Drift reconciliation to configuration acting to restore externally modified resource settings to desired code values, not a limit of Refresh-only reconciliation.

Question 811

A team reviews the use of Cross-platform dependency references in Terraform 1.12. Which purpose matches its actual behavior?

  1. manage different clouds from one Terraform root module
  2. use output from one service to configure another supported service
  3. plan and apply resources from several providers in one run
  4. abstract a deployment pattern while keeping provider details explicit
  5. use a common language without pretending providers expose identical capabilities

Explanation

Correct Answer

B:

The practical result of Cross-platform dependency references, used to use output from one service to configure another supported service, is: References can establish ordering when a resource on one platform consumes attributes from another resource. A qualification for this effect is: The dependency does not remove authentication or network prerequisites on either platform.

Incorrect Answers

A:

That outcome applies to Multi-cloud provider configuration, intended to manage different clouds from one Terraform root module, rather than the question's feature Cross-platform dependency references: Separate provider plugins can reconcile resources on multiple platforms within the same configuration. Unlike Multi-cloud provider configuration, Cross-platform dependency references is intended to use output from one service to configure another supported service, not to manage different clouds from one Terraform root module.

C:

That outcome applies to Common Terraform lifecycle across providers, intended to plan and apply resources from several providers in one run, rather than the question's feature Cross-platform dependency references: Terraform Core constructs a dependency graph and asks installed providers to implement their own actions. Unlike Common Terraform lifecycle across providers, Cross-platform dependency references is intended to use output from one service to configure another supported service, not to plan and apply resources from several providers in one run.

D:

That outcome applies to Vendor portability through modules, intended to abstract a deployment pattern while keeping provider details explicit, rather than the question's feature Cross-platform dependency references: A module can offer common input and output conventions even if its implementation uses provider-specific resources. Unlike Vendor portability through modules, Cross-platform dependency references is intended to use output from one service to configure another supported service, not to abstract a deployment pattern while keeping provider details explicit.

E:

That outcome applies to Provider-specific implementation, intended to use a common language without pretending providers expose identical capabilities, rather than the question's feature Cross-platform dependency references: HCL and workflow are common while each provider defines its own resource schema and service-specific behavior. Unlike Provider-specific implementation, Cross-platform dependency references is intended to use output from one service to configure another supported service, not to use a common language without pretending providers expose identical capabilities.

Question 812

The team is documenting risks of Module versus provider version lock while planning to track module release selection separately from provider lock file behavior. Which caveat specifically applies to that mechanism?

  1. Assuming .terraform.lock.hcl freezes registry modules can surprise a new installation.
  2. An unpinned module version may drift as newer releases appear.
  3. Pinning a module does not pin its provider dependencies unless constrained separately.
  4. terraform apply does not automatically fetch newly declared module packages.

Explanation

Correct Answer

A:

For Module versus provider version lock in the task to track module release selection separately from provider lock file behavior, the important caution is: Assuming .terraform.lock.hcl freezes registry modules can surprise a new installation. The reason this matters is its actual behavior: Module versions are selected by module source and version settings, whereas the lock file records providers.

Incorrect Answers

B:

The proposed warning belongs to Registry module version constraint, which serves the different goal to select module releases meeting a declared compatibility range, rather than to Module versus provider version lock: A registry module call accepts a version argument that chooses supported release versions. The question concerns Module versus provider version lock acting to track module release selection separately from provider lock file behavior, not a limit of Registry module version constraint.

C:

The proposed warning belongs to Exact registry module version, which serves the different goal to make a published module dependency deterministic across clean installs, rather than to Module versus provider version lock: An exact version requirement identifies one registry module release. The question concerns Module versus provider version lock acting to track module release selection separately from provider lock file behavior, not a limit of Exact registry module version.

D:

The proposed warning belongs to Module upgrade through init, which serves the different goal to fetch a newly allowed version after editing the module version requirement, rather than to Module versus provider version lock: Rerunning terraform init downloads compatible module source versions when module requirements change. The question concerns Module versus provider version lock acting to track module release selection separately from provider lock file behavior, not a limit of Module upgrade through init.

Question 813

The rollout owner asks whether HCP Terraform workspace variable configuration is sufficient to provide Terraform and environment variables to a hosted run. Which limitation specifically concerns that mechanism?

  1. Sensitive values should be marked appropriately and access limited.
  2. A migration should be backed up and verified before discarding the local copy.
  3. Actual execution behavior depends on the workspace and integration settings.
  4. A CLI token is not a cloud provider's deployment credential.
  5. It should not be combined with a separate backend block in the same root configuration.

Explanation

Correct Answer

A:

For HCP Terraform workspace variable configuration in the task to provide Terraform and environment variables to a hosted run, the important caution is: Sensitive values should be marked appropriately and access limited. The reason this matters is its actual behavior: Workspace variables and variable sets can supply inputs or environment settings to HCP Terraform operations.

Incorrect Answers

B:

The proposed warning belongs to Local to HCP state migration, which serves the different goal to move a locally managed state history into an HCP Terraform workspace, rather than to HCP Terraform workspace variable configuration: Changing state integration and reinitializing can migrate state into HCP Terraform when configured correctly. The question concerns HCP Terraform workspace variable configuration acting to provide Terraform and environment variables to a hosted run, not a limit of Local to HCP state migration.

C:

The proposed warning belongs to CLI-driven HCP runs, which serves the different goal to initiate workspace operations through familiar Terraform commands, rather than to HCP Terraform workspace variable configuration: HCP Terraform supports CLI-driven workflows connected to remote workspace state and operations. The question concerns HCP Terraform workspace variable configuration acting to provide Terraform and environment variables to a hosted run, not a limit of CLI-driven HCP runs.

D:

The proposed warning belongs to Terraform CLI login to HCP, which serves the different goal to authenticate local Terraform CLI operations against HCP Terraform, rather than to HCP Terraform workspace variable configuration: terraform login starts an authentication workflow and stores a token for HCP Terraform access. The question concerns HCP Terraform workspace variable configuration acting to provide Terraform and environment variables to a hosted run, not a limit of Terraform CLI login to HCP.

E:

The listed caution belongs specifically to cloud block HCP integration, used to associate a Terraform root configuration with an HCP Terraform organization and workspace: A cloud block in terraform settings configures the HCP Terraform integration for that root module; the feature under review is instead HCP Terraform workspace variable configuration, so this answer attaches another feature's qualification to the wrong mechanism.

Question 814

A team reviews the use of TRACE diagnostic level in Terraform 1.12. Which purpose matches its actual behavior?

  1. review debugging evidence without publishing API secrets
  2. focus verbose diagnostics on provider-side activity
  3. enable Terraform debugging output while investigating a CLI failure
  4. capture highly detailed events for a stubborn Terraform problem
  5. avoid collecting unnecessary sensitive operational output

Explanation

Correct Answer

D:

The practical result of TRACE diagnostic level, used to capture highly detailed events for a stubborn Terraform problem, is: TRACE is a very verbose Terraform logging level useful for deep troubleshooting. A qualification for this effect is: It is too noisy and potentially sensitive for routine production pipelines.

Incorrect Answers

A:

That outcome applies to Log analysis and source protection, intended to review debugging evidence without publishing API secrets, rather than the question's feature TRACE diagnostic level: Diagnostic logs should be stored and shared according to secret-handling policy. Unlike Log analysis and source protection, TRACE diagnostic level is intended to capture highly detailed events for a stubborn Terraform problem, not to review debugging evidence without publishing API secrets.

B:

That outcome applies to TF_LOG_PROVIDER environment variable, intended to focus verbose diagnostics on provider-side activity, rather than the question's feature TRACE diagnostic level: TF_LOG_PROVIDER controls the provider logging level to aid plugin or API troubleshooting. Unlike TF_LOG_PROVIDER environment variable, TRACE diagnostic level is intended to capture highly detailed events for a stubborn Terraform problem, not to focus verbose diagnostics on provider-side activity.

C:

That outcome applies to TF_LOG environment variable, intended to enable Terraform debugging output while investigating a CLI failure, rather than the question's feature TRACE diagnostic level: TF_LOG sets a supported logging level such as DEBUG or TRACE for a Terraform process. Unlike TF_LOG environment variable, TRACE diagnostic level is intended to capture highly detailed events for a stubborn Terraform problem, not to enable Terraform debugging output while investigating a CLI failure.

E:

That outcome applies to Disable debug logging after diagnosis, intended to avoid collecting unnecessary sensitive operational output, rather than the question's feature TRACE diagnostic level: Unset debug environment variables or restore normal log settings when the investigation ends. Unlike Disable debug logging after diagnosis, TRACE diagnostic level is intended to capture highly detailed events for a stubborn Terraform problem, not to avoid collecting unnecessary sensitive operational output.

Question 815

A deployment design calls for a supported way to favor replacement resource creation before deletion of its predecessor. Which mechanism most directly meets this particular need?

  1. create_before_destroy lifecycle
  2. Explicit depends_on relationship
  3. Implicit dependency from expression
  4. ignore_changes lifecycle

Explanation

Correct Answer

A:

The task is to favor replacement resource creation before deletion of its predecessor; create_before_destroy lifecycle directly supports that requirement: The lifecycle rule changes replacement ordering when the provider and external constraints permit it. Its relevant boundary is: A uniqueness constraint or quota can still prevent parallel old and new objects.

Incorrect Answers

B:

Explicit depends_on relationship is designed to order otherwise unreferenced actions that have a hidden operational dependency, whereas this task is to favor replacement resource creation before deletion of its predecessor: depends_on declares an ordering relationship when there is no suitable value reference. Against create_before_destroy lifecycle, its limitation is: Excessive explicit dependencies can make planning conservative and values unknown.

C:

Implicit dependency from expression is designed to order resources when one consumes an attribute produced by another, whereas this task is to favor replacement resource creation before deletion of its predecessor: Terraform derives an edge from an expression reference and schedules the producer first. Against create_before_destroy lifecycle, its limitation is: No extra depends_on is needed for an already represented relationship.

D:

ignore_changes lifecycle addresses the different requirement to suppress planned updates for selected externally managed attributes: ignore_changes tells Terraform to disregard specified differences when planning updates to an existing resource; this does not by itself satisfy the requested task to favor replacement resource creation before deletion of its predecessor. For the stated need, create_before_destroy lifecycle is the more direct mechanism.

Question 816

A Terraform rollout has two separate requirements: first, recognize that a proposed change will replace an existing resource; second, capture one execution plan for later approval and application. Which assignment of mechanisms correctly handles both responsibilities?

  1. First use Plan saved to file; then use Replacement plan indicator.
  2. First use Refresh-only planning; then use Plan saved to file.
  3. First use Replacement plan indicator; then use Plan saved to file.
  4. First use Replacement plan indicator; then use Targeted planning.
  5. First use Targeted planning; then use Refresh-only planning.

Explanation

Correct Answer

C:

The first requirement, to recognize that a proposed change will replace an existing resource, is handled by Replacement plan indicator: The plan symbols -/+ or +/- indicate replacement behavior and its creation/destruction ordering. The second requirement, to capture one execution plan for later approval and application, is handled by Plan saved to file: terraform plan -out=change.tfplan saves an executable binary plan artifact. Each of these mechanisms has a distinct responsibility.

Incorrect Answers

A:

For the requested tasks to recognize that a proposed change will replace an existing resource and capture one execution plan for later approval and application, the first candidate Plan saved to file addresses capture one execution plan for later approval and application; the second candidate Replacement plan indicator addresses recognize that a proposed change will replace an existing resource. This mapping fails because the first mechanism primarily supports the task to capture one execution plan for later approval and application and the second mechanism primarily supports the task to recognize that a proposed change will replace an existing resource; the actual requirements are recognize that a proposed change will replace an existing resource first and capture one execution plan for later approval and application second.

B:

For the requested tasks to recognize that a proposed change will replace an existing resource and capture one execution plan for later approval and application, the first candidate Refresh-only planning addresses inspect externally changed infrastructure without planning configuration reconciliation; the second candidate Plan saved to file addresses capture one execution plan for later approval and application. This mapping fails because the first mechanism primarily supports the task to inspect externally changed infrastructure without planning configuration reconciliation; the actual requirements are recognize that a proposed change will replace an existing resource first and capture one execution plan for later approval and application second.

D:

For the requested tasks to recognize that a proposed change will replace an existing resource and capture one execution plan for later approval and application, the first candidate Replacement plan indicator addresses recognize that a proposed change will replace an existing resource; the second candidate Targeted planning addresses focus on a small subset for exceptional repair or troubleshooting. This mapping fails because the second mechanism primarily supports the task to focus on a small subset for exceptional repair or troubleshooting; the actual requirements are recognize that a proposed change will replace an existing resource first and capture one execution plan for later approval and application second.

E:

For the requested tasks to recognize that a proposed change will replace an existing resource and capture one execution plan for later approval and application, the first candidate Targeted planning addresses focus on a small subset for exceptional repair or troubleshooting; the second candidate Refresh-only planning addresses inspect externally changed infrastructure without planning configuration reconciliation. This mapping fails because the first mechanism primarily supports the task to focus on a small subset for exceptional repair or troubleshooting and the second mechanism primarily supports the task to inspect externally changed infrastructure without planning configuration reconciliation; the actual requirements are recognize that a proposed change will replace an existing resource first and capture one execution plan for later approval and application second.

Question 817

A design uses Default provider configuration inheritance to let a child module use default provider settings from its parent. Which qualification applies to the named mechanism?

  1. The alias must be declared and satisfy provider requirements.
  2. Resources still use their provider-defined schemas and credentials.
  3. Aliases and complex configurations often require explicit mapping.
  4. The existence of an alias does not move existing resources to that configuration automatically.

Explanation

Correct Answer

C:

For Default provider configuration inheritance in the task to let a child module use default provider settings from its parent, the important caution is: Aliases and complex configurations often require explicit mapping. The reason this matters is its actual behavior: Child modules commonly inherit default provider configurations from the calling module.

Incorrect Answers

A:

The proposed warning belongs to Resource provider meta-argument, which serves the different goal to direct an individual resource to the intended aliased provider, rather than to Default provider configuration inheritance: The provider meta-argument can select a configured instance such as aws.west for that resource. The question concerns Default provider configuration inheritance acting to let a child module use default provider settings from its parent, not a limit of Resource provider meta-argument.

B:

The proposed warning belongs to Different provider local names, which serves the different goal to declare several provider types in the same root module, rather than to Default provider configuration inheritance: The required_providers map can list multiple source addresses with distinct local names. The question concerns Default provider configuration inheritance acting to let a child module use default provider settings from its parent, not a limit of Different provider local names.

D:

The proposed warning belongs to Aliased provider instance, which serves the different goal to configure a second instance of the same provider for another account or region, rather than to Default provider configuration inheritance: The alias argument gives a provider configuration an additional address that resources can select. The question concerns Default provider configuration inheritance acting to let a child module use default provider settings from its parent, not a limit of Aliased provider instance.

Question 818

The implementation must both restore externally modified resource settings to desired code values and accept an external change into Terraform state without modifying remote infrastructure. Which TWO mechanisms directly address these two separate requirements? Choose TWO.

  1. Drift reconciliation to configuration
  2. Refresh-only reconciliation
  3. moved block for refactoring
  4. Remote drift detection during plan
  5. removed block with destroy=false

Explanation

Correct Answers

A:

Among the paired tasks to restore externally modified resource settings to desired code values and accept an external change into Terraform state without modifying remote infrastructure, Drift reconciliation to configuration serves the requirement to restore externally modified resource settings to desired code values: A regular plan and apply can propose changing a drifted object back to configured settings. The other task must be covered by a separate mechanism.

B:

Among the paired tasks to restore externally modified resource settings to desired code values and accept an external change into Terraform state without modifying remote infrastructure, Refresh-only reconciliation serves the requirement to accept an external change into Terraform state without modifying remote infrastructure: A refresh-only plan or apply updates state and outputs to observed values. The other task must be covered by a separate mechanism.

Incorrect Answers

C:

The requirements are restore externally modified resource settings to desired code values and accept an external change into Terraform state without modifying remote infrastructure, while moved block for refactoring supports the different task to rename a managed resource address without destroying its remote object: A moved block describes an address migration as part of configuration history. That capability is outside the two selected responsibilities.

D:

The requirements are restore externally modified resource settings to desired code values and accept an external change into Terraform state without modifying remote infrastructure, while Remote drift detection during plan supports the different task to recognize that a resource was changed outside Terraform: Normal plan refresh reads can reveal drift between state and the remote object. That capability is outside the two selected responsibilities.

E:

The requirements are restore externally modified resource settings to desired code values and accept an external change into Terraform state without modifying remote infrastructure, while removed block with destroy=false supports the different task to stop tracking an object in state but deliberately leave it deployed: A removed block declares that Terraform should forget a resource without deleting it when destroy=false. That capability is outside the two selected responsibilities.

Question 819

A Terraform rollout has two separate requirements: first, track module release selection separately from provider lock file behavior; second, make a published module dependency deterministic across clean installs. Which assignment of mechanisms correctly handles both responsibilities?

  1. First use Module upgrade through init; then use Version of Git module.
  2. First use Module versus provider version lock; then use Exact registry module version.
  3. First use Exact registry module version; then use Module versus provider version lock.
  4. First use Version of Git module; then use Exact registry module version.
  5. First use Module versus provider version lock; then use Module upgrade through init.

Explanation

Correct Answer

B:

The first requirement, to track module release selection separately from provider lock file behavior, is handled by Module versus provider version lock: Module versions are selected by module source and version settings, whereas the lock file records providers. The second requirement, to make a published module dependency deterministic across clean installs, is handled by Exact registry module version: An exact version requirement identifies one registry module release. Each of these mechanisms has a distinct responsibility.

Incorrect Answers

A:

For the requested tasks to track module release selection separately from provider lock file behavior and make a published module dependency deterministic across clean installs, the first candidate Module upgrade through init addresses fetch a newly allowed version after editing the module version requirement; the second candidate Version of Git module addresses pin a VCS module using its source ref rather than registry version. This mapping fails because the first mechanism primarily supports the task to fetch a newly allowed version after editing the module version requirement and the second mechanism primarily supports the task to pin a VCS module using its source ref rather than registry version; the actual requirements are track module release selection separately from provider lock file behavior first and make a published module dependency deterministic across clean installs second.

C:

For the requested tasks to track module release selection separately from provider lock file behavior and make a published module dependency deterministic across clean installs, the first candidate Exact registry module version addresses make a published module dependency deterministic across clean installs; the second candidate Module versus provider version lock addresses track module release selection separately from provider lock file behavior. This mapping fails because the first mechanism primarily supports the task to make a published module dependency deterministic across clean installs and the second mechanism primarily supports the task to track module release selection separately from provider lock file behavior; the actual requirements are track module release selection separately from provider lock file behavior first and make a published module dependency deterministic across clean installs second.

D:

For the requested tasks to track module release selection separately from provider lock file behavior and make a published module dependency deterministic across clean installs, the first candidate Version of Git module addresses pin a VCS module using its source ref rather than registry version; the second candidate Exact registry module version addresses make a published module dependency deterministic across clean installs. This mapping fails because the first mechanism primarily supports the task to pin a VCS module using its source ref rather than registry version; the actual requirements are track module release selection separately from provider lock file behavior first and make a published module dependency deterministic across clean installs second.

E:

For the requested tasks to track module release selection separately from provider lock file behavior and make a published module dependency deterministic across clean installs, the first candidate Module versus provider version lock addresses track module release selection separately from provider lock file behavior; the second candidate Module upgrade through init addresses fetch a newly allowed version after editing the module version requirement. This mapping fails because the second mechanism primarily supports the task to fetch a newly allowed version after editing the module version requirement; the actual requirements are track module release selection separately from provider lock file behavior first and make a published module dependency deterministic across clean installs second.

Question 820

A Terraform rollout has two separate requirements: first, provide Terraform and environment variables to a hosted run; second, associate a Terraform root configuration with an HCP Terraform organization and workspace. Which assignment of mechanisms correctly handles both responsibilities?

  1. First use HCP Terraform workspace selection; then use Local to HCP state migration.
  2. First use cloud block HCP integration; then use HCP Terraform workspace variable configuration.
  3. First use Local to HCP state migration; then use cloud block HCP integration.
  4. First use HCP Terraform workspace variable configuration; then use cloud block HCP integration.
  5. First use HCP Terraform workspace variable configuration; then use HCP Terraform workspace selection.

Explanation

Correct Answer

D:

The first requirement, to provide Terraform and environment variables to a hosted run, is handled by HCP Terraform workspace variable configuration: Workspace variables and variable sets can supply inputs or environment settings to HCP Terraform operations. The second requirement, to associate a Terraform root configuration with an HCP Terraform organization and workspace, is handled by cloud block HCP integration: A cloud block in terraform settings configures the HCP Terraform integration for that root module. Each of these mechanisms has a distinct responsibility.

Incorrect Answers

A:

For the requested tasks to provide Terraform and environment variables to a hosted run and associate a Terraform root configuration with an HCP Terraform organization and workspace, the first candidate HCP Terraform workspace selection addresses route CLI-driven operations to the intended HCP workspace; the second candidate Local to HCP state migration addresses move a locally managed state history into an HCP Terraform workspace. This mapping fails because the first mechanism primarily supports the task to route CLI-driven operations to the intended HCP workspace and the second mechanism primarily supports the task to move a locally managed state history into an HCP Terraform workspace; the actual requirements are provide Terraform and environment variables to a hosted run first and associate a Terraform root configuration with an HCP Terraform organization and workspace second.

B:

For the requested tasks to provide Terraform and environment variables to a hosted run and associate a Terraform root configuration with an HCP Terraform organization and workspace, the first candidate cloud block HCP integration addresses associate a Terraform root configuration with an HCP Terraform organization and workspace; the second candidate HCP Terraform workspace variable configuration addresses provide Terraform and environment variables to a hosted run. This mapping fails because the first mechanism primarily supports the task to associate a Terraform root configuration with an HCP Terraform organization and workspace and the second mechanism primarily supports the task to provide Terraform and environment variables to a hosted run; the actual requirements are provide Terraform and environment variables to a hosted run first and associate a Terraform root configuration with an HCP Terraform organization and workspace second.

C:

For the requested tasks to provide Terraform and environment variables to a hosted run and associate a Terraform root configuration with an HCP Terraform organization and workspace, the first candidate Local to HCP state migration addresses move a locally managed state history into an HCP Terraform workspace; the second candidate cloud block HCP integration addresses associate a Terraform root configuration with an HCP Terraform organization and workspace. This mapping fails because the first mechanism primarily supports the task to move a locally managed state history into an HCP Terraform workspace; the actual requirements are provide Terraform and environment variables to a hosted run first and associate a Terraform root configuration with an HCP Terraform organization and workspace second.

E:

For the requested tasks to provide Terraform and environment variables to a hosted run and associate a Terraform root configuration with an HCP Terraform organization and workspace, the first candidate HCP Terraform workspace variable configuration addresses provide Terraform and environment variables to a hosted run; the second candidate HCP Terraform workspace selection addresses route CLI-driven operations to the intended HCP workspace. This mapping fails because the second mechanism primarily supports the task to route CLI-driven operations to the intended HCP workspace; the actual requirements are provide Terraform and environment variables to a hosted run first and associate a Terraform root configuration with an HCP Terraform organization and workspace second.

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