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 28

Question 270

The reliability team at Crescent Infrastructure Team is closing an incident described as follows: A production operator runs terraform destroy from the wrong workspace and nearly removes a shared network. Which observation best confirms that the proposed correction worked?

  1. The incorrect environment is detected before any deletion and only the intended sandbox is targeted.
  2. The plan can still resolve the provider configuration needed to refresh or remove previously managed objects.
  3. The formatting check reports no pending differences after the files have been normalized.
  4. terraform validate accepts an appropriately typed input and rejects the incompatible fixture.

Explanation

Correct Answer

A:

The incorrect environment is detected before any deletion and only the intended sandbox is targeted. This directly verifies the corrective action: Verify workspace, backend, targets, and identities and require a destructive-change approval gate before destroy. The measured result specifically addresses the failure at Crescent Infrastructure Team: A production operator runs terraform destroy from the wrong workspace and nearly removes a shared network.

Incorrect Answers

B:

The plan can still resolve the provider configuration needed to refresh or remove previously managed objects. This evidence would validate a DIFFERENT correction: Keep resource-to-provider associations valid while migrating configuration and review state before deleting old provider settings. That different correction addresses: An engineer changes a provider configuration after creation and expects Terraform state to lose all record of the managed resources. It does not establish that the Crescent Infrastructure Team issue has been corrected: A production operator runs terraform destroy from the wrong workspace and nearly removes a shared network. The relevant measured outcome is: The incorrect environment is detected before any deletion and only the intended sandbox is targeted.

C:

The formatting check reports no pending differences after the files have been normalized. This evidence would validate a DIFFERENT correction: Run terraform fmt and commit the canonical formatting changes before the next review. That different correction addresses: A team shares configuration files with inconsistent indentation, making changes difficult to review. It does not establish that the Crescent Infrastructure Team issue has been corrected: A production operator runs terraform destroy from the wrong workspace and nearly removes a shared network. The relevant measured outcome is: The incorrect environment is detected before any deletion and only the intended sandbox is targeted.

D:

terraform validate accepts an appropriately typed input and rejects the incompatible fixture. This evidence would validate a DIFFERENT correction: Align the passed value with the child module's declared input type or update the module contract explicitly. That different correction addresses: A caller supplies a variable with the right name but the child module declares a different type and rejects the value. It does not establish that the Crescent Infrastructure Team issue has been corrected: A production operator runs terraform destroy from the wrong workspace and nearly removes a shared network. The relevant measured outcome is: The incorrect environment is detected before any deletion and only the intended sandbox is targeted.

Question 271

Cedar Bridge Technologies is preparing a controlled Terraform update after identifying this fault: A production operator runs terraform destroy from the wrong workspace and nearly removes a shared network. Which proposed fix addresses the reported root cause?

  1. Use the documented lock-timeout behavior or release scheduling instead of disabling locking.
  2. Verify workspace, backend, targets, and identities and require a destructive-change approval gate before destroy.
  3. Use Terraform's declarative resource definitions and plan/apply reconciliation instead of imperative replay of creation commands.
  4. Use validate for static configuration checks and use planning or purpose-built deployment tests for live API constraints.

Explanation

Correct Answer

B:

Verify workspace, backend, targets, and identities and require a destructive-change approval gate before destroy. This is targeted to the observed Terraform issue: A production operator runs terraform destroy from the wrong workspace and nearly removes a shared network. At Cedar Bridge Technologies, the acceptance criterion is not merely a valid plan; the team should verify: The incorrect environment is detected before any deletion and only the intended sandbox is targeted.

Incorrect Answers

A:

Use the documented lock-timeout behavior or release scheduling instead of disabling locking. This would be suitable for a DIFFERENT Terraform problem: A long plan times out waiting for the state lock while another maintenance run legitimately holds it. It does not directly resolve the Cedar Bridge Technologies failure: A production operator runs terraform destroy from the wrong workspace and nearly removes a shared network. The required acceptance evidence instead is: The incorrect environment is detected before any deletion and only the intended sandbox is targeted.

