McAfee-Secured Website

Exam Bundle

Exam Code: Terraform Associate 004

Exam Name HashiCorp Certified: Terraform Associate (004)

Certification Provider: HashiCorp

Corresponding Certification: Terraform Associate

HashiCorp Terraform Associate 004 Bundle $19.99

100% HashiCorp Terraform Associate 004 Guaranteed Success With Testking Training Materials

Get Real Terraform Associate 004 Exam Questions & Expert Verified Answers as Experienced on the Real Exam!

  • Questions & Answers

    Terraform Associate 004 Questions & Answers

    167 Questions & Answers

    The ultimate exam preparation tool, Questions & Answers mirrors the actual Terraform Associate 004 exam while allowing you to hone and measure every aspect of your test-taking ability.

  • Study Guide

    Terraform Associate 004 Study Guide

    285 PDF Pages

    Developed by industry experts, this 285-page guide spells out in painstaking detail all of the information you need to ace Terraform Associate 004 exam.

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

Satisfaction Guaranteed

Money Back Guarantee

Testking provides hassle-free money back guarantee with our products. That is because we have 100% trust in the abilities of our professional and experience product team, and our record is a proof of that.

99.6% PASS RATE
Total Cost: $154.98
Bundle Price: $134.99

Purchase Individually

  • Questions & Answers

    Questions & Answers

    167 Questions

    $124.99
  • Study Guide

    Study Guide

    285 PDF Pages

    $29.99

HashiCorp Terraform Associate 004 Practice Test 9

Question 80

Brightside Cloud Works requires independent evidence before signing off this Terraform correction: Two developers obtain different provider binaries from the same repository because one manually deletes the dependency lock file. Which controlled check would validate the remediation?

  1. After apply, automation can query the root output without inspecting child resource internals.
  2. terraform init resolves the plugin and terraform validate recognizes the provider-defined resource type.
  3. Clean installations select the approved provider versions with expected lock-file checksums.
  4. After state rm, the object remains in the remote API but is absent from terraform state list.

Explanation

Correct Answer

C:

Clean installations select the approved provider versions with expected lock-file checksums. This directly verifies the corrective action: Keep the .terraform.lock.hcl file under version control and use normal initialization for team installs. The measured result specifically addresses the failure at Brightside Cloud Works: Two developers obtain different provider binaries from the same repository because one manually deletes the dependency lock file.

Incorrect Answers

A:

After apply, automation can query the root output without inspecting child resource internals. This evidence would validate a DIFFERENT correction: Forward the necessary nested output through a root output while retaining encapsulation. That different correction addresses: A nested module produces an output needed by external automation, but the root never exposes it. It does not establish that the Brightside Cloud Works issue has been corrected: Two developers obtain different provider binaries from the same repository because one manually deletes the dependency lock file. The relevant measured outcome is: Clean installations select the approved provider versions with expected lock-file checksums.

B:

terraform init resolves the plugin and terraform validate recognizes the provider-defined resource type. This evidence would validate a DIFFERENT correction: Install and configure the relevant provider that exposes the target platform's resource types. That different correction addresses: A developer expects Terraform itself to create arbitrary cloud objects without API plugins and gets an unknown resource type. It does not establish that the Brightside Cloud Works issue has been corrected: Two developers obtain different provider binaries from the same repository because one manually deletes the dependency lock file. The relevant measured outcome is: Clean installations select the approved provider versions with expected lock-file checksums.

D:

After state rm, the object remains in the remote API but is absent from terraform state list. This evidence would validate a DIFFERENT correction: Use state rm only for removing Terraform management and use destroy when actual remote deletion is intended. That different correction addresses: A team needs to stop tracking a resource but assumes terraform state rm destroys the remote object as well. It does not establish that the Brightside Cloud Works issue has been corrected: Two developers obtain different provider binaries from the same repository because one manually deletes the dependency lock file. The relevant measured outcome is: Clean installations select the approved provider versions with expected lock-file checksums.

Question 81

