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 68

Question 670

An acceptance reviewer at Orchard Enterprise Platforms must validate the fix for: A consultant attempts terraform import for an object that has no resource configuration and expects full valid HCL to be generated automatically. Which observation best confirms that the proposed correction worked?

  1. The imported object has matching managed configuration and no unexplained destructive plan is produced.
  2. The refreshed plan contains only a lookup for that zone and no zone creation or replacement.
  3. After state rm, the object remains in the remote API but is absent from terraform state list.
  4. terraform validate accepts only supported fields and the chosen implementation passes a controlled API behavior check.

Explanation

Correct Answer

A:

The imported object has matching managed configuration and no unexplained destructive plan is produced. This directly verifies the corrective action: Declare or generate suitable resource configuration using the supported import workflow, then review required attributes. The measured result specifically addresses the failure at Orchard Enterprise Platforms: A consultant attempts terraform import for an object that has no resource configuration and expects full valid HCL to be generated automatically.

Incorrect Answers

B:

The refreshed plan contains only a lookup for that zone and no zone creation or replacement. This evidence would validate a DIFFERENT correction: Use an appropriate provider data source to query the published zone without assuming lifecycle ownership. That different correction addresses: A team uses a resource block merely to retrieve information about a published DNS zone and accidentally plans a new zone. It does not establish that the Orchard Enterprise Platforms issue has been corrected: A consultant attempts terraform import for an object that has no resource configuration and expects full valid HCL to be generated automatically. The relevant measured outcome is: The imported object has matching managed configuration and no unexplained destructive plan is produced.

C:

After state rm, the object remains in the remote API but is absent from terraform state list. This evidence would validate a DIFFERENT correction: Use state rm only for removing Terraform management and use destroy when actual remote deletion is intended. That different correction addresses: A team needs to stop tracking a resource but assumes terraform state rm destroys the remote object as well. It does not establish that the Orchard Enterprise Platforms issue has been corrected: A consultant attempts terraform import for an object that has no resource configuration and expects full valid HCL to be generated automatically. The relevant measured outcome is: The imported object has matching managed configuration and no unexplained destructive plan is produced.

D:

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 Orchard Enterprise Platforms issue has been corrected: A consultant attempts terraform import for an object that has no resource configuration and expects full valid HCL to be generated automatically. The relevant measured outcome is: The imported object has matching managed configuration and no unexplained destructive plan is produced.

Question 671

At Stonebrook Software, the Terraform review finds this specific problem: A consultant attempts terraform import for an object that has no resource configuration and expects full valid HCL to be generated automatically. Which proposed fix addresses the reported root cause?

  1. Confirm that no active writer remains before using the backend's supported lock recovery procedure.
  2. Declare or generate suitable resource configuration using the supported import workflow, then review required attributes.
  3. Use a state mv or moved block for address refactoring when the same remote object should remain managed.
  4. Use HCP Terraform teams and scoped workspace or project permissions under least privilege.

Explanation

Correct Answer

B:

Declare or generate suitable resource configuration using the supported import workflow, then review required attributes. This is targeted to the observed Terraform issue: A consultant attempts terraform import for an object that has no resource configuration and expects full valid HCL to be generated automatically. At Stonebrook Software, the acceptance criterion is not merely a valid plan; the team should verify: The imported object has matching managed configuration and no unexplained destructive plan is produced.

Incorrect Answers

A:

Confirm that no active writer remains before using the backend's supported lock recovery procedure. This would be suitable for a DIFFERENT Terraform problem: A failed run leaves an apparently stale lock, but engineers cannot tell whether another apply is still active. It does not directly resolve the Stonebrook Software failure: A consultant attempts terraform import for an object that has no resource configuration and expects full valid HCL to be generated automatically. The required acceptance evidence instead is: The imported object has matching managed configuration and no unexplained destructive plan is produced.

C:

Use a state mv or moved block for address refactoring when the same remote object should remain managed. This would be suitable for a DIFFERENT Terraform problem: A resource is renamed in configuration but a team uses state rm, then wonders why Terraform plans to create a duplicate object. It does not directly resolve the Stonebrook Software failure: A consultant attempts terraform import for an object that has no resource configuration and expects full valid HCL to be generated automatically. The required acceptance evidence instead is: The imported object has matching managed configuration and no unexplained destructive plan is produced.

D:

Use HCP Terraform teams and scoped workspace or project permissions under least privilege. This would be suitable for a DIFFERENT Terraform problem: Several product teams share one HCP Terraform organization, but an administrator grants every team full organization-level access. It does not directly resolve the Stonebrook Software failure: A consultant attempts terraform import for an object that has no resource configuration and expects full valid HCL to be generated automatically. The required acceptance evidence instead is: The imported object has matching managed configuration and no unexplained destructive plan is produced.

Question 672

After corrective work at Stonebrook Software, a reviewer requests measurable proof for: A consultant attempts terraform import for an object that has no resource configuration and expects full valid HCL to be generated automatically. What result would demonstrate that the identified problem is actually resolved?

  1. Access tests show each team can act only on its authorized workspaces.
  2. The state mapping moves to the new address and the plan retains the existing remote identity.
  3. The imported object has matching managed configuration and no unexplained destructive plan is produced.
  4. The lock is cleared only after verifying the prior process is gone and a subsequent plan obtains exclusive access.

Explanation

Correct Answer

C:

The imported object has matching managed configuration and no unexplained destructive plan is produced. This directly verifies the corrective action: Declare or generate suitable resource configuration using the supported import workflow, then review required attributes. The measured result specifically addresses the failure at Stonebrook Software: A consultant attempts terraform import for an object that has no resource configuration and expects full valid HCL to be generated automatically.

Incorrect Answers

A:

Access tests show each team can act only on its authorized workspaces. This evidence would validate a DIFFERENT correction: Use HCP Terraform teams and scoped workspace or project permissions under least privilege. That different correction addresses: Several product teams share one HCP Terraform organization, but an administrator grants every team full organization-level access. It does not establish that the Stonebrook Software issue has been corrected: A consultant attempts terraform import for an object that has no resource configuration and expects full valid HCL to be generated automatically. The relevant measured outcome is: The imported object has matching managed configuration and no unexplained destructive plan is produced.

B:

The state mapping moves to the new address and the plan retains the existing remote identity. This evidence would validate a DIFFERENT correction: Use a state mv or moved block for address refactoring when the same remote object should remain managed. That different correction addresses: A resource is renamed in configuration but a team uses state rm, then wonders why Terraform plans to create a duplicate object. It does not establish that the Stonebrook Software issue has been corrected: A consultant attempts terraform import for an object that has no resource configuration and expects full valid HCL to be generated automatically. The relevant measured outcome is: The imported object has matching managed configuration and no unexplained destructive plan is produced.

D:

The lock is cleared only after verifying the prior process is gone and a subsequent plan obtains exclusive access. This evidence would validate a DIFFERENT correction: Confirm that no active writer remains before using the backend's supported lock recovery procedure. That different correction addresses: A failed run leaves an apparently stale lock, but engineers cannot tell whether another apply is still active. It does not establish that the Stonebrook Software issue has been corrected: A consultant attempts terraform import for an object that has no resource configuration and expects full valid HCL to be generated automatically. The relevant measured outcome is: The imported object has matching managed configuration and no unexplained destructive plan is produced.

Question 673

At Redwood Application Group, the Terraform review finds this specific problem: An operator imports the same remote bucket into two independent root states to share responsibility between teams. What is the most appropriate corrective action for this Terraform scenario?

  1. Assign a single owner state for the object and let other teams consume its outputs or a read-only lookup.
  2. Set TF_LOG as a Terraform CLI environment setting for the diagnostic process.
  3. Connect the CLI or API workflow to the intended HCP Terraform workspace and review its run execution mode.
  4. Protect local state as potentially sensitive and restrict access and backups rather than distributing it freely.

Explanation

Correct Answer

A:

Assign a single owner state for the object and let other teams consume its outputs or a read-only lookup. This is targeted to the observed Terraform issue: An operator imports the same remote bucket into two independent root states to share responsibility between teams. At Redwood Application Group, the acceptance criterion is not merely a valid plan; the team should verify: The bucket is tracked by one responsible state and downstream plans do not fight over its settings.

Incorrect Answers

B:

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 Redwood Application Group failure: An operator imports the same remote bucket into two independent root states to share responsibility between teams. The required acceptance evidence instead is: The bucket is tracked by one responsible state and downstream plans do not fight over its settings.

C:

Connect the CLI or API workflow to the intended HCP Terraform workspace and review its run execution mode. This would be suitable for a DIFFERENT Terraform problem: A CI service needs a remotely executed HCP Terraform plan but the team runs local terraform apply against unrelated local state. It does not directly resolve the Redwood Application Group failure: An operator imports the same remote bucket into two independent root states to share responsibility between teams. The required acceptance evidence instead is: The bucket is tracked by one responsible state and downstream plans do not fight over its settings.