C:

Use Terraform's declarative resource definitions and plan/apply reconciliation instead of imperative replay of creation commands. This would be suitable for a DIFFERENT Terraform problem: An operator treats Terraform as a one-time shell script and expects it to replay every creation command identically on each run. It does not directly resolve the Cedar Bridge Technologies failure: A production operator runs terraform destroy from the wrong workspace and nearly removes a shared network. The required acceptance evidence instead is: The incorrect environment is detected before any deletion and only the intended sandbox is targeted.

D:

Use validate for static configuration checks and use planning or purpose-built deployment tests for live API constraints. This would be suitable for a DIFFERENT Terraform problem: A team expects terraform validate to confirm current cloud permissions and guaranteed sufficient quotas. It does not directly resolve the Cedar Bridge Technologies failure: A production operator runs terraform destroy from the wrong workspace and nearly removes a shared network. The required acceptance evidence instead is: The incorrect environment is detected before any deletion and only the intended sandbox is targeted.

Question 272

Cedar Bridge Technologies requires independent evidence before signing off this Terraform correction: A production operator runs terraform destroy from the wrong workspace and nearly removes a shared network. What result would demonstrate that the identified problem is actually resolved?

  1. Validation passes syntactically while a deliberately revoked permission is detected during a controlled live operation.
  2. A second plan against unchanged configuration and infrastructure proposes no unnecessary new resources.
  3. The incorrect environment is detected before any deletion and only the intended sandbox is targeted.
  4. The second job waits or exits according to policy and never corrupts the first job's state write.

Explanation

Correct Answer

C:

The incorrect environment is detected before any deletion and only the intended sandbox is targeted. This directly verifies the corrective action: Verify workspace, backend, targets, and identities and require a destructive-change approval gate before destroy. The measured result specifically addresses the failure at Cedar Bridge Technologies: A production operator runs terraform destroy from the wrong workspace and nearly removes a shared network.

Incorrect Answers

A:

Validation passes syntactically while a deliberately revoked permission is detected during a controlled live operation. This evidence would validate a DIFFERENT correction: Use validate for static configuration checks and use planning or purpose-built deployment tests for live API constraints. That different correction addresses: A team expects terraform validate to confirm current cloud permissions and guaranteed sufficient quotas. It does not establish that the Cedar Bridge Technologies issue has been corrected: A production operator runs terraform destroy from the wrong workspace and nearly removes a shared network. The relevant measured outcome is: The incorrect environment is detected before any deletion and only the intended sandbox is targeted.

B:

A second plan against unchanged configuration and infrastructure proposes no unnecessary new resources. This evidence would validate a DIFFERENT correction: Use Terraform's declarative resource definitions and plan/apply reconciliation instead of imperative replay of creation commands. That different correction addresses: An operator treats Terraform as a one-time shell script and expects it to replay every creation command identically on each run. It does not establish that the Cedar Bridge Technologies issue has been corrected: A production operator runs terraform destroy from the wrong workspace and nearly removes a shared network. The relevant measured outcome is: The incorrect environment is detected before any deletion and only the intended sandbox is targeted.

D:

The second job waits or exits according to policy and never corrupts the first job's state write. This evidence would validate a DIFFERENT correction: Use the documented lock-timeout behavior or release scheduling instead of disabling locking. That different correction addresses: A long plan times out waiting for the state lock while another maintenance run legitimately holds it. It does not establish that the Cedar Bridge Technologies issue has been corrected: A production operator runs terraform destroy from the wrong workspace and nearly removes a shared network. The relevant measured outcome is: The incorrect environment is detected before any deletion and only the intended sandbox is targeted.

Question 273