Beacon Engineering is preparing a controlled Terraform update after identifying this fault: A team assumes terraform init -upgrade also updates the Terraform CLI executable on engineers' laptops. Which engineering change most directly resolves this issue?

  1. Manage CLI version installation separately and use init -upgrade only for dependency selections supported by configuration.
  2. Set supported region and authentication settings in the provider configuration or its documented environment variables.
  3. Apply the previously saved reviewed plan rather than silently calculating an unrelated replacement plan.
  4. Declare the input variable in the child and pass the value explicitly in the module block.

Explanation

Correct Answer

A:

Manage CLI version installation separately and use init -upgrade only for dependency selections supported by configuration. This is targeted to the observed Terraform issue: A team assumes terraform init -upgrade also updates the Terraform CLI executable on engineers' laptops. At Beacon Engineering, the acceptance criterion is not merely a valid plan; the team should verify: The CLI version is checked independently and the provider version change appears in the lock file.

Incorrect Answers

B:

Set supported region and authentication settings in the provider configuration or its documented environment variables. This would be suitable for a DIFFERENT Terraform problem: A project uses a provider's resource type but expects the provider to infer a region from unrelated application variables. It does not directly resolve the Beacon Engineering failure: A team assumes terraform init -upgrade also updates the Terraform CLI executable on engineers' laptops. The required acceptance evidence instead is: The CLI version is checked independently and the provider version change appears in the lock file.

C:

Apply the previously saved reviewed plan rather than silently calculating an unrelated replacement plan. This would be suitable for a DIFFERENT Terraform problem: A pipeline recreates a new unapproved plan between review and apply, potentially introducing changes not previously seen. It does not directly resolve the Beacon Engineering failure: A team assumes terraform init -upgrade also updates the Terraform CLI executable on engineers' laptops. The required acceptance evidence instead is: The CLI version is checked independently and the provider version change appears in the lock file.

D:

Declare the input variable in the child and pass the value explicitly in the module block. This would be suitable for a DIFFERENT Terraform problem: A root module declares var.region and assumes a child module automatically receives it despite no declared input argument. It does not directly resolve the Beacon Engineering failure: A team assumes terraform init -upgrade also updates the Terraform CLI executable on engineers' laptops. The required acceptance evidence instead is: The CLI version is checked independently and the provider version change appears in the lock file.

Question 82

Beacon Engineering requires independent evidence before signing off this Terraform correction: A team assumes terraform init -upgrade also updates the Terraform CLI executable on engineers' laptops. What acceptance evidence is most relevant to this reported issue?

  1. The child module resolves its required region from the caller and validation no longer reports a missing input.
  2. The CLI version is checked independently and the provider version change appears in the lock file.
  3. The provider targets the intended region and a plan shows resources using its configured account and endpoint.
  4. The applied changes correspond to the same exact plan that was approved.

Explanation

Correct Answer

B:

The CLI version is checked independently and the provider version change appears in the lock file. This directly verifies the corrective action: Manage CLI version installation separately and use init -upgrade only for dependency selections supported by configuration. The measured result specifically addresses the failure at Beacon Engineering: A team assumes terraform init -upgrade also updates the Terraform CLI executable on engineers' laptops.

Incorrect Answers

A:

The child module resolves its required region from the caller and validation no longer reports a missing input. This evidence would validate a DIFFERENT correction: Declare the input variable in the child and pass the value explicitly in the module block. That different correction addresses: A root module declares var.region and assumes a child module automatically receives it despite no declared input argument. It does not establish that the Beacon Engineering issue has been corrected: A team assumes terraform init -upgrade also updates the Terraform CLI executable on engineers' laptops. The relevant measured outcome is: The CLI version is checked independently and the provider version change appears in the lock file.

C:

The provider targets the intended region and a plan shows resources using its configured account and endpoint. This evidence would validate a DIFFERENT correction: Set supported region and authentication settings in the provider configuration or its documented environment variables. That different correction addresses: A project uses a provider's resource type but expects the provider to infer a region from unrelated application variables. It does not establish that the Beacon Engineering issue has been corrected: A team assumes terraform init -upgrade also updates the Terraform CLI executable on engineers' laptops. The relevant measured outcome is: The CLI version is checked independently and the provider version change appears in the lock file.