D:

Protect local state as potentially sensitive and restrict access and backups rather than distributing it freely. This would be suitable for a DIFFERENT Terraform problem: A security reviewer sees a local terraform.tfstate file and treats it as safe to email because no passwords were intentionally output. It does not directly resolve the Redwood Application Group failure: An operator imports the same remote bucket into two independent root states to share responsibility between teams. The required acceptance evidence instead is: The bucket is tracked by one responsible state and downstream plans do not fight over its settings.

Question 674

After corrective work at Redwood Application Group, a reviewer requests measurable proof for: An operator imports the same remote bucket into two independent root states to share responsibility between teams. Which controlled check would validate the remediation?

  1. The run is recorded in the specified workspace and the intended remote state advances after approval.
  2. The bucket is tracked by one responsible state and downstream plans do not fight over its settings.
  3. Local state is excluded from email and public repositories while approved backup recovery succeeds.
  4. The run emits the selected diagnostic level without changing the deployed resource configuration.

Explanation

Correct Answer

B:

The bucket is tracked by one responsible state and downstream plans do not fight over its settings. This directly verifies the corrective action: Assign a single owner state for the object and let other teams consume its outputs or a read-only lookup. The measured result specifically addresses the failure at Redwood Application Group: An operator imports the same remote bucket into two independent root states to share responsibility between teams.

Incorrect Answers

A:

The run is recorded in the specified workspace and the intended remote state advances after approval. This evidence would validate a DIFFERENT correction: Connect the CLI or API workflow to the intended HCP Terraform workspace and review its run execution mode. That different correction addresses: A CI service needs a remotely executed HCP Terraform plan but the team runs local terraform apply against unrelated local state. It does not establish that the Redwood Application Group issue has been corrected: An operator imports the same remote bucket into two independent root states to share responsibility between teams. The relevant measured outcome is: The bucket is tracked by one responsible state and downstream plans do not fight over its settings.

C:

Local state is excluded from email and public repositories while approved backup recovery succeeds. This evidence would validate a DIFFERENT correction: Protect local state as potentially sensitive and restrict access and backups rather than distributing it freely. That different correction addresses: A security reviewer sees a local terraform.tfstate file and treats it as safe to email because no passwords were intentionally output. It does not establish that the Redwood Application Group issue has been corrected: An operator imports the same remote bucket into two independent root states to share responsibility between teams. The relevant measured outcome is: The bucket is tracked by one responsible state and downstream plans do not fight over its settings.

D:

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 Redwood Application Group issue has been corrected: An operator imports the same remote bucket into two independent root states to share responsibility between teams. The relevant measured outcome is: The bucket is tracked by one responsible state and downstream plans do not fight over its settings.

Question 675

The infrastructure engineers at Crescent Infrastructure Team document the following failure during a change review: An operator imports the same remote bucket into two independent root states to share responsibility between teams. Which action would best restore the intended infrastructure-as-code workflow?

  1. Follow the standard workflow: write configuration, terraform init, terraform plan, review, then terraform apply.
  2. Keep the .terraform.lock.hcl file under version control and use normal initialization for team installs.
  3. Assign a single owner state for the object and let other teams consume its outputs or a read-only lookup.
  4. Set TF_LOG to a needed diagnostic level for a controlled run and protect or redact any captured output.

Explanation

Correct Answer

C:

Assign a single owner state for the object and let other teams consume its outputs or a read-only lookup. This is targeted to the observed Terraform issue: An operator imports the same remote bucket into two independent root states to share responsibility between teams. At Crescent Infrastructure Team, the acceptance criterion is not merely a valid plan; the team should verify: The bucket is tracked by one responsible state and downstream plans do not fight over its settings.

Incorrect Answers

A:

Follow the standard workflow: write configuration, terraform init, terraform plan, review, then terraform apply. This would be suitable for a DIFFERENT Terraform problem: A new hire applies Terraform code before initializing its working directory and receives missing-provider errors. It does not directly resolve the Crescent Infrastructure Team failure: An operator imports the same remote bucket into two independent root states to share responsibility between teams. The required acceptance evidence instead is: The bucket is tracked by one responsible state and downstream plans do not fight over its settings.

B:

Keep the .terraform.lock.hcl file under version control and use normal initialization for team installs. This would be suitable for a DIFFERENT Terraform problem: Two developers obtain different provider binaries from the same repository because one manually deletes the dependency lock file. It does not directly resolve the Crescent Infrastructure Team failure: An operator imports the same remote bucket into two independent root states to share responsibility between teams. The required acceptance evidence instead is: The bucket is tracked by one responsible state and downstream plans do not fight over its settings.

D:

Set TF_LOG to a needed diagnostic level for a controlled run and protect or redact any captured output. This would be suitable for a DIFFERENT Terraform problem: An initialization failure has insufficient context, but an operator enables verbose logs and forgets the log may contain sensitive provider data. It does not directly resolve the Crescent Infrastructure Team failure: An operator imports the same remote bucket into two independent root states to share responsibility between teams. The required acceptance evidence instead is: The bucket is tracked by one responsible state and downstream plans do not fight over its settings.

Question 676

The reliability team at Crescent Infrastructure Team is closing an incident described as follows: An operator imports the same remote bucket into two independent root states to share responsibility between teams. Which observation best confirms that the proposed correction worked?

  1. The directory initializes successfully and the reviewed plan corresponds to the resulting applied resources.
  2. Clean installations select the approved provider versions with expected lock-file checksums.
  3. The diagnostic log identifies the failing operation without being published or retaining unrestricted credentials.
  4. The bucket is tracked by one responsible state and downstream plans do not fight over its settings.

Explanation

Correct Answer

D:

The bucket is tracked by one responsible state and downstream plans do not fight over its settings. This directly verifies the corrective action: Assign a single owner state for the object and let other teams consume its outputs or a read-only lookup. The measured result specifically addresses the failure at Crescent Infrastructure Team: An operator imports the same remote bucket into two independent root states to share responsibility between teams.

Incorrect Answers

A:

The directory initializes successfully and the reviewed plan corresponds to the resulting applied resources. This evidence would validate a DIFFERENT correction: Follow the standard workflow: write configuration, terraform init, terraform plan, review, then terraform apply. That different correction addresses: A new hire applies Terraform code before initializing its working directory and receives missing-provider errors. It does not establish that the Crescent Infrastructure Team issue has been corrected: An operator imports the same remote bucket into two independent root states to share responsibility between teams. The relevant measured outcome is: The bucket is tracked by one responsible state and downstream plans do not fight over its settings.

B:

Clean installations select the approved provider versions with expected lock-file checksums. This evidence would validate a DIFFERENT correction: Keep the .terraform.lock.hcl file under version control and use normal initialization for team installs. That different correction addresses: Two developers obtain different provider binaries from the same repository because one manually deletes the dependency lock file. It does not establish that the Crescent Infrastructure Team issue has been corrected: An operator imports the same remote bucket into two independent root states to share responsibility between teams. The relevant measured outcome is: The bucket is tracked by one responsible state and downstream plans do not fight over its settings.

C:

The diagnostic log identifies the failing operation without being published or retaining unrestricted credentials. This evidence would validate a DIFFERENT correction: Set TF_LOG to a needed diagnostic level for a controlled run and protect or redact any captured output. That different correction addresses: An initialization failure has insufficient context, but an operator enables verbose logs and forgets the log may contain sensitive provider data. It does not establish that the Crescent Infrastructure Team issue has been corrected: An operator imports the same remote bucket into two independent root states to share responsibility between teams. The relevant measured outcome is: The bucket is tracked by one responsible state and downstream plans do not fight over its settings.

Question 677

The infrastructure engineers at Horizon Platform Team document the following failure during a change review: A maintainer needs a list of addresses tracked by the current Terraform state and attempts to infer them from cloud console screenshots. How should the Terraform engineer correct this specific failure?

  1. Pass provider configurations from the caller and avoid nested provider configuration in reusable child modules where possible.
  2. Run terraform state list against the selected initialized backend and workspace.
  3. Review destroy implications and lifecycle/retention controls before decommissioning managed data services.
  4. Assign a single owner state for the object and let other teams consume its outputs or a read-only lookup.

Explanation

Correct Answer

B:

Run terraform state list against the selected initialized backend and workspace. This is targeted to the observed Terraform issue: A maintainer needs a list of addresses tracked by the current Terraform state and attempts to infer them from cloud console screenshots. At Horizon Platform Team, the acceptance criterion is not merely a valid plan; the team should verify: The output enumerates the expected managed addresses from the active state.

