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 12

Question 110

A controlled test for Crescent Infrastructure Team focuses on the original failure: A team assumes a provider manages every setting of a remote product even when its documented schema omits a new feature. Which observation best confirms that the proposed correction worked?

  1. terraform validate accepts only supported fields and the chosen implementation passes a controlled API behavior check.
  2. A clean environment is planned from the checked-in configuration and produces the expected inventory without reconstructing console click history.
  3. Repository scanning finds no state artifact and only authorized identities can read stored state.
  4. The import plan links the existing object to its declared address and records the adoption in versioned configuration.

Explanation

Correct Answer

A:

terraform validate accepts only supported fields and the chosen implementation passes a controlled API behavior check. This directly verifies the corrective action: Check provider-supported resource arguments and version support, and use a documented alternate interface rather than inventing arguments. The measured result specifically addresses the failure at Crescent Infrastructure Team: A team assumes a provider manages every setting of a remote product even when its documented schema omits a new feature.

Incorrect Answers

B:

A clean environment is planned from the checked-in configuration and produces the expected inventory without reconstructing console click history. This evidence would validate a DIFFERENT correction: Describe the intended network and related resources as Terraform configuration managed through a reviewed version-control workflow. That different correction addresses: A small platform team provisions virtual networks through undocumented web-console clicks, so nobody can explain what the next environment should contain. It does not establish that the Crescent Infrastructure Team issue has been corrected: A team assumes a provider manages every setting of a remote product even when its documented schema omits a new feature. The relevant measured outcome is: terraform validate accepts only supported fields and the chosen implementation passes a controlled API behavior check.

C:

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 Crescent Infrastructure Team issue has been corrected: A team assumes a provider manages every setting of a remote product even when its documented schema omits a new feature. The relevant measured outcome is: terraform validate accepts only supported fields and the chosen implementation passes a controlled API behavior check.

D:

The import plan links the existing object to its declared address and records the adoption in versioned configuration. This evidence would validate a DIFFERENT correction: Use a supported import block with the target resource address and existing object identifier, then review the resulting plan. That different correction addresses: A Terraform 1.12 project needs a reviewed, repeatable record of existing resource adoption instead of a one-off unlogged CLI import. It does not establish that the Crescent Infrastructure Team issue has been corrected: A team assumes a provider manages every setting of a remote product even when its documented schema omits a new feature. The relevant measured outcome is: terraform validate accepts only supported fields and the chosen implementation passes a controlled API behavior check.

Question 111

A proposed infrastructure change for Cedar Bridge Technologies must address the following observed failure: A team assumes a provider manages every setting of a remote product even when its documented schema omits a new feature. Which proposed fix addresses the reported root cause?

  1. Represent repeatable infrastructure declarations in Terraform files and retain their versions with the application release.
  2. Check provider-supported resource arguments and version support, and use a documented alternate interface rather than inventing arguments.
  3. Recover the appropriate state backup or import existing resources to restore Terraform's address-to-remote-ID mapping.
  4. Run terraform apply against the reviewed plan under authorized credentials and verify actual results.

Explanation

Correct Answer

B:

Check provider-supported resource arguments and version support, and use a documented alternate interface rather than inventing arguments. This is targeted to the observed Terraform issue: A team assumes a provider manages every setting of a remote product even when its documented schema omits a new feature. At Cedar Bridge Technologies, the acceptance criterion is not merely a valid plan; the team should verify: terraform validate accepts only supported fields and the chosen implementation passes a controlled API behavior check.

Incorrect Answers

A:

Represent repeatable infrastructure declarations in Terraform files and retain their versions with the application release. This would be suitable for a DIFFERENT Terraform problem: A team cannot reproduce its disaster-recovery environment because the settings live only in an engineer's memory. It does not directly resolve the Cedar Bridge Technologies failure: A team assumes a provider manages every setting of a remote product even when its documented schema omits a new feature. The required acceptance evidence instead is: terraform validate accepts only supported fields and the chosen implementation passes a controlled API behavior check.

C:

Recover the appropriate state backup or import existing resources to restore Terraform's address-to-remote-ID mapping. This would be suitable for a DIFFERENT Terraform problem: An engineer deletes local state after provisioning cloud resources and assumes Terraform will automatically remember the existing resource IDs. It does not directly resolve the Cedar Bridge Technologies failure: A team assumes a provider manages every setting of a remote product even when its documented schema omits a new feature. The required acceptance evidence instead is: terraform validate accepts only supported fields and the chosen implementation passes a controlled API behavior check.