D:

The applied changes correspond to the same exact plan that was approved. This evidence would validate a DIFFERENT correction: Apply the previously saved reviewed plan rather than silently calculating an unrelated replacement plan. That different correction addresses: A pipeline recreates a new unapproved plan between review and apply, potentially introducing changes not previously seen. It does not establish that the Beacon Engineering issue has been corrected: A team assumes terraform init -upgrade also updates the Terraform CLI executable on engineers' laptops. The relevant measured outcome is: The CLI version is checked independently and the provider version change appears in the lock file.

Question 83

A Terraform maintainer supporting Arbor Cloud Systems investigates this scenario: A team assumes terraform init -upgrade also updates the Terraform CLI executable on engineers' laptops. How should the Terraform engineer correct this specific failure?

  1. Create an HCP Terraform workspace with approved configuration source, variables, and remote operations.
  2. Assign a single owner state for the object and let other teams consume its outputs or a read-only lookup.
  3. Manage CLI version installation separately and use init -upgrade only for dependency selections supported by configuration.
  4. Define an aliased provider configuration for the second region and explicitly select it on relevant resources.

Explanation

Correct Answer

C:

Manage CLI version installation separately and use init -upgrade only for dependency selections supported by configuration. This is targeted to the observed Terraform issue: A team assumes terraform init -upgrade also updates the Terraform CLI executable on engineers' laptops. At Arbor Cloud Systems, the acceptance criterion is not merely a valid plan; the team should verify: The CLI version is checked independently and the provider version change appears in the lock file.

Incorrect Answers

A:

Create an HCP Terraform workspace with approved configuration source, variables, and remote operations. This would be suitable for a DIFFERENT Terraform problem: An organization manually runs Terraform on personal laptops but now wants a managed service to coordinate its state and execution workflow. It does not directly resolve the Arbor Cloud Systems failure: A team assumes terraform init -upgrade also updates the Terraform CLI executable on engineers' laptops. The required acceptance evidence instead is: The CLI version is checked independently and the provider version change appears in the lock file.

B:

Assign a single owner state for the object and let other teams consume its outputs or a read-only lookup. This would be suitable for a DIFFERENT Terraform problem: An operator imports the same remote bucket into two independent root states to share responsibility between teams. It does not directly resolve the Arbor Cloud Systems failure: A team assumes terraform init -upgrade also updates the Terraform CLI executable on engineers' laptops. The required acceptance evidence instead is: The CLI version is checked independently and the provider version change appears in the lock file.

D:

Define an aliased provider configuration for the second region and explicitly select it on relevant resources. This would be suitable for a DIFFERENT Terraform problem: Two AWS regions must be managed from one root module, but all resources silently target the default region. It does not directly resolve the Arbor Cloud Systems failure: A team assumes terraform init -upgrade also updates the Terraform CLI executable on engineers' laptops. The required acceptance evidence instead is: The CLI version is checked independently and the provider version change appears in the lock file.

Question 84

A controlled test for Arbor Cloud Systems focuses on the original failure: A team assumes terraform init -upgrade also updates the Terraform CLI executable on engineers' laptops. Which verification outcome is the strongest evidence of the required correction?

  1. The bucket is tracked by one responsible state and downstream plans do not fight over its settings.
  2. The plan places each regional resource under the intended default or aliased provider configuration.
  3. A reviewed run appears in workspace history and produces a versioned state update in HCP Terraform.
  4. The CLI version is checked independently and the provider version change appears in the lock file.

Explanation

Correct Answer

D:

The CLI version is checked independently and the provider version change appears in the lock file. This directly verifies the corrective action: Manage CLI version installation separately and use init -upgrade only for dependency selections supported by configuration. The measured result specifically addresses the failure at Arbor Cloud Systems: A team assumes terraform init -upgrade also updates the Terraform CLI executable on engineers' laptops.

Incorrect Answers

A:

The bucket is tracked by one responsible state and downstream plans do not fight over its settings. This evidence would validate a DIFFERENT correction: Assign a single owner state for the object and let other teams consume its outputs or a read-only lookup. That different correction addresses: An operator imports the same remote bucket into two independent root states to share responsibility between teams. It does not establish that the Arbor Cloud Systems issue has been corrected: A team assumes terraform init -upgrade also updates the Terraform CLI executable on engineers' laptops. The relevant measured outcome is: The CLI version is checked independently and the provider version change appears in the lock file.

B:

The plan places each regional resource under the intended default or aliased provider configuration. This evidence would validate a DIFFERENT correction: Define an aliased provider configuration for the second region and explicitly select it on relevant resources. That different correction addresses: Two AWS regions must be managed from one root module, but all resources silently target the default region. It does not establish that the Arbor Cloud Systems issue has been corrected: A team assumes terraform init -upgrade also updates the Terraform CLI executable on engineers' laptops. The relevant measured outcome is: The CLI version is checked independently and the provider version change appears in the lock file.

C:

A reviewed run appears in workspace history and produces a versioned state update in HCP Terraform. This evidence would validate a DIFFERENT correction: Create an HCP Terraform workspace with approved configuration source, variables, and remote operations. That different correction addresses: An organization manually runs Terraform on personal laptops but now wants a managed service to coordinate its state and execution workflow. It does not establish that the Arbor Cloud Systems issue has been corrected: A team assumes terraform init -upgrade also updates the Terraform CLI executable on engineers' laptops. The relevant measured outcome is: The CLI version is checked independently and the provider version change appears in the lock file.

Question 85

A Terraform maintainer supporting Oakridge DevOps investigates this scenario: A platform's provider version range conflicts with the constraints of a child module and initialization fails with no compatible release. Which proposed fix addresses the reported root cause?

  1. Use appropriate workspace run triggers or explicit orchestration to model legitimate cross-workspace dependencies.
  2. Reconcile compatible provider constraints across root and child modules before selecting an installed version.
  3. Correct the relative module source path and initialize the configuration to load the existing local module.
  4. Refresh state through a normal or refresh-only plan and evaluate the resulting drift before applying any configuration change.

Explanation

Correct Answer

B:

Reconcile compatible provider constraints across root and child modules before selecting an installed version. This is targeted to the observed Terraform issue: A platform's provider version range conflicts with the constraints of a child module and initialization fails with no compatible release. At Oakridge DevOps, the acceptance criterion is not merely a valid plan; the team should verify: Terraform init resolves a provider version satisfying every participating required_providers constraint.

Incorrect Answers

A:

Use appropriate workspace run triggers or explicit orchestration to model legitimate cross-workspace dependencies. This would be suitable for a DIFFERENT Terraform problem: A group organizes HCP Terraform workspaces by application but manually starts dependent runs in the wrong order. It does not directly resolve the Oakridge DevOps failure: A platform's provider version range conflicts with the constraints of a child module and initialization fails with no compatible release. The required acceptance evidence instead is: Terraform init resolves a provider version satisfying every participating required_providers constraint.

C:

Correct the relative module source path and initialize the configuration to load the existing local module. This would be suitable for a DIFFERENT Terraform problem: A module declaration points to a local relative folder, but the folder has been renamed and initialization cannot find it. It does not directly resolve the Oakridge DevOps failure: A platform's provider version range conflicts with the constraints of a child module and initialization fails with no compatible release. The required acceptance evidence instead is: Terraform init resolves a provider version satisfying every participating required_providers constraint.

D:

Refresh state through a normal or refresh-only plan and evaluate the resulting drift before applying any configuration change. This would be suitable for a DIFFERENT Terraform problem: A resource is manually renamed in the cloud API, but Terraform's recorded state still contains its earlier attributes. It does not directly resolve the Oakridge DevOps failure: A platform's provider version range conflicts with the constraints of a child module and initialization fails with no compatible release. The required acceptance evidence instead is: Terraform init resolves a provider version satisfying every participating required_providers constraint.

Question 86

A controlled test for Oakridge DevOps focuses on the original failure: A platform's provider version range conflicts with the constraints of a child module and initialization fails with no compatible release. What result would demonstrate that the identified problem is actually resolved?

  1. terraform init finds the directory and validation resolves its variables and resources.
  2. The plan reports the observed difference and the operator records an intentional corrective decision.
  3. Terraform init resolves a provider version satisfying every participating required_providers constraint.
  4. A successful upstream run invokes the configured downstream run without manual ordering errors.

