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 7

Question 60

A controlled test for Westhaven Application Ops focuses on the original failure: A team needs to coordinate infrastructure and a managed source-control repository but assumes Terraform's execution model requires separate tools for every API. Which controlled check would validate the remediation?

  1. The application resources depend on the newly produced network output and plan with the correct VPC ID.
  2. One reviewed plan accounts for both services and identifies which provider owns each operation.
  3. A test change reaches only the authorized workspaces associated with that variable set.
  4. A separate recovery workspace produces the intended topology from a known configuration revision and documented inputs.

Explanation

Correct Answer

B:

One reviewed plan accounts for both services and identifies which provider owns each operation. This directly verifies the corrective action: Use Terraform providers whose supported resources correspond to the cloud and source-control APIs, with explicit dependencies where needed. The measured result specifically addresses the failure at Westhaven Application Ops: A team needs to coordinate infrastructure and a managed source-control repository but assumes Terraform's execution model requires separate tools for every API.

Incorrect Answers

A:

The application resources depend on the newly produced network output and plan with the correct VPC ID. This evidence would validate a DIFFERENT correction: Consume the networking module's output from the app module input rather than hardcoding a remote ID. That different correction addresses: A root module needs a VPC ID created by a networking module but copies an ID from another workspace. It does not establish that the Westhaven Application Ops issue has been corrected: A team needs to coordinate infrastructure and a managed source-control repository but assumes Terraform's execution model requires separate tools for every API. The relevant measured outcome is: One reviewed plan accounts for both services and identifies which provider owns each operation.

C:

A test change reaches only the authorized workspaces associated with that variable set. This evidence would validate a DIFFERENT correction: Create a governed variable set and scope it to the intended project or workspaces as supported. That different correction addresses: A platform team wants to share identical non-secret configuration settings across many HCP Terraform workspaces without copying them individually. It does not establish that the Westhaven Application Ops issue has been corrected: A team needs to coordinate infrastructure and a managed source-control repository but assumes Terraform's execution model requires separate tools for every API. The relevant measured outcome is: One reviewed plan accounts for both services and identifies which provider owns each operation.

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 Westhaven Application Ops issue has been corrected: A team needs to coordinate infrastructure and a managed source-control repository but assumes Terraform's execution model requires separate tools for every API. The relevant measured outcome is: One reviewed plan accounts for both services and identifies which provider owns each operation.

Question 61

A Terraform maintainer supporting Cobalt Engineering Group investigates this scenario: A new cloud account is added to a multi-cloud repository by copying AWS resource names into Azure provider blocks. Which engineering change most directly resolves this issue?

  1. Verify the selected backend's documented locking support and add an execution serialization control if necessary.
  2. Reuse parameterized infrastructure configuration across environments with environment-specific input values.
  3. Use terraform state show with the exact resource address and handle displayed sensitive information appropriately.
  4. Use provider-specific resource schemas behind reusable high-level modules rather than treating vendor resource types as identical.

Explanation

Correct Answer

D:

Use provider-specific resource schemas behind reusable high-level modules rather than treating vendor resource types as identical. This is targeted to the observed Terraform issue: A new cloud account is added to a multi-cloud repository by copying AWS resource names into Azure provider blocks. At Cobalt Engineering Group, the acceptance criterion is not merely a valid plan; the team should verify: Both provider configurations validate and produce appropriate resource types for their respective platforms.

Incorrect Answers

A:

Verify the selected backend's documented locking support and add an execution serialization control if necessary. This would be suitable for a DIFFERENT Terraform problem: A repository uses a remote backend that does not implement locking, but a team claims every remote backend automatically prevents concurrent applies. It does not directly resolve the Cobalt Engineering Group failure: A new cloud account is added to a multi-cloud repository by copying AWS resource names into Azure provider blocks. The required acceptance evidence instead is: Both provider configurations validate and produce appropriate resource types for their respective platforms.

B:

Reuse parameterized infrastructure configuration across environments with environment-specific input values. This would be suitable for a DIFFERENT Terraform problem: Three staging environments repeatedly differ because their networks were created with slightly different console defaults. It does not directly resolve the Cobalt Engineering Group failure: A new cloud account is added to a multi-cloud repository by copying AWS resource names into Azure provider blocks. The required acceptance evidence instead is: Both provider configurations validate and produce appropriate resource types for their respective platforms.

C:

Use terraform state show with the exact resource address and handle displayed sensitive information appropriately. This would be suitable for a DIFFERENT Terraform problem: An engineer wants to inspect attributes recorded for a specific managed resource without editing state JSON directly. It does not directly resolve the Cobalt Engineering Group failure: A new cloud account is added to a multi-cloud repository by copying AWS resource names into Azure provider blocks. The required acceptance evidence instead is: Both provider configurations validate and produce appropriate resource types for their respective platforms.

Question 62

A controlled test for Cobalt Engineering Group focuses on the original failure: A new cloud account is added to a multi-cloud repository by copying AWS resource names into Azure provider blocks. What acceptance evidence is most relevant to this reported issue?

  1. Both provider configurations validate and produce appropriate resource types for their respective platforms.
  2. The returned object attributes correspond to the intended address and are reviewed securely.
  3. A simulated pair of runs does not perform simultaneous unsafe state writes.
  4. The three environment plans share the expected baseline structure while showing only documented parameter differences.

Explanation

Correct Answer

A:

Both provider configurations validate and produce appropriate resource types for their respective platforms. This directly verifies the corrective action: Use provider-specific resource schemas behind reusable high-level modules rather than treating vendor resource types as identical. The measured result specifically addresses the failure at Cobalt Engineering Group: A new cloud account is added to a multi-cloud repository by copying AWS resource names into Azure provider blocks.

Incorrect Answers

B:

The returned object attributes correspond to the intended address and are reviewed securely. This evidence would validate a DIFFERENT correction: Use terraform state show with the exact resource address and handle displayed sensitive information appropriately. That different correction addresses: An engineer wants to inspect attributes recorded for a specific managed resource without editing state JSON directly. It does not establish that the Cobalt Engineering Group issue has been corrected: A new cloud account is added to a multi-cloud repository by copying AWS resource names into Azure provider blocks. The relevant measured outcome is: Both provider configurations validate and produce appropriate resource types for their respective platforms.

C:

A simulated pair of runs does not perform simultaneous unsafe state writes. This evidence would validate a DIFFERENT correction: Verify the selected backend's documented locking support and add an execution serialization control if necessary. That different correction addresses: A repository uses a remote backend that does not implement locking, but a team claims every remote backend automatically prevents concurrent applies. It does not establish that the Cobalt Engineering Group issue has been corrected: A new cloud account is added to a multi-cloud repository by copying AWS resource names into Azure provider blocks. The relevant measured outcome is: Both provider configurations validate and produce appropriate resource types for their respective platforms.

D:

The three environment plans share the expected baseline structure while showing only documented parameter differences. This evidence would validate a DIFFERENT correction: Reuse parameterized infrastructure configuration across environments with environment-specific input values. That different correction addresses: Three staging environments repeatedly differ because their networks were created with slightly different console defaults. It does not establish that the Cobalt Engineering Group issue has been corrected: A new cloud account is added to a multi-cloud repository by copying AWS resource names into Azure provider blocks. The relevant measured outcome is: Both provider configurations validate and produce appropriate resource types for their respective platforms.

Question 63

A proposed infrastructure change for Aspen Engineering must address the following observed failure: A new cloud account is added to a multi-cloud repository by copying AWS resource names into Azure provider blocks. How should the Terraform engineer correct this specific failure?

  1. Describe the intended network and related resources as Terraform configuration managed through a reviewed version-control workflow.
  2. Use provider-specific resource schemas behind reusable high-level modules rather than treating vendor resource types as identical.
  3. Use an explicit depends_on when no usable data reference expresses the real dependency.
  4. Set TF_LOG as a Terraform CLI environment setting for the diagnostic process.