D:

Run terraform apply against the reviewed plan under authorized credentials and verify actual results. This would be suitable for a DIFFERENT Terraform problem: An engineer mistakes a plan file for a deployment and tells stakeholders infrastructure is already updated. It does not directly resolve the Cedar Bridge Technologies failure: A team assumes a provider manages every setting of a remote product even when its documented schema omits a new feature. The required acceptance evidence instead is: terraform validate accepts only supported fields and the chosen implementation passes a controlled API behavior check.

Question 112

The Terraform change owner at Cedar Bridge Technologies seeks a verifiable outcome for: A team assumes a provider manages every setting of a remote product even when its documented schema omits a new feature. What result would demonstrate that the identified problem is actually resolved?

  1. terraform state list shows the intended addresses and the subsequent plan does not propose duplicate infrastructure.
  2. The apply records completed resource actions and the provider shows the intended objects exist.
  3. terraform validate accepts only supported fields and the chosen implementation passes a controlled API behavior check.
  4. A separate recovery workspace produces the intended topology from a known configuration revision and documented inputs.

Explanation

Correct Answer

C:

terraform validate accepts only supported fields and the chosen implementation passes a controlled API behavior check. This directly verifies the corrective action: Check provider-supported resource arguments and version support, and use a documented alternate interface rather than inventing arguments. The measured result specifically addresses the failure at Cedar Bridge Technologies: A team assumes a provider manages every setting of a remote product even when its documented schema omits a new feature.

Incorrect Answers

A:

terraform state list shows the intended addresses and the subsequent plan does not propose duplicate infrastructure. This evidence would validate a DIFFERENT correction: Recover the appropriate state backup or import existing resources to restore Terraform's address-to-remote-ID mapping. That different correction addresses: An engineer deletes local state after provisioning cloud resources and assumes Terraform will automatically remember the existing resource IDs. It does not establish that the Cedar Bridge Technologies issue has been corrected: A team assumes a provider manages every setting of a remote product even when its documented schema omits a new feature. The relevant measured outcome is: terraform validate accepts only supported fields and the chosen implementation passes a controlled API behavior check.

B:

The apply records completed resource actions and the provider shows the intended objects exist. This evidence would validate a DIFFERENT correction: Run terraform apply against the reviewed plan under authorized credentials and verify actual results. That different correction addresses: An engineer mistakes a plan file for a deployment and tells stakeholders infrastructure is already updated. It does not establish that the Cedar Bridge Technologies issue has been corrected: A team assumes a provider manages every setting of a remote product even when its documented schema omits a new feature. The relevant measured outcome is: terraform validate accepts only supported fields and the chosen implementation passes a controlled API behavior check.

D:

A separate recovery workspace produces the intended topology from a known configuration revision and documented inputs. This evidence would validate a DIFFERENT correction: Represent repeatable infrastructure declarations in Terraform files and retain their versions with the application release. That different correction addresses: A team cannot reproduce its disaster-recovery environment because the settings live only in an engineer's memory. It does not establish that the Cedar Bridge Technologies issue has been corrected: A team assumes a provider manages every setting of a remote product even when its documented schema omits a new feature. The relevant measured outcome is: terraform validate accepts only supported fields and the chosen implementation passes a controlled API behavior check.

Question 113

A proposed infrastructure change for Northgate IT Platforms must address the following observed failure: Two AWS regions must be managed from one root module, but all resources silently target the default region. What is the most appropriate corrective action for this Terraform scenario?

  1. Define an aliased provider configuration for the second region and explicitly select it on relevant resources.
  2. Use Terraform's declarative resource definitions and plan/apply reconciliation instead of imperative replay of creation commands.
  3. Treat the identifier as a diagnostic for the specific lock and use authorized administrative recovery procedures only when needed.
  4. Use an appropriately configured shared backend with state locking and controlled access.

Explanation

Correct Answer

A:

Define an aliased provider configuration for the second region and explicitly select it on relevant resources. This is targeted to the observed Terraform issue: Two AWS regions must be managed from one root module, but all resources silently target the default region. At Northgate IT Platforms, the acceptance criterion is not merely a valid plan; the team should verify: The plan places each regional resource under the intended default or aliased provider configuration.