Northgate IT Platforms is preparing a controlled Terraform update after identifying this fault: A maintainer expects terraform destroy to delete arbitrary infrastructure in the account that Terraform has never managed. What is the most appropriate corrective action for this Terraform scenario?

  1. Limit destroy expectations to objects tracked in the active state and manage other infrastructure separately.
  2. Align the passed value with the child module's declared input type or update the module contract explicitly.
  3. Interpret plan action symbols and the resource-specific reasons for changes before approval.
  4. Set a supported Terraform version in workspace settings and validate the configuration on a controlled speculative run.

Explanation

Correct Answer

A:

Limit destroy expectations to objects tracked in the active state and manage other infrastructure separately. This is targeted to the observed Terraform issue: A maintainer expects terraform destroy to delete arbitrary infrastructure in the account that Terraform has never managed. At Northgate IT Platforms, the acceptance criterion is not merely a valid plan; the team should verify: The destruction plan lists only managed resources and leaves unrelated untracked assets intact.

Incorrect Answers

B:

Align the passed value with the child module's declared input type or update the module contract explicitly. This would be suitable for a DIFFERENT Terraform problem: A caller supplies a variable with the right name but the child module declares a different type and rejects the value. It does not directly resolve the Northgate IT Platforms failure: A maintainer expects terraform destroy to delete arbitrary infrastructure in the account that Terraform has never managed. The required acceptance evidence instead is: The destruction plan lists only managed resources and leaves unrelated untracked assets intact.

C:

Interpret plan action symbols and the resource-specific reasons for changes before approval. This would be suitable for a DIFFERENT Terraform problem: An engineer reads the plan's plus and minus indicators as simple text decoration and misses resource destruction. It does not directly resolve the Northgate IT Platforms failure: A maintainer expects terraform destroy to delete arbitrary infrastructure in the account that Terraform has never managed. The required acceptance evidence instead is: The destruction plan lists only managed resources and leaves unrelated untracked assets intact.

D:

Set a supported Terraform version in workspace settings and validate the configuration on a controlled speculative run. This would be suitable for a DIFFERENT Terraform problem: A platform upgrades the Terraform CLI version for its HCP Terraform workspace without validating version compatibility or plan behavior. It does not directly resolve the Northgate IT Platforms failure: A maintainer expects terraform destroy to delete arbitrary infrastructure in the account that Terraform has never managed. The required acceptance evidence instead is: The destruction plan lists only managed resources and leaves unrelated untracked assets intact.

Question 274

Northgate IT Platforms requires independent evidence before signing off this Terraform correction: A maintainer expects terraform destroy to delete arbitrary infrastructure in the account that Terraform has never managed. Which controlled check would validate the remediation?

  1. terraform validate accepts an appropriately typed input and rejects the incompatible fixture.
  2. The destruction plan lists only managed resources and leaves unrelated untracked assets intact.
  3. The run uses the documented version and passes its provider/module compatibility checks.
  4. A deliberately removed resource is identified as a destroy action in the review record.

Explanation

Correct Answer

B:

The destruction plan lists only managed resources and leaves unrelated untracked assets intact. This directly verifies the corrective action: Limit destroy expectations to objects tracked in the active state and manage other infrastructure separately. The measured result specifically addresses the failure at Northgate IT Platforms: A maintainer expects terraform destroy to delete arbitrary infrastructure in the account that Terraform has never managed.

Incorrect Answers

A:

terraform validate accepts an appropriately typed input and rejects the incompatible fixture. This evidence would validate a DIFFERENT correction: Align the passed value with the child module's declared input type or update the module contract explicitly. That different correction addresses: A caller supplies a variable with the right name but the child module declares a different type and rejects the value. It does not establish that the Northgate IT Platforms issue has been corrected: A maintainer expects terraform destroy to delete arbitrary infrastructure in the account that Terraform has never managed. The relevant measured outcome is: The destruction plan lists only managed resources and leaves unrelated untracked assets intact.

C:

The run uses the documented version and passes its provider/module compatibility checks. This evidence would validate a DIFFERENT correction: Set a supported Terraform version in workspace settings and validate the configuration on a controlled speculative run. That different correction addresses: A platform upgrades the Terraform CLI version for its HCP Terraform workspace without validating version compatibility or plan behavior. It does not establish that the Northgate IT Platforms issue has been corrected: A maintainer expects terraform destroy to delete arbitrary infrastructure in the account that Terraform has never managed. The relevant measured outcome is: The destruction plan lists only managed resources and leaves unrelated untracked assets intact.

D:

A deliberately removed resource is identified as a destroy action in the review record. This evidence would validate a DIFFERENT correction: Interpret plan action symbols and the resource-specific reasons for changes before approval. That different correction addresses: An engineer reads the plan's plus and minus indicators as simple text decoration and misses resource destruction. It does not establish that the Northgate IT Platforms issue has been corrected: A maintainer expects terraform destroy to delete arbitrary infrastructure in the account that Terraform has never managed. The relevant measured outcome is: The destruction plan lists only managed resources and leaves unrelated untracked assets intact.

Question 275

A Terraform maintainer supporting Orchard Enterprise Platforms investigates this scenario: A maintainer expects terraform destroy to delete arbitrary infrastructure in the account that Terraform has never managed. Which action would best restore the intended infrastructure-as-code workflow?

  1. Use declarative Terraform code to record the intended infrastructure state rather than relying on current-state screenshots.
  2. Use an appropriately scoped identity and verify the supported API permissions before rerunning the reviewed operation.
  3. Limit destroy expectations to objects tracked in the active state and manage other infrastructure separately.
  4. Use the documented lock-timeout behavior or release scheduling instead of disabling locking.

Explanation

Correct Answer

C:

Limit destroy expectations to objects tracked in the active state and manage other infrastructure separately. This is targeted to the observed Terraform issue: A maintainer expects terraform destroy to delete arbitrary infrastructure in the account that Terraform has never managed. At Orchard Enterprise Platforms, the acceptance criterion is not merely a valid plan; the team should verify: The destruction plan lists only managed resources and leaves unrelated untracked assets intact.

Incorrect Answers

A:

Use declarative Terraform code to record the intended infrastructure state rather than relying on current-state screenshots. This would be suitable for a DIFFERENT Terraform problem: An audit asks for the desired infrastructure configuration, but the team offers only screenshots of resources that currently exist. It does not directly resolve the Orchard Enterprise Platforms failure: A maintainer expects terraform destroy to delete arbitrary infrastructure in the account that Terraform has never managed. The required acceptance evidence instead is: The destruction plan lists only managed resources and leaves unrelated untracked assets intact.

B:

Use an appropriately scoped identity and verify the supported API permissions before rerunning the reviewed operation. This would be suitable for a DIFFERENT Terraform problem: A plan succeeds but apply fails because runtime credentials lack permission to create one target resource. It does not directly resolve the Orchard Enterprise Platforms failure: A maintainer expects terraform destroy to delete arbitrary infrastructure in the account that Terraform has never managed. The required acceptance evidence instead is: The destruction plan lists only managed resources and leaves unrelated untracked assets intact.

D:

Use the documented lock-timeout behavior or release scheduling instead of disabling locking. This would be suitable for a DIFFERENT Terraform problem: A long plan times out waiting for the state lock while another maintenance run legitimately holds it. It does not directly resolve the Orchard Enterprise Platforms failure: A maintainer expects terraform destroy to delete arbitrary infrastructure in the account that Terraform has never managed. The required acceptance evidence instead is: The destruction plan lists only managed resources and leaves unrelated untracked assets intact.

Question 276

A controlled test for Orchard Enterprise Platforms focuses on the original failure: A maintainer expects terraform destroy to delete arbitrary infrastructure in the account that Terraform has never managed. Which observation best confirms that the proposed correction worked?

  1. The reviewer can locate the resource definitions in a reviewed repository and compare their planned result with the deployed environment.
  2. The second job waits or exits according to policy and never corrupts the first job's state write.
  3. The authorized apply succeeds without granting unrelated administrator permissions.
  4. The destruction plan lists only managed resources and leaves unrelated untracked assets intact.