Explanation

Correct Answer

C:

Terraform init resolves a provider version satisfying every participating required_providers constraint. This directly verifies the corrective action: Reconcile compatible provider constraints across root and child modules before selecting an installed version. The measured result specifically addresses the failure at Oakridge DevOps: A platform's provider version range conflicts with the constraints of a child module and initialization fails with no compatible release.

Incorrect Answers

A:

terraform init finds the directory and validation resolves its variables and resources. This evidence would validate a DIFFERENT correction: Correct the relative module source path and initialize the configuration to load the existing local module. That different correction addresses: A module declaration points to a local relative folder, but the folder has been renamed and initialization cannot find it. It does not establish that the Oakridge DevOps issue has been corrected: A platform's provider version range conflicts with the constraints of a child module and initialization fails with no compatible release. The relevant measured outcome is: Terraform init resolves a provider version satisfying every participating required_providers constraint.

B:

The plan reports the observed difference and the operator records an intentional corrective decision. This evidence would validate a DIFFERENT correction: Refresh state through a normal or refresh-only plan and evaluate the resulting drift before applying any configuration change. That different correction addresses: A resource is manually renamed in the cloud API, but Terraform's recorded state still contains its earlier attributes. It does not establish that the Oakridge DevOps issue has been corrected: A platform's provider version range conflicts with the constraints of a child module and initialization fails with no compatible release. The relevant measured outcome is: Terraform init resolves a provider version satisfying every participating required_providers constraint.

D:

A successful upstream run invokes the configured downstream run without manual ordering errors. This evidence would validate a DIFFERENT correction: Use appropriate workspace run triggers or explicit orchestration to model legitimate cross-workspace dependencies. That different correction addresses: A group organizes HCP Terraform workspaces by application but manually starts dependent runs in the wrong order. It does not establish that the Oakridge DevOps issue has been corrected: A platform's provider version range conflicts with the constraints of a child module and initialization fails with no compatible release. The relevant measured outcome is: Terraform init resolves a provider version satisfying every participating required_providers constraint.

Question 87

A proposed infrastructure change for Brookhaven Cloud Team must address the following observed failure: A platform's provider version range conflicts with the constraints of a child module and initialization fails with no compatible release. Which engineering change most directly resolves this issue?

  1. Reference resource instances with their actual for_each keys or derive a map of their attributes.
  2. Choose and configure a supported CLI-driven HCP Terraform workspace integration and required credentials.
  3. Treat state as potentially sensitive, keep it out of public version control, and store it in a controlled backend.
  4. Reconcile compatible provider constraints across root and child modules before selecting an installed version.

Explanation

Correct Answer

D:

Reconcile compatible provider constraints across root and child modules before selecting an installed version. This is targeted to the observed Terraform issue: A platform's provider version range conflicts with the constraints of a child module and initialization fails with no compatible release. At Brookhaven Cloud Team, the acceptance criterion is not merely a valid plan; the team should verify: Terraform init resolves a provider version satisfying every participating required_providers constraint.

Incorrect Answers

A:

Reference resource instances with their actual for_each keys or derive a map of their attributes. This would be suitable for a DIFFERENT Terraform problem: A for_each resource collection is referenced with numeric indexes even though its instances are keyed by map keys. It does not directly resolve the Brookhaven Cloud Team failure: A platform's provider version range conflicts with the constraints of a child module and initialization fails with no compatible release. The required acceptance evidence instead is: Terraform init resolves a provider version satisfying every participating required_providers constraint.

B:

Choose and configure a supported CLI-driven HCP Terraform workspace integration and required credentials. This would be suitable for a DIFFERENT Terraform problem: An engineer believes HCP Terraform requires every workflow to be VCS driven and cannot be used by an approved CLI-driven team. It does not directly resolve the Brookhaven Cloud Team failure: A platform's provider version range conflicts with the constraints of a child module and initialization fails with no compatible release. The required acceptance evidence instead is: Terraform init resolves a provider version satisfying every participating required_providers constraint.