Incorrect Answers

B:

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 Northgate IT Platforms failure: Two AWS regions must be managed from one root module, but all resources silently target the default region. The required acceptance evidence instead is: The plan places each regional resource under the intended default or aliased provider configuration.

C:

Treat the identifier as a diagnostic for the specific lock and use authorized administrative recovery procedures only when needed. This would be suitable for a DIFFERENT Terraform problem: An operator treats the lock identifier printed by Terraform as a reusable password and sends it to every teammate. It does not directly resolve the Northgate IT Platforms failure: Two AWS regions must be managed from one root module, but all resources silently target the default region. The required acceptance evidence instead is: The plan places each regional resource under the intended default or aliased provider configuration.

D:

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 Northgate IT Platforms failure: Two AWS regions must be managed from one root module, but all resources silently target the default region. The required acceptance evidence instead is: The plan places each regional resource under the intended default or aliased provider configuration.

Question 114

The Terraform change owner at Northgate IT Platforms seeks a verifiable outcome for: Two AWS regions must be managed from one root module, but all resources silently target the default region. Which controlled check would validate the remediation?

  1. A second plan against unchanged configuration and infrastructure proposes no unnecessary new resources.
  2. The plan places each regional resource under the intended default or aliased provider configuration.
  3. Lock recovery references the correct stale lock and an unrelated active lock remains protected.
  4. Concurrent plans or applies operate on the same current state without overwriting an intervening state update.

Explanation

Correct Answer

B:

The plan places each regional resource under the intended default or aliased provider configuration. This directly verifies the corrective action: Define an aliased provider configuration for the second region and explicitly select it on relevant resources. The measured result specifically addresses the failure at Northgate IT Platforms: Two AWS regions must be managed from one root module, but all resources silently target the default region.

Incorrect Answers

A:

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 Northgate IT Platforms issue has been corrected: Two AWS regions must be managed from one root module, but all resources silently target the default region. The relevant measured outcome is: The plan places each regional resource under the intended default or aliased provider configuration.

C:

Lock recovery references the correct stale lock and an unrelated active lock remains protected. This evidence would validate a DIFFERENT correction: Treat the identifier as a diagnostic for the specific lock and use authorized administrative recovery procedures only when needed. That different correction addresses: An operator treats the lock identifier printed by Terraform as a reusable password and sends it to every teammate. It does not establish that the Northgate IT Platforms issue has been corrected: Two AWS regions must be managed from one root module, but all resources silently target the default region. The relevant measured outcome is: The plan places each regional resource under the intended default or aliased provider configuration.

D:

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 Northgate IT Platforms issue has been corrected: Two AWS regions must be managed from one root module, but all resources silently target the default region. The relevant measured outcome is: The plan places each regional resource under the intended default or aliased provider configuration.

Question 115

During repository review at Orchard Enterprise Platforms, the platform team reports: Two AWS regions must be managed from one root module, but all resources silently target the default region. Which action would best restore the intended infrastructure-as-code workflow?

  1. Distinguish syntactic/schema validation from plan and apply, and run the appropriate workflow stage.
  2. Expose the needed result as a child module output and consume the output from the caller.
  3. Define an aliased provider configuration for the second region and explicitly select it on relevant resources.
  4. Use a managed resource to create/control the object and a data source only to read an existing compatible object.

Explanation

Correct Answer

C:

Define an aliased provider configuration for the second region and explicitly select it on relevant resources. This is targeted to the observed Terraform issue: Two AWS regions must be managed from one root module, but all resources silently target the default region. At Orchard Enterprise Platforms, the acceptance criterion is not merely a valid plan; the team should verify: The plan places each regional resource under the intended default or aliased provider configuration.

Incorrect Answers

A:

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 Orchard Enterprise Platforms failure: Two AWS regions must be managed from one root module, but all resources silently target the default region. The required acceptance evidence instead is: The plan places each regional resource under the intended default or aliased provider configuration.

B:

Expose the needed result as a child module output and consume the output from the caller. This would be suitable for a DIFFERENT Terraform problem: A child module defines a local subnet list and another module tries to read that local directly across module boundaries. It does not directly resolve the Orchard Enterprise Platforms failure: Two AWS regions must be managed from one root module, but all resources silently target the default region. The required acceptance evidence instead is: The plan places each regional resource under the intended default or aliased provider configuration.