Incorrect Answers

A:

Pass provider configurations from the caller and avoid nested provider configuration in reusable child modules where possible. This would be suitable for a DIFFERENT Terraform problem: An application module quietly configures an independent provider account, conflicting with the root's deployment credentials. It does not directly resolve the Horizon Platform Team failure: A maintainer needs a list of addresses tracked by the current Terraform state and attempts to infer them from cloud console screenshots. The required acceptance evidence instead is: The output enumerates the expected managed addresses from the active state.

C:

Review destroy implications and lifecycle/retention controls before decommissioning managed data services. This would be suitable for a DIFFERENT Terraform problem: A training exercise uses destroy to clear a resource but ignores a required retention policy for its database. It does not directly resolve the Horizon Platform Team failure: A maintainer needs a list of addresses tracked by the current Terraform state and attempts to infer them from cloud console screenshots. The required acceptance evidence instead is: The output enumerates the expected managed addresses from the active state.

D:

Assign a single owner state for the object and let other teams consume its outputs or a read-only lookup. This would be suitable for a DIFFERENT Terraform problem: An operator imports the same remote bucket into two independent root states to share responsibility between teams. It does not directly resolve the Horizon Platform Team failure: A maintainer needs a list of addresses tracked by the current Terraform state and attempts to infer them from cloud console screenshots. The required acceptance evidence instead is: The output enumerates the expected managed addresses from the active state.

Question 678

The reliability team at Horizon Platform Team is closing an incident described as follows: A maintainer needs a list of addresses tracked by the current Terraform state and attempts to infer them from cloud console screenshots. Which verification outcome is the strongest evidence of the required correction?

  1. The module's resources resolve the caller-approved account and no unexpected credentials are used.
  2. The bucket is tracked by one responsible state and downstream plans do not fight over its settings.
  3. The output enumerates the expected managed addresses from the active state.
  4. The review identifies the protected database and prevents unauthorized data destruction.

Explanation

Correct Answer

C:

The output enumerates the expected managed addresses from the active state. This directly verifies the corrective action: Run terraform state list against the selected initialized backend and workspace. The measured result specifically addresses the failure at Horizon Platform Team: A maintainer needs a list of addresses tracked by the current Terraform state and attempts to infer them from cloud console screenshots.

Incorrect Answers

A:

The module's resources resolve the caller-approved account and no unexpected credentials are used. This evidence would validate a DIFFERENT correction: Pass provider configurations from the caller and avoid nested provider configuration in reusable child modules where possible. That different correction addresses: An application module quietly configures an independent provider account, conflicting with the root's deployment credentials. It does not establish that the Horizon Platform Team issue has been corrected: A maintainer needs a list of addresses tracked by the current Terraform state and attempts to infer them from cloud console screenshots. The relevant measured outcome is: The output enumerates the expected managed addresses from the active state.

B:

The bucket is tracked by one responsible state and downstream plans do not fight over its settings. This evidence would validate a DIFFERENT correction: Assign a single owner state for the object and let other teams consume its outputs or a read-only lookup. That different correction addresses: An operator imports the same remote bucket into two independent root states to share responsibility between teams. It does not establish that the Horizon Platform Team issue has been corrected: A maintainer needs a list of addresses tracked by the current Terraform state and attempts to infer them from cloud console screenshots. The relevant measured outcome is: The output enumerates the expected managed addresses from the active state.

D:

The review identifies the protected database and prevents unauthorized data destruction. This evidence would validate a DIFFERENT correction: Review destroy implications and lifecycle/retention controls before decommissioning managed data services. That different correction addresses: A training exercise uses destroy to clear a resource but ignores a required retention policy for its database. It does not establish that the Horizon Platform Team issue has been corrected: A maintainer needs a list of addresses tracked by the current Terraform state and attempts to infer them from cloud console screenshots. The relevant measured outcome is: The output enumerates the expected managed addresses from the active state.

Question 679

Northgate IT Platforms is preparing a controlled Terraform update after identifying this fault: A maintainer needs a list of addresses tracked by the current Terraform state and attempts to infer them from cloud console screenshots. What is the most appropriate corrective action for this Terraform scenario?

  1. Declare or generate suitable resource configuration using the supported import workflow, then review required attributes.
  2. Use an appropriate documented replacement action such as terraform apply -replace with review.
  3. Consider lifecycle create_before_destroy where the provider and naming constraints permit parallel replacement.
  4. Run terraform state list against the selected initialized backend and workspace.