C:

Treat state as potentially sensitive, keep it out of public version control, and store it in a controlled backend. This would be suitable for a DIFFERENT Terraform problem: A teammate wants to commit terraform.tfstate to a public repository because state contains only harmless resource names. It does not directly resolve the Brookhaven Cloud Team failure: A platform's provider version range conflicts with the constraints of a child module and initialization fails with no compatible release. The required acceptance evidence instead is: Terraform init resolves a provider version satisfying every participating required_providers constraint.

Question 88

The Terraform change owner at Brookhaven Cloud Team seeks a verifiable outcome for: A platform's provider version range conflicts with the constraints of a child module and initialization fails with no compatible release. What acceptance evidence is most relevant to this reported issue?

  1. Terraform init resolves a provider version satisfying every participating required_providers constraint.
  2. Repository scanning finds no state artifact and only authorized identities can read stored state.
  3. The expression validates and retrieves the intended instance attributes by stable keys.
  4. A local CLI command starts the associated workspace run under the documented execution mode.

Explanation

Correct Answer

A:

Terraform init resolves a provider version satisfying every participating required_providers constraint. This directly verifies the corrective action: Reconcile compatible provider constraints across root and child modules before selecting an installed version. The measured result specifically addresses the failure at Brookhaven Cloud Team: A platform's provider version range conflicts with the constraints of a child module and initialization fails with no compatible release.

Incorrect Answers

B:

Repository scanning finds no state artifact and only authorized identities can read stored state. This evidence would validate a DIFFERENT correction: Treat state as potentially sensitive, keep it out of public version control, and store it in a controlled backend. That different correction addresses: A teammate wants to commit terraform.tfstate to a public repository because state contains only harmless resource names. It does not establish that the Brookhaven Cloud Team issue has been corrected: A platform's provider version range conflicts with the constraints of a child module and initialization fails with no compatible release. The relevant measured outcome is: Terraform init resolves a provider version satisfying every participating required_providers constraint.

C:

The expression validates and retrieves the intended instance attributes by stable keys. This evidence would validate a DIFFERENT correction: Reference resource instances with their actual for_each keys or derive a map of their attributes. That different correction addresses: A for_each resource collection is referenced with numeric indexes even though its instances are keyed by map keys. It does not establish that the Brookhaven Cloud Team issue has been corrected: A platform's provider version range conflicts with the constraints of a child module and initialization fails with no compatible release. The relevant measured outcome is: Terraform init resolves a provider version satisfying every participating required_providers constraint.

D:

A local CLI command starts the associated workspace run under the documented execution mode. This evidence would validate a DIFFERENT correction: Choose and configure a supported CLI-driven HCP Terraform workspace integration and required credentials. That different correction addresses: An engineer believes HCP Terraform requires every workflow to be VCS driven and cannot be used by an approved CLI-driven team. It does not establish that the Brookhaven Cloud Team issue has been corrected: A platform's provider version range conflicts with the constraints of a child module and initialization fails with no compatible release. The relevant measured outcome is: Terraform init resolves a provider version satisfying every participating required_providers constraint.

Question 89

A proposed infrastructure change for Eastbridge Operations must address the following observed failure: A developer expects Terraform itself to create arbitrary cloud objects without API plugins and gets an unknown resource type. Which action would best restore the intended infrastructure-as-code workflow?

  1. Use an appropriately configured shared backend with state locking and controlled access.
  2. Use a backend that supports state locking and avoid concurrent uncoordinated writes.
  3. Install and configure the relevant provider that exposes the target platform's resource types.
  4. Review destination project membership, variables, and project/workspace permissions before and after moving the workspace.

Explanation

Correct Answer

C:

Install and configure the relevant provider that exposes the target platform's resource types. This is targeted to the observed Terraform issue: A developer expects Terraform itself to create arbitrary cloud objects without API plugins and gets an unknown resource type. At Eastbridge Operations, the acceptance criterion is not merely a valid plan; the team should verify: terraform init resolves the plugin and terraform validate recognizes the provider-defined resource type.