D:

Use a managed resource to create/control the object and a data source only to read an existing compatible object. This would be suitable for a DIFFERENT Terraform problem: A developer expects a data source to create the remote object it reads and adds it as a replacement for the managed resource. It does not directly resolve the Orchard Enterprise Platforms failure: Two AWS regions must be managed from one root module, but all resources silently target the default region. The required acceptance evidence instead is: The plan places each regional resource under the intended default or aliased provider configuration.

Question 116

An acceptance reviewer at Orchard Enterprise Platforms must validate the fix for: Two AWS regions must be managed from one root module, but all resources silently target the default region. Which observation best confirms that the proposed correction worked?

  1. The planned actions create only managed resources while the data source contributes discovered attributes.
  2. Validation reports configuration consistency while the actual resource creation is confirmed only after apply.
  3. The root accesses module.network.subnets rather than reaching into private module locals.
  4. The plan places each regional resource under the intended default or aliased provider configuration.

Explanation

Correct Answer

D:

The plan places each regional resource under the intended default or aliased provider configuration. This directly verifies the corrective action: Define an aliased provider configuration for the second region and explicitly select it on relevant resources. The measured result specifically addresses the failure at Orchard Enterprise Platforms: Two AWS regions must be managed from one root module, but all resources silently target the default region.

Incorrect Answers

A:

The planned actions create only managed resources while the data source contributes discovered attributes. This evidence would validate a DIFFERENT correction: Use a managed resource to create/control the object and a data source only to read an existing compatible object. That different correction addresses: A developer expects a data source to create the remote object it reads and adds it as a replacement for the managed resource. It does not establish that the Orchard Enterprise Platforms issue has been corrected: Two AWS regions must be managed from one root module, but all resources silently target the default region. The relevant measured outcome is: The plan places each regional resource under the intended default or aliased provider configuration.

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 Orchard Enterprise Platforms issue has been corrected: Two AWS regions must be managed from one root module, but all resources silently target the default region. The relevant measured outcome is: The plan places each regional resource under the intended default or aliased provider configuration.

C:

The root accesses module.network.subnets rather than reaching into private module locals. This evidence would validate a DIFFERENT correction: Expose the needed result as a child module output and consume the output from the caller. That different correction addresses: A child module defines a local subnet list and another module tries to read that local directly across module boundaries. It does not establish that the Orchard Enterprise Platforms issue has been corrected: Two AWS regions must be managed from one root module, but all resources silently target the default region. The relevant measured outcome is: The plan places each regional resource under the intended default or aliased provider configuration.

Question 117

During repository review at Summit Platform Engineering, the platform team reports: A child module has to create objects in a secondary account, but the caller passes only ordinary input variables and not the provider alias. How should the Terraform engineer correct this specific failure?

  1. Check provider-supported resource arguments and version support, and use a documented alternate interface rather than inventing arguments.
  2. Pass an explicit providers mapping into the module and declare configuration_aliases where required.
  3. Explain that Terraform declares desired manageable resources and reconciles them through provider APIs and tracked state.
  4. Treat the identifier as a diagnostic for the specific lock and use authorized administrative recovery procedures only when needed.

Explanation

Correct Answer

B:

Pass an explicit providers mapping into the module and declare configuration_aliases where required. This is targeted to the observed Terraform issue: A child module has to create objects in a secondary account, but the caller passes only ordinary input variables and not the provider alias. At Summit Platform Engineering, the acceptance criterion is not merely a valid plan; the team should verify: The module's resources resolve the intended secondary provider during validation and planning.

Incorrect Answers

A:

Check provider-supported resource arguments and version support, and use a documented alternate interface rather than inventing arguments. This would be suitable for a DIFFERENT Terraform problem: A team assumes a provider manages every setting of a remote product even when its documented schema omits a new feature. It does not directly resolve the Summit Platform Engineering failure: A child module has to create objects in a secondary account, but the caller passes only ordinary input variables and not the provider alias. The required acceptance evidence instead is: The module's resources resolve the intended secondary provider during validation and planning.

C:

Explain that Terraform declares desired manageable resources and reconciles them through provider APIs and tracked state. This would be suitable for a DIFFERENT Terraform problem: A service owner believes infrastructure as code requires every physical device to be recreated from scratch during each deployment. It does not directly resolve the Summit Platform Engineering failure: A child module has to create objects in a secondary account, but the caller passes only ordinary input variables and not the provider alias. The required acceptance evidence instead is: The module's resources resolve the intended secondary provider during validation and planning.

D:

Treat the identifier as a diagnostic for the specific lock and use authorized administrative recovery procedures only when needed. This would be suitable for a DIFFERENT Terraform problem: An operator treats the lock identifier printed by Terraform as a reusable password and sends it to every teammate. It does not directly resolve the Summit Platform Engineering failure: A child module has to create objects in a secondary account, but the caller passes only ordinary input variables and not the provider alias. The required acceptance evidence instead is: The module's resources resolve the intended secondary provider during validation and planning.

Question 118

An acceptance reviewer at Summit Platform Engineering must validate the fix for: A child module has to create objects in a secondary account, but the caller passes only ordinary input variables and not the provider alias. Which verification outcome is the strongest evidence of the required correction?

  1. terraform validate accepts only supported fields and the chosen implementation passes a controlled API behavior check.
  2. Lock recovery references the correct stale lock and an unrelated active lock remains protected.
  3. The module's resources resolve the intended secondary provider during validation and planning.
  4. A no-change review leaves existing managed resources in place while detecting only an intentionally altered configuration field.

Explanation

Correct Answer

C:

The module's resources resolve the intended secondary provider during validation and planning. This directly verifies the corrective action: Pass an explicit providers mapping into the module and declare configuration_aliases where required. The measured result specifically addresses the failure at Summit Platform Engineering: A child module has to create objects in a secondary account, but the caller passes only ordinary input variables and not the provider alias.

Incorrect Answers

A:

terraform validate accepts only supported fields and the chosen implementation passes a controlled API behavior check. This evidence would validate a DIFFERENT correction: Check provider-supported resource arguments and version support, and use a documented alternate interface rather than inventing arguments. That different correction addresses: A team assumes a provider manages every setting of a remote product even when its documented schema omits a new feature. It does not establish that the Summit Platform Engineering issue has been corrected: A child module has to create objects in a secondary account, but the caller passes only ordinary input variables and not the provider alias. The relevant measured outcome is: The module's resources resolve the intended secondary provider during validation and planning.

B:

Lock recovery references the correct stale lock and an unrelated active lock remains protected. This evidence would validate a DIFFERENT correction: Treat the identifier as a diagnostic for the specific lock and use authorized administrative recovery procedures only when needed. That different correction addresses: An operator treats the lock identifier printed by Terraform as a reusable password and sends it to every teammate. It does not establish that the Summit Platform Engineering issue has been corrected: A child module has to create objects in a secondary account, but the caller passes only ordinary input variables and not the provider alias. The relevant measured outcome is: The module's resources resolve the intended secondary provider during validation and planning.

D:

A no-change review leaves existing managed resources in place while detecting only an intentionally altered configuration field. This evidence would validate a DIFFERENT correction: Explain that Terraform declares desired manageable resources and reconciles them through provider APIs and tracked state. That different correction addresses: A service owner believes infrastructure as code requires every physical device to be recreated from scratch during each deployment. It does not establish that the Summit Platform Engineering issue has been corrected: A child module has to create objects in a secondary account, but the caller passes only ordinary input variables and not the provider alias. The relevant measured outcome is: The module's resources resolve the intended secondary provider during validation and planning.

Question 119

At Redwood Application Group, the Terraform review finds this specific problem: A child module has to create objects in a secondary account, but the caller passes only ordinary input variables and not the provider alias. What is the most appropriate corrective action for this Terraform scenario?

  1. Load credentials through an authorized secret-management integration such as Vault and avoid committing or echoing values.
  2. Configure appropriate providers for each supported service in the same Terraform dependency graph.
  3. Recover the appropriate state backup or import existing resources to restore Terraform's address-to-remote-ID mapping.
  4. Pass an explicit providers mapping into the module and declare configuration_aliases where required.

Explanation

Correct Answer

D:

Pass an explicit providers mapping into the module and declare configuration_aliases where required. This is targeted to the observed Terraform issue: A child module has to create objects in a secondary account, but the caller passes only ordinary input variables and not the provider alias. At Redwood Application Group, the acceptance criterion is not merely a valid plan; the team should verify: The module's resources resolve the intended secondary provider during validation and planning.