Explanation

Correct Answer

D:

Run terraform state list against the selected initialized backend and workspace. This is targeted to the observed Terraform issue: A maintainer needs a list of addresses tracked by the current Terraform state and attempts to infer them from cloud console screenshots. At Northgate IT Platforms, the acceptance criterion is not merely a valid plan; the team should verify: The output enumerates the expected managed addresses from the active state.

Incorrect Answers

A:

Declare or generate suitable resource configuration using the supported import workflow, then review required attributes. This would be suitable for a DIFFERENT Terraform problem: A consultant attempts terraform import for an object that has no resource configuration and expects full valid HCL to be generated automatically. It does not directly resolve the Northgate IT Platforms failure: A maintainer needs a list of addresses tracked by the current Terraform state and attempts to infer them from cloud console screenshots. The required acceptance evidence instead is: The output enumerates the expected managed addresses from the active state.

B:

Use an appropriate documented replacement action such as terraform apply -replace with review. This would be suitable for a DIFFERENT Terraform problem: An application needs an isolated replacement of a damaged object, but the operator tries to edit its serialized state to mark it broken. It does not directly resolve the Northgate IT Platforms failure: A maintainer needs a list of addresses tracked by the current Terraform state and attempts to infer them from cloud console screenshots. The required acceptance evidence instead is: The output enumerates the expected managed addresses from the active state.

C:

Consider lifecycle create_before_destroy where the provider and naming constraints permit parallel replacement. This would be suitable for a DIFFERENT Terraform problem: A database is replaced while an application requires the new endpoint to become available before the old instance is removed. It does not directly resolve the Northgate IT Platforms failure: A maintainer needs a list of addresses tracked by the current Terraform state and attempts to infer them from cloud console screenshots. The required acceptance evidence instead is: The output enumerates the expected managed addresses from the active state.

Question 680

Northgate IT Platforms requires independent evidence before signing off this Terraform correction: A maintainer needs a list of addresses tracked by the current Terraform state and attempts to infer them from cloud console screenshots. Which controlled check would validate the remediation?

  1. The output enumerates the expected managed addresses from the active state.
  2. A replacement plan shows the new instance scheduled before destruction of the old one and confirms naming constraints permit it.
  3. The plan clearly shows replacement of the intended resource address while other resources remain unchanged.
  4. The imported object has matching managed configuration and no unexplained destructive plan is produced.

Explanation

Correct Answer

A:

The output enumerates the expected managed addresses from the active state. This directly verifies the corrective action: Run terraform state list against the selected initialized backend and workspace. The measured result specifically addresses the failure at Northgate IT Platforms: A maintainer needs a list of addresses tracked by the current Terraform state and attempts to infer them from cloud console screenshots.

Incorrect Answers

B:

A replacement plan shows the new instance scheduled before destruction of the old one and confirms naming constraints permit it. This evidence would validate a DIFFERENT correction: Consider lifecycle create_before_destroy where the provider and naming constraints permit parallel replacement. That different correction addresses: A database is replaced while an application requires the new endpoint to become available before the old instance is removed. It does not establish that the Northgate IT Platforms issue has been corrected: A maintainer needs a list of addresses tracked by the current Terraform state and attempts to infer them from cloud console screenshots. The relevant measured outcome is: The output enumerates the expected managed addresses from the active state.

C:

The plan clearly shows replacement of the intended resource address while other resources remain unchanged. This evidence would validate a DIFFERENT correction: Use an appropriate documented replacement action such as terraform apply -replace with review. That different correction addresses: An application needs an isolated replacement of a damaged object, but the operator tries to edit its serialized state to mark it broken. It does not establish that the Northgate IT Platforms issue has been corrected: A maintainer needs a list of addresses tracked by the current Terraform state and attempts to infer them from cloud console screenshots. The relevant measured outcome is: The output enumerates the expected managed addresses from the active state.

D:

The imported object has matching managed configuration and no unexplained destructive plan is produced. This evidence would validate a DIFFERENT correction: Declare or generate suitable resource configuration using the supported import workflow, then review required attributes. That different correction addresses: A consultant attempts terraform import for an object that has no resource configuration and expects full valid HCL to be generated automatically. It does not establish that the Northgate IT Platforms issue has been corrected: A maintainer needs a list of addresses tracked by the current Terraform state and attempts to infer them from cloud console screenshots. The relevant measured outcome is: The output enumerates the expected managed addresses from the active state.