Explanation

Correct Answer

B:

Use provider-specific resource schemas behind reusable high-level modules rather than treating vendor resource types as identical. This is targeted to the observed Terraform issue: A new cloud account is added to a multi-cloud repository by copying AWS resource names into Azure provider blocks. At Aspen Engineering, the acceptance criterion is not merely a valid plan; the team should verify: Both provider configurations validate and produce appropriate resource types for their respective platforms.

Incorrect Answers

A:

Describe the intended network and related resources as Terraform configuration managed through a reviewed version-control workflow. This would be suitable for a DIFFERENT Terraform problem: 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 directly resolve the Aspen Engineering failure: A new cloud account is added to a multi-cloud repository by copying AWS resource names into Azure provider blocks. The required acceptance evidence instead is: Both provider configurations validate and produce appropriate resource types for their respective platforms.

C:

Use an explicit depends_on when no usable data reference expresses the real dependency. This would be suitable for a DIFFERENT Terraform problem: A compute instance refers to an access policy only by a literal name and Terraform may create it before the policy exists. It does not directly resolve the Aspen Engineering failure: A new cloud account is added to a multi-cloud repository by copying AWS resource names into Azure provider blocks. The required acceptance evidence instead is: Both provider configurations validate and produce appropriate resource types for their respective platforms.

D:

Set TF_LOG as a Terraform CLI environment setting for the diagnostic process. This would be suitable for a DIFFERENT Terraform problem: A platform operator confuses TF_LOG with an HCL resource argument and adds it inside an infrastructure resource block. It does not directly resolve the Aspen Engineering failure: A new cloud account is added to a multi-cloud repository by copying AWS resource names into Azure provider blocks. The required acceptance evidence instead is: Both provider configurations validate and produce appropriate resource types for their respective platforms.

Question 64

The Terraform change owner at Aspen Engineering seeks a verifiable outcome for: A new cloud account is added to a multi-cloud repository by copying AWS resource names into Azure provider blocks. Which verification outcome is the strongest evidence of the required correction?

  1. A clean environment is planned from the checked-in configuration and produces the expected inventory without reconstructing console click history.
  2. The run emits the selected diagnostic level without changing the deployed resource configuration.
  3. Both provider configurations validate and produce appropriate resource types for their respective platforms.
  4. The dependency graph orders the instance after the access policy during the controlled plan/apply.

Explanation

Correct Answer

C:

Both provider configurations validate and produce appropriate resource types for their respective platforms. This directly verifies the corrective action: Use provider-specific resource schemas behind reusable high-level modules rather than treating vendor resource types as identical. The measured result specifically addresses the failure at Aspen Engineering: A new cloud account is added to a multi-cloud repository by copying AWS resource names into Azure provider blocks.

Incorrect Answers

A:

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 Aspen Engineering issue has been corrected: A new cloud account is added to a multi-cloud repository by copying AWS resource names into Azure provider blocks. The relevant measured outcome is: Both provider configurations validate and produce appropriate resource types for their respective platforms.

B:

The run emits the selected diagnostic level without changing the deployed resource configuration. This evidence would validate a DIFFERENT correction: Set TF_LOG as a Terraform CLI environment setting for the diagnostic process. That different correction addresses: A platform operator confuses TF_LOG with an HCL resource argument and adds it inside an infrastructure resource block. It does not establish that the Aspen Engineering issue has been corrected: A new cloud account is added to a multi-cloud repository by copying AWS resource names into Azure provider blocks. The relevant measured outcome is: Both provider configurations validate and produce appropriate resource types for their respective platforms.

D:

The dependency graph orders the instance after the access policy during the controlled plan/apply. This evidence would validate a DIFFERENT correction: Use an explicit depends_on when no usable data reference expresses the real dependency. That different correction addresses: A compute instance refers to an access policy only by a literal name and Terraform may create it before the policy exists. It does not establish that the Aspen Engineering issue has been corrected: A new cloud account is added to a multi-cloud repository by copying AWS resource names into Azure provider blocks. The relevant measured outcome is: Both provider configurations validate and produce appropriate resource types for their respective platforms.

Question 65

A proposed infrastructure change for Valleyline Technology must address the following observed failure: An engineer pins only the provider name and accidentally upgrades to an incompatible provider release on the next initialization. Which proposed fix addresses the reported root cause?

  1. Declare a compatible required_providers version constraint and commit the dependency lock file for reproducible selection.
  2. Group related workspaces into HCP Terraform projects aligned to the owning teams or business units.
  3. Configure the provider centrally with an appropriately supplied credential rather than duplicating authentication in resources.
  4. Compose focused modules with a stable, intentional input/output interface and reasonable defaults.

Explanation

Correct Answer

A:

Declare a compatible required_providers version constraint and commit the dependency lock file for reproducible selection. This is targeted to the observed Terraform issue: An engineer pins only the provider name and accidentally upgrades to an incompatible provider release on the next initialization. At Valleyline Technology, the acceptance criterion is not merely a valid plan; the team should verify: A fresh terraform init uses the expected locked provider version under the declared constraint.

Incorrect Answers

B:

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 Valleyline Technology failure: An engineer pins only the provider name and accidentally upgrades to an incompatible provider release on the next initialization. The required acceptance evidence instead is: A fresh terraform init uses the expected locked provider version under the declared constraint.

C:

Configure the provider centrally with an appropriately supplied credential rather than duplicating authentication in resources. This would be suitable for a DIFFERENT Terraform problem: A service provider API token is hardcoded inside every resource block and rotation requires editing dozens of resources. It does not directly resolve the Valleyline Technology failure: An engineer pins only the provider name and accidentally upgrades to an incompatible provider release on the next initialization. The required acceptance evidence instead is: A fresh terraform init uses the expected locked provider version under the declared constraint.

D:

Compose focused modules with a stable, intentional input/output interface and reasonable defaults. This would be suitable for a DIFFERENT Terraform problem: A reusable module exposes fifty low-level implementation variables and becomes impossible for application teams to use safely. It does not directly resolve the Valleyline Technology failure: An engineer pins only the provider name and accidentally upgrades to an incompatible provider release on the next initialization. The required acceptance evidence instead is: A fresh terraform init uses the expected locked provider version under the declared constraint.

Question 66

The Terraform change owner at Valleyline Technology seeks a verifiable outcome for: An engineer pins only the provider name and accidentally upgrades to an incompatible provider release on the next initialization. What result would demonstrate that the identified problem is actually resolved?

  1. Workspaces appear in the intended projects and project-scoped permissions match ownership.
  2. A fresh terraform init uses the expected locked provider version under the declared constraint.
  3. A consumer can deploy a representative environment using only the documented minimum inputs.
  4. Resource operations authenticate through the configured provider and rotation requires no resource-block credential edits.

Explanation

Correct Answer

B:

A fresh terraform init uses the expected locked provider version under the declared constraint. This directly verifies the corrective action: Declare a compatible required_providers version constraint and commit the dependency lock file for reproducible selection. The measured result specifically addresses the failure at Valleyline Technology: An engineer pins only the provider name and accidentally upgrades to an incompatible provider release on the next initialization.

Incorrect Answers

A:

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 Valleyline Technology issue has been corrected: An engineer pins only the provider name and accidentally upgrades to an incompatible provider release on the next initialization. The relevant measured outcome is: A fresh terraform init uses the expected locked provider version under the declared constraint.

C:

A consumer can deploy a representative environment using only the documented minimum inputs. This evidence would validate a DIFFERENT correction: Compose focused modules with a stable, intentional input/output interface and reasonable defaults. That different correction addresses: A reusable module exposes fifty low-level implementation variables and becomes impossible for application teams to use safely. It does not establish that the Valleyline Technology issue has been corrected: An engineer pins only the provider name and accidentally upgrades to an incompatible provider release on the next initialization. The relevant measured outcome is: A fresh terraform init uses the expected locked provider version under the declared constraint.