Incorrect Answers

A:

Load credentials through an authorized secret-management integration such as Vault and avoid committing or echoing values. This would be suitable for a DIFFERENT Terraform problem: A team exposes production credentials in a committed Terraform configuration and claims using Vault is unnecessary because outputs are marked sensitive. It does not directly resolve the Redwood Application Group failure: A child module has to create objects in a secondary account, but the caller passes only ordinary input variables and not the provider alias. The required acceptance evidence instead is: The module's resources resolve the intended secondary provider during validation and planning.

B:

Configure appropriate providers for each supported service in the same Terraform dependency graph. This would be suitable for a DIFFERENT Terraform problem: A deployment needs both cloud DNS and a SaaS monitoring check, but the team assumes Terraform can manage only one vendor's infrastructure. It does not directly resolve the Redwood Application Group failure: A child module has to create objects in a secondary account, but the caller passes only ordinary input variables and not the provider alias. The required acceptance evidence instead is: The module's resources resolve the intended secondary provider during validation and planning.

C:

Recover the appropriate state backup or import existing resources to restore Terraform's address-to-remote-ID mapping. This would be suitable for a DIFFERENT Terraform problem: An engineer deletes local state after provisioning cloud resources and assumes Terraform will automatically remember the existing resource IDs. It does not directly resolve the Redwood Application Group failure: A child module has to create objects in a secondary account, but the caller passes only ordinary input variables and not the provider alias. The required acceptance evidence instead is: The module's resources resolve the intended secondary provider during validation and planning.

Question 120

After corrective work at Redwood Application Group, a reviewer requests measurable proof for: A child module has to create objects in a secondary account, but the caller passes only ordinary input variables and not the provider alias. Which controlled check would validate the remediation?

  1. The module's resources resolve the intended secondary provider during validation and planning.
  2. Repository and log scans find no hardcoded secret while an authorized run retrieves the needed credential.
  3. The plan includes the cloud DNS record and monitoring check, each handled through the correct provider.
  4. terraform state list shows the intended addresses and the subsequent plan does not propose duplicate infrastructure.

Explanation

Correct Answer

A:

The module's resources resolve the intended secondary provider during validation and planning. This directly verifies the corrective action: Pass an explicit providers mapping into the module and declare configuration_aliases where required. The measured result specifically addresses the failure at Redwood Application Group: A child module has to create objects in a secondary account, but the caller passes only ordinary input variables and not the provider alias.

Incorrect Answers

B:

Repository and log scans find no hardcoded secret while an authorized run retrieves the needed credential. This evidence would validate a DIFFERENT correction: Load credentials through an authorized secret-management integration such as Vault and avoid committing or echoing values. That different correction addresses: A team exposes production credentials in a committed Terraform configuration and claims using Vault is unnecessary because outputs are marked sensitive. It does not establish that the Redwood Application Group issue has been corrected: A child module has to create objects in a secondary account, but the caller passes only ordinary input variables and not the provider alias. The relevant measured outcome is: The module's resources resolve the intended secondary provider during validation and planning.

C:

The plan includes the cloud DNS record and monitoring check, each handled through the correct provider. This evidence would validate a DIFFERENT correction: Configure appropriate providers for each supported service in the same Terraform dependency graph. That different correction addresses: A deployment needs both cloud DNS and a SaaS monitoring check, but the team assumes Terraform can manage only one vendor's infrastructure. It does not establish that the Redwood Application Group issue has been corrected: A child module has to create objects in a secondary account, but the caller passes only ordinary input variables and not the provider alias. The relevant measured outcome is: The module's resources resolve the intended secondary provider during validation and planning.

D:

terraform state list shows the intended addresses and the subsequent plan does not propose duplicate infrastructure. This evidence would validate a DIFFERENT correction: Recover the appropriate state backup or import existing resources to restore Terraform's address-to-remote-ID mapping. That different correction addresses: An engineer deletes local state after provisioning cloud resources and assumes Terraform will automatically remember the existing resource IDs. It does not establish that the Redwood Application Group issue has been corrected: A child module has to create objects in a secondary account, but the caller passes only ordinary input variables and not the provider alias. The relevant measured outcome is: The module's resources resolve the intended secondary provider during validation and planning.