Incorrect Answers

A:

Use an appropriately configured shared backend with state locking and controlled access. This would be suitable for a DIFFERENT Terraform problem: A project shares one unmanaged state file among two engineers, causing each to overwrite the other's latest changes. It does not directly resolve the Eastbridge Operations failure: A developer expects Terraform itself to create arbitrary cloud objects without API plugins and gets an unknown resource type. The required acceptance evidence instead is: terraform init resolves the plugin and terraform validate recognizes the provider-defined resource type.

B:

Use a backend that supports state locking and avoid concurrent uncoordinated writes. This would be suitable for a DIFFERENT Terraform problem: Two automation jobs apply the same state concurrently and one overwrites the other's resource mappings. It does not directly resolve the Eastbridge Operations failure: A developer expects Terraform itself to create arbitrary cloud objects without API plugins and gets an unknown resource type. The required acceptance evidence instead is: terraform init resolves the plugin and terraform validate recognizes the provider-defined resource type.

D:

Review destination project membership, variables, and project/workspace permissions before and after moving the workspace. This would be suitable for a DIFFERENT Terraform problem: A security team moves a workspace between HCP Terraform projects but fails to review inherited access consequences. It does not directly resolve the Eastbridge Operations failure: A developer expects Terraform itself to create arbitrary cloud objects without API plugins and gets an unknown resource type. The required acceptance evidence instead is: terraform init resolves the plugin and terraform validate recognizes the provider-defined resource type.

Question 90

The Terraform change owner at Eastbridge Operations seeks a verifiable outcome for: A developer expects Terraform itself to create arbitrary cloud objects without API plugins and gets an unknown resource type. Which observation best confirms that the proposed correction worked?

  1. Only intended teams retain access and the workspace's new project is visible in its settings.
  2. Concurrent plans or applies operate on the same current state without overwriting an intervening state update.
  3. One job holds the lock while the other waits or fails safely instead of writing stale state.
  4. terraform init resolves the plugin and terraform validate recognizes the provider-defined resource type.

Explanation

Correct Answer

D:

terraform init resolves the plugin and terraform validate recognizes the provider-defined resource type. This directly verifies the corrective action: Install and configure the relevant provider that exposes the target platform's resource types. The measured result specifically addresses the failure at Eastbridge Operations: A developer expects Terraform itself to create arbitrary cloud objects without API plugins and gets an unknown resource type.

Incorrect Answers

A:

Only intended teams retain access and the workspace's new project is visible in its settings. This evidence would validate a DIFFERENT correction: Review destination project membership, variables, and project/workspace permissions before and after moving the workspace. That different correction addresses: A security team moves a workspace between HCP Terraform projects but fails to review inherited access consequences. It does not establish that the Eastbridge Operations issue has been corrected: A developer expects Terraform itself to create arbitrary cloud objects without API plugins and gets an unknown resource type. The relevant measured outcome is: terraform init resolves the plugin and terraform validate recognizes the provider-defined resource type.

B:

Concurrent plans or applies operate on the same current state without overwriting an intervening state update. This evidence would validate a DIFFERENT correction: Use an appropriately configured shared backend with state locking and controlled access. That different correction addresses: A project shares one unmanaged state file among two engineers, causing each to overwrite the other's latest changes. It does not establish that the Eastbridge Operations issue has been corrected: A developer expects Terraform itself to create arbitrary cloud objects without API plugins and gets an unknown resource type. The relevant measured outcome is: terraform init resolves the plugin and terraform validate recognizes the provider-defined resource type.

C:

One job holds the lock while the other waits or fails safely instead of writing stale state. This evidence would validate a DIFFERENT correction: Use a backend that supports state locking and avoid concurrent uncoordinated writes. That different correction addresses: Two automation jobs apply the same state concurrently and one overwrites the other's resource mappings. It does not establish that the Eastbridge Operations issue has been corrected: A developer expects Terraform itself to create arbitrary cloud objects without API plugins and gets an unknown resource type. The relevant measured outcome is: terraform init resolves the plugin and terraform validate recognizes the provider-defined resource type.