D:

Resource operations authenticate through the configured provider and rotation requires no resource-block credential edits. This evidence would validate a DIFFERENT correction: Configure the provider centrally with an appropriately supplied credential rather than duplicating authentication in resources. That different correction addresses: A service provider API token is hardcoded inside every resource block and rotation requires editing dozens of resources. It does not establish that the Valleyline Technology issue has been corrected: An engineer pins only the provider name and accidentally upgrades to an incompatible provider release on the next initialization. The relevant measured outcome is: A fresh terraform init uses the expected locked provider version under the declared constraint.

Question 67

During repository review at Northstar Operations Group, the platform team reports: An engineer pins only the provider name and accidentally upgrades to an incompatible provider release on the next initialization. Which engineering change most directly resolves this issue?

  1. Use a managed resource to create/control the object and a data source only to read an existing compatible object.
  2. Use a supported import block with the target resource address and existing object identifier, then review the resulting plan.
  3. Declare a compatible required_providers version constraint and commit the dependency lock file for reproducible selection.
  4. Supply backend configuration through values available during initialization, independently of normal resource evaluation.

Explanation

Correct Answer

C:

Declare a compatible required_providers version constraint and commit the dependency lock file for reproducible selection. This is targeted to the observed Terraform issue: An engineer pins only the provider name and accidentally upgrades to an incompatible provider release on the next initialization. At Northstar Operations Group, the acceptance criterion is not merely a valid plan; the team should verify: A fresh terraform init uses the expected locked provider version under the declared constraint.

Incorrect Answers

A:

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 Northstar Operations Group failure: An engineer pins only the provider name and accidentally upgrades to an incompatible provider release on the next initialization. The required acceptance evidence instead is: A fresh terraform init uses the expected locked provider version under the declared constraint.

B:

Use a supported import block with the target resource address and existing object identifier, then review the resulting plan. This would be suitable for a DIFFERENT Terraform problem: 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 directly resolve the Northstar Operations Group failure: An engineer pins only the provider name and accidentally upgrades to an incompatible provider release on the next initialization. The required acceptance evidence instead is: A fresh terraform init uses the expected locked provider version under the declared constraint.

D:

Supply backend configuration through values available during initialization, independently of normal resource evaluation. This would be suitable for a DIFFERENT Terraform problem: A pipeline attempts to calculate the backend bucket name from an output that is not known until after apply. It does not directly resolve the Northstar Operations Group failure: An engineer pins only the provider name and accidentally upgrades to an incompatible provider release on the next initialization. The required acceptance evidence instead is: A fresh terraform init uses the expected locked provider version under the declared constraint.

Question 68

An acceptance reviewer at Northstar Operations Group must validate the fix for: An engineer pins only the provider name and accidentally upgrades to an incompatible provider release on the next initialization. What acceptance evidence is most relevant to this reported issue?

  1. A clean init resolves the configured backend before planning any resources.
  2. The import plan links the existing object to its declared address and records the adoption in versioned configuration.
  3. The planned actions create only managed resources while the data source contributes discovered attributes.
  4. A fresh terraform init uses the expected locked provider version under the declared constraint.

Explanation

Correct Answer

D:

A fresh terraform init uses the expected locked provider version under the declared constraint. This directly verifies the corrective action: Declare a compatible required_providers version constraint and commit the dependency lock file for reproducible selection. The measured result specifically addresses the failure at Northstar Operations Group: An engineer pins only the provider name and accidentally upgrades to an incompatible provider release on the next initialization.

Incorrect Answers

A:

A clean init resolves the configured backend before planning any resources. This evidence would validate a DIFFERENT correction: Supply backend configuration through values available during initialization, independently of normal resource evaluation. That different correction addresses: A pipeline attempts to calculate the backend bucket name from an output that is not known until after apply. It does not establish that the Northstar Operations Group issue has been corrected: An engineer pins only the provider name and accidentally upgrades to an incompatible provider release on the next initialization. The relevant measured outcome is: A fresh terraform init uses the expected locked provider version under the declared constraint.

B:

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 Northstar Operations Group issue has been corrected: An engineer pins only the provider name and accidentally upgrades to an incompatible provider release on the next initialization. The relevant measured outcome is: A fresh terraform init uses the expected locked provider version under the declared constraint.

C:

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 Northstar Operations Group issue has been corrected: An engineer pins only the provider name and accidentally upgrades to an incompatible provider release on the next initialization. The relevant measured outcome is: A fresh terraform init uses the expected locked provider version under the declared constraint.

Question 69

During repository review at Bayview Systems, the platform team reports: A module depends on an external provider, but initialization cannot resolve its source because the configuration uses a guessed namespace. Which action would best restore the intended infrastructure-as-code workflow?

  1. Expose the needed result as a child module output and consume the output from the caller.
  2. Set the canonical provider source address in required_providers and run terraform init.
  3. Represent repeatable infrastructure declarations in Terraform files and retain their versions with the application release.
  4. Use an appropriately configured shared backend with state locking and controlled access.

Explanation

Correct Answer

B:

Set the canonical provider source address in required_providers and run terraform init. This is targeted to the observed Terraform issue: A module depends on an external provider, but initialization cannot resolve its source because the configuration uses a guessed namespace. At Bayview Systems, the acceptance criterion is not merely a valid plan; the team should verify: The provider is downloaded from the specified source and schema validation succeeds.

Incorrect Answers

A:

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 Bayview Systems failure: A module depends on an external provider, but initialization cannot resolve its source because the configuration uses a guessed namespace. The required acceptance evidence instead is: The provider is downloaded from the specified source and schema validation succeeds.

C:

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 Bayview Systems failure: A module depends on an external provider, but initialization cannot resolve its source because the configuration uses a guessed namespace. The required acceptance evidence instead is: The provider is downloaded from the specified source and schema validation succeeds.

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 Bayview Systems failure: A module depends on an external provider, but initialization cannot resolve its source because the configuration uses a guessed namespace. The required acceptance evidence instead is: The provider is downloaded from the specified source and schema validation succeeds.

Question 70

An acceptance reviewer at Bayview Systems must validate the fix for: A module depends on an external provider, but initialization cannot resolve its source because the configuration uses a guessed namespace. Which observation best confirms that the proposed correction worked?

  1. A separate recovery workspace produces the intended topology from a known configuration revision and documented inputs.
  2. The root accesses module.network.subnets rather than reaching into private module locals.
  3. The provider is downloaded from the specified source and schema validation succeeds.
  4. Concurrent plans or applies operate on the same current state without overwriting an intervening state update.

Explanation

Correct Answer

C:

The provider is downloaded from the specified source and schema validation succeeds. This directly verifies the corrective action: Set the canonical provider source address in required_providers and run terraform init. The measured result specifically addresses the failure at Bayview Systems: A module depends on an external provider, but initialization cannot resolve its source because the configuration uses a guessed namespace.

Incorrect Answers

A:

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 Bayview Systems issue has been corrected: A module depends on an external provider, but initialization cannot resolve its source because the configuration uses a guessed namespace. The relevant measured outcome is: The provider is downloaded from the specified source and schema validation succeeds.

B:

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 Bayview Systems issue has been corrected: A module depends on an external provider, but initialization cannot resolve its source because the configuration uses a guessed namespace. The relevant measured outcome is: The provider is downloaded from the specified source and schema validation succeeds.

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 Bayview Systems issue has been corrected: A module depends on an external provider, but initialization cannot resolve its source because the configuration uses a guessed namespace. The relevant measured outcome is: The provider is downloaded from the specified source and schema validation succeeds.