Explanation

Correct Answer

D:

The destruction plan lists only managed resources and leaves unrelated untracked assets intact. This directly verifies the corrective action: Limit destroy expectations to objects tracked in the active state and manage other infrastructure separately. The measured result specifically addresses the failure at Orchard Enterprise Platforms: A maintainer expects terraform destroy to delete arbitrary infrastructure in the account that Terraform has never managed.

Incorrect Answers

A:

The reviewer can locate the resource definitions in a reviewed repository and compare their planned result with the deployed environment. This evidence would validate a DIFFERENT correction: Use declarative Terraform code to record the intended infrastructure state rather than relying on current-state screenshots. That different correction addresses: An audit asks for the desired infrastructure configuration, but the team offers only screenshots of resources that currently exist. It does not establish that the Orchard Enterprise Platforms issue has been corrected: A maintainer expects terraform destroy to delete arbitrary infrastructure in the account that Terraform has never managed. The relevant measured outcome is: The destruction plan lists only managed resources and leaves unrelated untracked assets intact.

B:

The second job waits or exits according to policy and never corrupts the first job's state write. This evidence would validate a DIFFERENT correction: Use the documented lock-timeout behavior or release scheduling instead of disabling locking. That different correction addresses: A long plan times out waiting for the state lock while another maintenance run legitimately holds it. It does not establish that the Orchard Enterprise Platforms issue has been corrected: A maintainer expects terraform destroy to delete arbitrary infrastructure in the account that Terraform has never managed. The relevant measured outcome is: The destruction plan lists only managed resources and leaves unrelated untracked assets intact.

C:

The authorized apply succeeds without granting unrelated administrator permissions. This evidence would validate a DIFFERENT correction: Use an appropriately scoped identity and verify the supported API permissions before rerunning the reviewed operation. That different correction addresses: A plan succeeds but apply fails because runtime credentials lack permission to create one target resource. It does not establish that the Orchard Enterprise Platforms issue has been corrected: A maintainer expects terraform destroy to delete arbitrary infrastructure in the account that Terraform has never managed. The relevant measured outcome is: The destruction plan lists only managed resources and leaves unrelated untracked assets intact.

Question 277

A Terraform maintainer supporting Summit Platform Engineering investigates this scenario: A training exercise uses destroy to clear a resource but ignores a required retention policy for its database. How should the Terraform engineer correct this specific failure?

  1. Require reviewed Terraform pull requests and an explicit plan before applying access-rule updates.
  2. Review destroy implications and lifecycle/retention controls before decommissioning managed data services.
  3. Use the supported terraform init -migrate-state workflow with backups and explicit destination checks.
  4. Distinguish syntactic/schema validation from plan and apply, and run the appropriate workflow stage.

Explanation

Correct Answer

B:

Review destroy implications and lifecycle/retention controls before decommissioning managed data services. This is targeted to the observed Terraform issue: A training exercise uses destroy to clear a resource but ignores a required retention policy for its database. At Summit Platform Engineering, the acceptance criterion is not merely a valid plan; the team should verify: The review identifies the protected database and prevents unauthorized data destruction.

Incorrect Answers

A:

Require reviewed Terraform pull requests and an explicit plan before applying access-rule updates. This would be suitable for a DIFFERENT Terraform problem: Multiple engineers change cloud access rules directly and accidentally reverse each other's settings between releases. It does not directly resolve the Summit Platform Engineering failure: A training exercise uses destroy to clear a resource but ignores a required retention policy for its database. The required acceptance evidence instead is: The review identifies the protected database and prevents unauthorized data destruction.

C:

Use the supported terraform init -migrate-state workflow with backups and explicit destination checks. This would be suitable for a DIFFERENT Terraform problem: An engineer switches a working directory from local state to a remote backend and forgets to migrate its existing resource bindings. It does not directly resolve the Summit Platform Engineering failure: A training exercise uses destroy to clear a resource but ignores a required retention policy for its database. The required acceptance evidence instead is: The review identifies the protected database and prevents unauthorized data destruction.

D:

Distinguish syntactic/schema validation from plan and apply, and run the appropriate workflow stage. This would be suitable for a DIFFERENT Terraform problem: An engineer believes terraform validate also creates the declared infrastructure and announces deployment after a successful validation. It does not directly resolve the Summit Platform Engineering failure: A training exercise uses destroy to clear a resource but ignores a required retention policy for its database. The required acceptance evidence instead is: The review identifies the protected database and prevents unauthorized data destruction.

Question 278

A controlled test for Summit Platform Engineering focuses on the original failure: A training exercise uses destroy to clear a resource but ignores a required retention policy for its database. Which verification outcome is the strongest evidence of the required correction?

  1. The new backend contains the original resource addresses and an unchanged plan proposes no duplicates.
  2. Validation reports configuration consistency while the actual resource creation is confirmed only after apply.
  3. The review identifies the protected database and prevents unauthorized data destruction.
  4. Repository history identifies the change author and the approved plan reflects only the intended access-rule modification.

Explanation

Correct Answer

C:

The review identifies the protected database and prevents unauthorized data destruction. This directly verifies the corrective action: Review destroy implications and lifecycle/retention controls before decommissioning managed data services. The measured result specifically addresses the failure at Summit Platform Engineering: A training exercise uses destroy to clear a resource but ignores a required retention policy for its database.

Incorrect Answers

A:

The new backend contains the original resource addresses and an unchanged plan proposes no duplicates. This evidence would validate a DIFFERENT correction: Use the supported terraform init -migrate-state workflow with backups and explicit destination checks. That different correction addresses: An engineer switches a working directory from local state to a remote backend and forgets to migrate its existing resource bindings. It does not establish that the Summit Platform Engineering issue has been corrected: A training exercise uses destroy to clear a resource but ignores a required retention policy for its database. The relevant measured outcome is: The review identifies the protected database and prevents unauthorized data destruction.

B:

Validation reports configuration consistency while the actual resource creation is confirmed only after apply. This evidence would validate a DIFFERENT correction: Distinguish syntactic/schema validation from plan and apply, and run the appropriate workflow stage. That different correction addresses: An engineer believes terraform validate also creates the declared infrastructure and announces deployment after a successful validation. It does not establish that the Summit Platform Engineering issue has been corrected: A training exercise uses destroy to clear a resource but ignores a required retention policy for its database. The relevant measured outcome is: The review identifies the protected database and prevents unauthorized data destruction.

D:

Repository history identifies the change author and the approved plan reflects only the intended access-rule modification. This evidence would validate a DIFFERENT correction: Require reviewed Terraform pull requests and an explicit plan before applying access-rule updates. That different correction addresses: Multiple engineers change cloud access rules directly and accidentally reverse each other's settings between releases. It does not establish that the Summit Platform Engineering issue has been corrected: A training exercise uses destroy to clear a resource but ignores a required retention policy for its database. The relevant measured outcome is: The review identifies the protected database and prevents unauthorized data destruction.

Question 279

A proposed infrastructure change for Redwood Application Group must address the following observed failure: A training exercise uses destroy to clear a resource but ignores a required retention policy for its database. What is the most appropriate corrective action for this Terraform scenario?

  1. Run terraform state list against the selected initialized backend and workspace.
  2. Reinitialize the working directory after changing provider/module installation requirements before planning.
  3. Group related workspaces into HCP Terraform projects aligned to the owning teams or business units.
  4. Review destroy implications and lifecycle/retention controls before decommissioning managed data services.

Explanation

Correct Answer

D:

Review destroy implications and lifecycle/retention controls before decommissioning managed data services. This is targeted to the observed Terraform issue: A training exercise uses destroy to clear a resource but ignores a required retention policy for its database. At Redwood Application Group, the acceptance criterion is not merely a valid plan; the team should verify: The review identifies the protected database and prevents unauthorized data destruction.

Incorrect Answers

A:

Run terraform state list against the selected initialized backend and workspace. This would be suitable for a DIFFERENT Terraform problem: A maintainer needs a list of addresses tracked by the current Terraform state and attempts to infer them from cloud console screenshots. It does not directly resolve the Redwood Application Group failure: A training exercise uses destroy to clear a resource but ignores a required retention policy for its database. The required acceptance evidence instead is: The review identifies the protected database and prevents unauthorized data destruction.

B:

Reinitialize the working directory after changing provider/module installation requirements before planning. This would be suitable for a DIFFERENT Terraform problem: A team edits configuration during an infrastructure release but omits initialization after adding a new module dependency. It does not directly resolve the Redwood Application Group failure: A training exercise uses destroy to clear a resource but ignores a required retention policy for its database. The required acceptance evidence instead is: The review identifies the protected database and prevents unauthorized data destruction.

C:

Group related workspaces into HCP Terraform projects aligned to the owning teams or business units. This would be suitable for a DIFFERENT Terraform problem: An HCP Terraform organization has dozens of workspaces with different business owners but no grouping or permission boundary. It does not directly resolve the Redwood Application Group failure: A training exercise uses destroy to clear a resource but ignores a required retention policy for its database. The required acceptance evidence instead is: The review identifies the protected database and prevents unauthorized data destruction.

Question 280

The Terraform change owner at Redwood Application Group seeks a verifiable outcome for: A training exercise uses destroy to clear a resource but ignores a required retention policy for its database. Which controlled check would validate the remediation?

  1. The review identifies the protected database and prevents unauthorized data destruction.
  2. Workspaces appear in the intended projects and project-scoped permissions match ownership.
  3. The new module and provider dependencies resolve and appear in the planned graph.
  4. The output enumerates the expected managed addresses from the active state.

Explanation

Correct Answer

A:

The review identifies the protected database and prevents unauthorized data destruction. This directly verifies the corrective action: Review destroy implications and lifecycle/retention controls before decommissioning managed data services. The measured result specifically addresses the failure at Redwood Application Group: A training exercise uses destroy to clear a resource but ignores a required retention policy for its database.

Incorrect Answers

B:

Workspaces appear in the intended projects and project-scoped permissions match ownership. This evidence would validate a DIFFERENT correction: Group related workspaces into HCP Terraform projects aligned to the owning teams or business units. That different correction addresses: An HCP Terraform organization has dozens of workspaces with different business owners but no grouping or permission boundary. It does not establish that the Redwood Application Group issue has been corrected: A training exercise uses destroy to clear a resource but ignores a required retention policy for its database. The relevant measured outcome is: The review identifies the protected database and prevents unauthorized data destruction.

C:

The new module and provider dependencies resolve and appear in the planned graph. This evidence would validate a DIFFERENT correction: Reinitialize the working directory after changing provider/module installation requirements before planning. That different correction addresses: A team edits configuration during an infrastructure release but omits initialization after adding a new module dependency. It does not establish that the Redwood Application Group issue has been corrected: A training exercise uses destroy to clear a resource but ignores a required retention policy for its database. The relevant measured outcome is: The review identifies the protected database and prevents unauthorized data destruction.

D:

The output enumerates the expected managed addresses from the active state. This evidence would validate a DIFFERENT correction: Run terraform state list against the selected initialized backend and workspace. That different correction addresses: A maintainer needs a list of addresses tracked by the current Terraform state and attempts to infer them from cloud console screenshots. It does not establish that the Redwood Application Group issue has been corrected: A training exercise uses destroy to clear a resource but ignores a required retention policy for its database. The relevant measured outcome is: The review identifies the protected database and prevents unauthorized data destruction.