mcAfee Secure Website
23

HashiCorp Terraform Associate 004 Bundle

Exam Code: Terraform Associate 004

Exam Name HashiCorp Certified: Terraform Associate (004)

Certification Provider: HashiCorp

Corresponding Certification: Terraform Associate

Terraform Associate 004 Training Materials $44.99

Reliable & Actual Study Materials for Terraform Associate 004 Exam Success

The Latest Terraform Associate 004 Exam Questions as Experienced in the Actual Test!

  • 24
    Questions & Answers

    Terraform Associate 004 Questions & Answers

    167 Questions & Answers

    Includes questions types found on actual exam such as drag and drop, simulation, type in, and fill in the blank.

  • 25
    Terraform Associate 004 Video Course

    Terraform Associate 004 Training Course

    118 Video Lectures

    Based on Real Life Scenarios which you will encounter in exam and learn by working with real equipment.

  • exam =30
    Study Guide

    Terraform Associate 004 Study Guide

    285 PDF Pages

    Study Guide developed by industry experts who have written exams in the past. They are technology-specific IT certification researchers with at least a decade of experience at Fortune 500 companies.

exam =32

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

Guarantee

Satisfaction Guaranteed

Pass4sure has a remarkable HashiCorp Candidate Success record. We're confident of our products and provide no hassle product exchange. That's how confident we are!

99.3% Pass Rate
Total Cost: $194.97
Bundle Price: $149.98

Purchase Individually

  • exam =34
    Questions & Answers

    Questions & Answers

    167 Questions

    $124.99
    exam =35
  • exam =37
    Terraform Associate 004 Video Course

    Training Course

    118 Video Lectures

    $39.99
  • exam =36
    Study Guide

    Study Guide

    285 PDF Pages

    $29.99

HashiCorp Terraform Associate 004 Practice Test 59

Question 580

A Terraform associate evaluates: A compliance review asks how Terraform notices changes made without updating HCL. Select TWO complementary responses: the appropriate action AND direct evidence it worked.

  1. Use terraform plan -refresh-only when the goal is to inspect state updates to match real objects without proposing configuration-driven repairs.
  2. The initialized configuration uses one supported backend mechanism and no credentials appear in tracked configuration.
  3. The plan reports a deliberate manual attribute change and reviewers decide whether to restore code intent or update configuration.
  4. Forcibly unlocking an active run can permit concurrent writers and corrupt resource state.
  5. Use terraform plan against the actual current infrastructure to identify differences caused by manual or external changes before choosing a corrective action.

Explanation

Correct Answers

C:

The observed situation is: A compliance review asks how Terraform notices changes made without updating HCL. The acceptance evidence is: The plan reports a deliberate manual attribute change and reviewers decide whether to restore code intent or update configuration. It verifies the corrective approach (Use terraform plan against the actual current infrastructure to identify differences caused by manual or external changes before choosing a corrective action.) and controls the risk: Assuming configuration and infrastructure remain identical can hide unapproved console edits. Checking an unrelated Terraform setting would not prove the stated requirement was met.

E:

The case says: A compliance review asks how Terraform notices changes made without updating HCL. The directly relevant Terraform response is: Use terraform plan against the actual current infrastructure to identify differences caused by manual or external changes before choosing a corrective action. This addresses the related failure mode: Assuming configuration and infrastructure remain identical can hide unapproved console edits. Validate the result by checking: The plan reports a deliberate manual attribute change and reviewers decide whether to restore code intent or update configuration. The selection matches this objective, rather than a different Terraform administration task.

Incorrect Answers

A:

Use terraform plan -refresh-only when the goal is to inspect state updates to match real objects without proposing configuration-driven repairs. This belongs to Refresh-only planning and state synchronization (official objective 6d). Its separate risk is that confusing refresh-only with a normal corrective plan can leave configuration drift unresolved or record unintended state updates. The question instead tests Detect and review out-of-band drift; that other safeguard alone does not verify it.

B:

The initialized configuration uses one supported backend mechanism and no credentials appear in tracked configuration. This is relevant to Backend credentials and HCP cloud block exclusivity (official objective 6c). Its distinct failure risk is that hardcoded backend access tokens can persist in.terraform metadata and saved plans, and cloud and backend blocks conflict. The present question tests Detect and review out-of-band drift, which this measure alone does not establish.

D:

Forcibly unlocking an active run can permit concurrent writers and corrupt resource state. This addresses Force-unlock safety (official objective 6b). The separate hazard is that forcibly unlocking an active run can permit concurrent writers and corrupt resource state. It does not by itself satisfy the case-specific requirement for Detect and review out-of-band drift.

Question 581

A Terraform engineer reports: A provider reports updated external metadata and the team wants to inspect state synchronization only. Which action BEST addresses the specific Terraform Associate (004) requirement?

  1. Define the supported remote backend within a terraform block, reinitialize, and migrate or reconfigure state deliberately with a backup.
  2. Use terraform plan against the actual current infrastructure to identify differences caused by manual or external changes before choosing a corrective action.
  3. Use terraform plan -refresh-only when the goal is to inspect state updates to match real objects without proposing configuration-driven repairs.
  4. Recognize the default local backend stores Terraform state in local files and requires careful handling for team use.

Explanation

Correct Answer

C:

The case says: A provider reports updated external metadata and the team wants to inspect state synchronization only. The directly relevant Terraform response is: Use terraform plan -refresh-only when the goal is to inspect state updates to match real objects without proposing configuration-driven repairs. This addresses the related failure mode: Confusing refresh-only with a normal corrective plan can leave configuration drift unresolved or record unintended state updates. Validate the result by checking: A refresh-only plan describes state changes caused by real-world attributes but does not propose changing remote infrastructure. The selection matches this objective, rather than a different Terraform administration task.

Incorrect Answers

A:

Define the supported remote backend within a terraform block, reinitialize, and migrate or reconfigure state deliberately with a backup. This belongs to Remote backend configuration and migration (official objective 6c). Its separate risk is that changing only backend text without init and migration risks disconnected state or unintended resource recreation. The question instead tests Refresh-only planning and state synchronization; that other safeguard alone does not verify it.

B:

Use terraform plan against the actual current infrastructure to identify differences caused by manual or external changes before choosing a corrective action. This is relevant to Detect and review out-of-band drift (official objective 6d). Its distinct failure risk is that assuming configuration and infrastructure remain identical can hide unapproved console edits. The present question tests Refresh-only planning and state synchronization, which this measure alone does not establish.

D:

Recognize the default local backend stores Terraform state in local files and requires careful handling for team use. This addresses Default local backend state storage (official objective 6a). The separate hazard is that local state stored only on one laptop is hard for a team to coordinate and can be lost or leaked. It does not by itself satisfy the case-specific requirement for Refresh-only planning and state synchronization.

Question 582

After a reviewed change, the team checks: A provider reports updated external metadata and the team wants to inspect state synchronization only. Which evidence MOST directly proves the selected approach is working?

  1. The plan reports a deliberate manual attribute change and reviewers decide whether to restore code intent or update configuration.
  2. A new local configuration has its state file on disk, and team requirements indicate whether remote storage is needed.
  3. An existing resource remains bound after backend migration and the remote backend contains the intended state snapshot.
  4. A refresh-only plan describes state changes caused by real-world attributes but does not propose changing remote infrastructure.

Explanation

Correct Answer

D:

The observed situation is: A provider reports updated external metadata and the team wants to inspect state synchronization only. The acceptance evidence is: A refresh-only plan describes state changes caused by real-world attributes but does not propose changing remote infrastructure. It verifies the corrective approach (Use terraform plan -refresh-only when the goal is to inspect state updates to match real objects without proposing configuration-driven repairs.) and controls the risk: Confusing refresh-only with a normal corrective plan can leave configuration drift unresolved or record unintended state updates. Checking an unrelated Terraform setting would not prove the stated requirement was met.

Incorrect Answers

A:

The plan reports a deliberate manual attribute change and reviewers decide whether to restore code intent or update configuration. This belongs to Detect and review out-of-band drift (official objective 6d). Its separate risk is that assuming configuration and infrastructure remain identical can hide unapproved console edits. The question instead tests Refresh-only planning and state synchronization; that other safeguard alone does not verify it.

B:

A new local configuration has its state file on disk, and team requirements indicate whether remote storage is needed. This is relevant to Default local backend state storage (official objective 6a). Its distinct failure risk is that local state stored only on one laptop is hard for a team to coordinate and can be lost or leaked. The present question tests Refresh-only planning and state synchronization, which this measure alone does not establish.

C:

An existing resource remains bound after backend migration and the remote backend contains the intended state snapshot. That addresses Remote backend configuration and migration (official objective 6c), specifically the hazard that changing only backend text without init and migration risks disconnected state or unintended resource recreation. Here the necessary action or evidence is A refresh-only plan describes state changes caused by real-world attributes but does not propose changing remote infrastructure, not that separate control.

Question 583

A configuration review reveals: A team sees an out-of-band resource change but is not yet ready to revert it with apply. Which action BEST addresses the specific Terraform Associate (004) requirement?

  1. Use terraform plan -refresh-only when the goal is to inspect state updates to match real objects without proposing configuration-driven repairs.
  2. Recognize the default local backend stores Terraform state in local files and requires careful handling for team use.
  3. Use terraform plan against the actual current infrastructure to identify differences caused by manual or external changes before choosing a corrective action.
  4. Supply backend authentication by approved environment or credential mechanisms and do not combine a cloud block and a backend block in one root configuration.

Explanation

Correct Answer

A:

The case says: A team sees an out-of-band resource change but is not yet ready to revert it with apply. The directly relevant Terraform response is: Use terraform plan -refresh-only when the goal is to inspect state updates to match real objects without proposing configuration-driven repairs. This addresses the related failure mode: Confusing refresh-only with a normal corrective plan can leave configuration drift unresolved or record unintended state updates. Validate the result by checking: A refresh-only plan describes state changes caused by real-world attributes but does not propose changing remote infrastructure. The selection matches this objective, rather than a different Terraform administration task.

Incorrect Answers

B:

Recognize the default local backend stores Terraform state in local files and requires careful handling for team use. This is relevant to Default local backend state storage (official objective 6a). Its distinct failure risk is that local state stored only on one laptop is hard for a team to coordinate and can be lost or leaked. The present question tests Refresh-only planning and state synchronization, which this measure alone does not establish.

C:

Use terraform plan against the actual current infrastructure to identify differences caused by manual or external changes before choosing a corrective action. That addresses Detect and review out-of-band drift (official objective 6d), specifically the hazard that assuming configuration and infrastructure remain identical can hide unapproved console edits. Here the necessary action or evidence is Use terraform plan -refresh-only when the goal is to inspect state updates to match real objects without proposing configuration-driven repairs, not that separate control.

D:

Supply backend authentication by approved environment or credential mechanisms and do not combine a cloud block and a backend block in one root configuration. This addresses Backend credentials and HCP cloud block exclusivity (official objective 6c). The separate hazard is that hardcoded backend access tokens can persist in.terraform metadata and saved plans, and cloud and backend blocks conflict. It does not by itself satisfy the case-specific requirement for Refresh-only planning and state synchronization.

Question 584

A Terraform governance audit identifies: A team sees an out-of-band resource change but is not yet ready to revert it with apply. What risk MOST directly explains why a correction is needed?

  1. Local state stored only on one laptop is hard for a team to coordinate and can be lost or leaked.
  2. Forcibly unlocking an active run can permit concurrent writers and corrupt resource state.
  3. Confusing refresh-only with a normal corrective plan can leave configuration drift unresolved or record unintended state updates.
  4. Assuming configuration and infrastructure remain identical can hide unapproved console edits.

Explanation

Correct Answer

C:

The reported issue (A team sees an out-of-band resource change but is not yet ready to revert it with apply) exposes the risk: Confusing refresh-only with a normal corrective plan can leave configuration drift unresolved or record unintended state updates. The corrective action is: Use terraform plan -refresh-only when the goal is to inspect state updates to match real objects without proposing configuration-driven repairs. Confirm with: A refresh-only plan describes state changes caused by real-world attributes but does not propose changing remote infrastructure. The risk is specific to this configuration or operation, not an unrelated Terraform feature.

Incorrect Answers

A:

Local state stored only on one laptop is hard for a team to coordinate and can be lost or leaked. This belongs to Default local backend state storage (official objective 6a). Its separate risk is that local state stored only on one laptop is hard for a team to coordinate and can be lost or leaked. The question instead tests Refresh-only planning and state synchronization; that other safeguard alone does not verify it.

B:

Forcibly unlocking an active run can permit concurrent writers and corrupt resource state. This is relevant to Force-unlock safety (official objective 6b). Its distinct failure risk is that forcibly unlocking an active run can permit concurrent writers and corrupt resource state. The present question tests Refresh-only planning and state synchronization, which this measure alone does not establish.

D:

Assuming configuration and infrastructure remain identical can hide unapproved console edits. This addresses Detect and review out-of-band drift (official objective 6d). The separate hazard is that assuming configuration and infrastructure remain identical can hide unapproved console edits. It does not by itself satisfy the case-specific requirement for Refresh-only planning and state synchronization.

Question 585

During a controlled infrastructure change, a team observes: An engineer assumes terraform plan -refresh-only will create a resource missing in the cloud. Which action BEST addresses the specific Terraform Associate (004) requirement?

  1. Supply backend authentication by approved environment or credential mechanisms and do not combine a cloud block and a backend block in one root configuration.
  2. Use terraform plan against the actual current infrastructure to identify differences caused by manual or external changes before choosing a corrective action.
  3. Use terraform plan -refresh-only when the goal is to inspect state updates to match real objects without proposing configuration-driven repairs.
  4. Define the supported remote backend within a terraform block, reinitialize, and migrate or reconfigure state deliberately with a backup.

Explanation

Correct Answer

C:

The case says: An engineer assumes terraform plan -refresh-only will create a resource missing in the cloud. The directly relevant Terraform response is: Use terraform plan -refresh-only when the goal is to inspect state updates to match real objects without proposing configuration-driven repairs. This addresses the related failure mode: Confusing refresh-only with a normal corrective plan can leave configuration drift unresolved or record unintended state updates. Validate the result by checking: A refresh-only plan describes state changes caused by real-world attributes but does not propose changing remote infrastructure. The selection matches this objective, rather than a different Terraform administration task.

Incorrect Answers

A:

Supply backend authentication by approved environment or credential mechanisms and do not combine a cloud block and a backend block in one root configuration. This belongs to Backend credentials and HCP cloud block exclusivity (official objective 6c). Its separate risk is that hardcoded backend access tokens can persist in.terraform metadata and saved plans, and cloud and backend blocks conflict. The question instead tests Refresh-only planning and state synchronization; that other safeguard alone does not verify it.

B:

Use terraform plan against the actual current infrastructure to identify differences caused by manual or external changes before choosing a corrective action. This is relevant to Detect and review out-of-band drift (official objective 6d). Its distinct failure risk is that assuming configuration and infrastructure remain identical can hide unapproved console edits. The present question tests Refresh-only planning and state synchronization, which this measure alone does not establish.

D:

Define the supported remote backend within a terraform block, reinitialize, and migrate or reconfigure state deliberately with a backup. This addresses Remote backend configuration and migration (official objective 6c). The separate hazard is that changing only backend text without init and migration risks disconnected state or unintended resource recreation. It does not by itself satisfy the case-specific requirement for Refresh-only planning and state synchronization.

Question 586

An operator wants proof regarding: An engineer assumes terraform plan -refresh-only will create a resource missing in the cloud. Which evidence MOST directly proves the selected approach is working?

  1. An existing resource remains bound after backend migration and the remote backend contains the intended state snapshot.
  2. A refresh-only plan describes state changes caused by real-world attributes but does not propose changing remote infrastructure.
  3. A new local configuration has its state file on disk, and team requirements indicate whether remote storage is needed.
  4. The plan reports a deliberate manual attribute change and reviewers decide whether to restore code intent or update configuration.

Explanation

Correct Answer

B:

The observed situation is: An engineer assumes terraform plan -refresh-only will create a resource missing in the cloud. The acceptance evidence is: A refresh-only plan describes state changes caused by real-world attributes but does not propose changing remote infrastructure. It verifies the corrective approach (Use terraform plan -refresh-only when the goal is to inspect state updates to match real objects without proposing configuration-driven repairs.) and controls the risk: Confusing refresh-only with a normal corrective plan can leave configuration drift unresolved or record unintended state updates. Checking an unrelated Terraform setting would not prove the stated requirement was met.

Incorrect Answers

A:

An existing resource remains bound after backend migration and the remote backend contains the intended state snapshot. This belongs to Remote backend configuration and migration (official objective 6c). Its separate risk is that changing only backend text without init and migration risks disconnected state or unintended resource recreation. The question instead tests Refresh-only planning and state synchronization; that other safeguard alone does not verify it.

C:

A new local configuration has its state file on disk, and team requirements indicate whether remote storage is needed. That addresses Default local backend state storage (official objective 6a), specifically the hazard that local state stored only on one laptop is hard for a team to coordinate and can be lost or leaked. Here the necessary action or evidence is A refresh-only plan describes state changes caused by real-world attributes but does not propose changing remote infrastructure, not that separate control.

D:

The plan reports a deliberate manual attribute change and reviewers decide whether to restore code intent or update configuration. This addresses Detect and review out-of-band drift (official objective 6d). The separate hazard is that assuming configuration and infrastructure remain identical can hide unapproved console edits. It does not by itself satisfy the case-specific requirement for Refresh-only planning and state synchronization.

Question 587

An infrastructure deployment design calls for: A runbook needs to distinguish state reconciliation from enforcing HCL desired state. Which action BEST addresses the specific Terraform Associate (004) requirement?

  1. Use terraform plan -refresh-only when the goal is to inspect state updates to match real objects without proposing configuration-driven repairs.
  2. Use terraform plan against the actual current infrastructure to identify differences caused by manual or external changes before choosing a corrective action.
  3. Use a backend that supports locking and let Terraform acquire its automatic lock during state-changing operations.
  4. Supply backend authentication by approved environment or credential mechanisms and do not combine a cloud block and a backend block in one root configuration.

Explanation

Correct Answer

A:

The case says: A runbook needs to distinguish state reconciliation from enforcing HCL desired state. The directly relevant Terraform response is: Use terraform plan -refresh-only when the goal is to inspect state updates to match real objects without proposing configuration-driven repairs. This addresses the related failure mode: Confusing refresh-only with a normal corrective plan can leave configuration drift unresolved or record unintended state updates. Validate the result by checking: A refresh-only plan describes state changes caused by real-world attributes but does not propose changing remote infrastructure. The selection matches this objective, rather than a different Terraform administration task.

Incorrect Answers

B:

Use terraform plan against the actual current infrastructure to identify differences caused by manual or external changes before choosing a corrective action. This is relevant to Detect and review out-of-band drift (official objective 6d). Its distinct failure risk is that assuming configuration and infrastructure remain identical can hide unapproved console edits. The present question tests Refresh-only planning and state synchronization, which this measure alone does not establish.

C:

Use a backend that supports locking and let Terraform acquire its automatic lock during state-changing operations. That addresses Automatic state locking for conflicting writers (official objective 6b), specifically the hazard that two simultaneous applies against one unlocked state can overwrite each other's resource bindings or corrupt management. Here the necessary action or evidence is Use terraform plan -refresh-only when the goal is to inspect state updates to match real objects without proposing configuration-driven repairs, not that separate control.

D:

Supply backend authentication by approved environment or credential mechanisms and do not combine a cloud block and a backend block in one root configuration. This addresses Backend credentials and HCP cloud block exclusivity (official objective 6c). The separate hazard is that hardcoded backend access tokens can persist in.terraform metadata and saved plans, and cloud and backend blocks conflict. It does not by itself satisfy the case-specific requirement for Refresh-only planning and state synchronization.

Question 588

A production-readiness review highlights: A runbook needs to distinguish state reconciliation from enforcing HCL desired state. What risk MOST directly explains why a correction is needed?

  1. Two simultaneous applies against one unlocked state can overwrite each other's resource bindings or corrupt management.
  2. Changing only backend text without init and migration risks disconnected state or unintended resource recreation.
  3. Assuming configuration and infrastructure remain identical can hide unapproved console edits.
  4. Confusing refresh-only with a normal corrective plan can leave configuration drift unresolved or record unintended state updates.

Explanation

Correct Answer

D:

The reported issue (A runbook needs to distinguish state reconciliation from enforcing HCL desired state) exposes the risk: Confusing refresh-only with a normal corrective plan can leave configuration drift unresolved or record unintended state updates. The corrective action is: Use terraform plan -refresh-only when the goal is to inspect state updates to match real objects without proposing configuration-driven repairs. Confirm with: A refresh-only plan describes state changes caused by real-world attributes but does not propose changing remote infrastructure. The risk is specific to this configuration or operation, not an unrelated Terraform feature.

Incorrect Answers

A:

Two simultaneous applies against one unlocked state can overwrite each other's resource bindings or corrupt management. This belongs to Automatic state locking for conflicting writers (official objective 6b). Its separate risk is that two simultaneous applies against one unlocked state can overwrite each other's resource bindings or corrupt management. The question instead tests Refresh-only planning and state synchronization; that other safeguard alone does not verify it.

B:

Changing only backend text without init and migration risks disconnected state or unintended resource recreation. This is relevant to Remote backend configuration and migration (official objective 6c). Its distinct failure risk is that changing only backend text without init and migration risks disconnected state or unintended resource recreation. The present question tests Refresh-only planning and state synchronization, which this measure alone does not establish.

C:

Assuming configuration and infrastructure remain identical can hide unapproved console edits. That is the exact risk associated with Detect and review out-of-band drift (official objective 6d), not the required Refresh-only planning and state synchronization outcome.

Question 589

An operations team needs to resolve: A reviewer wants a read-oriented drift inventory before deciding whether to accept or fix changes. Which action BEST addresses the specific Terraform Associate (004) requirement?

  1. Use terraform plan -refresh-only when the goal is to inspect state updates to match real objects without proposing configuration-driven repairs.
  2. Supply backend authentication by approved environment or credential mechanisms and do not combine a cloud block and a backend block in one root configuration.
  3. Use terraform plan against the actual current infrastructure to identify differences caused by manual or external changes before choosing a corrective action.
  4. Define the supported remote backend within a terraform block, reinitialize, and migrate or reconfigure state deliberately with a backup.

Explanation

Correct Answer

A:

The case says: A reviewer wants a read-oriented drift inventory before deciding whether to accept or fix changes. The directly relevant Terraform response is: Use terraform plan -refresh-only when the goal is to inspect state updates to match real objects without proposing configuration-driven repairs. This addresses the related failure mode: Confusing refresh-only with a normal corrective plan can leave configuration drift unresolved or record unintended state updates. Validate the result by checking: A refresh-only plan describes state changes caused by real-world attributes but does not propose changing remote infrastructure. The selection matches this objective, rather than a different Terraform administration task.

Incorrect Answers

B:

Supply backend authentication by approved environment or credential mechanisms and do not combine a cloud block and a backend block in one root configuration. This is relevant to Backend credentials and HCP cloud block exclusivity (official objective 6c). Its distinct failure risk is that hardcoded backend access tokens can persist in.terraform metadata and saved plans, and cloud and backend blocks conflict. The present question tests Refresh-only planning and state synchronization, which this measure alone does not establish.

C:

Use terraform plan against the actual current infrastructure to identify differences caused by manual or external changes before choosing a corrective action. That addresses Detect and review out-of-band drift (official objective 6d), specifically the hazard that assuming configuration and infrastructure remain identical can hide unapproved console edits. Here the necessary action or evidence is Use terraform plan -refresh-only when the goal is to inspect state updates to match real objects without proposing configuration-driven repairs, not that separate control.

D:

Define the supported remote backend within a terraform block, reinitialize, and migrate or reconfigure state deliberately with a backup. This addresses Remote backend configuration and migration (official objective 6c). The separate hazard is that changing only backend text without init and migration risks disconnected state or unintended resource recreation. It does not by itself satisfy the case-specific requirement for Refresh-only planning and state synchronization.

Question 590

A Terraform associate evaluates: A reviewer wants a read-oriented drift inventory before deciding whether to accept or fix changes. Select TWO complementary responses: the appropriate action AND direct evidence it worked.

  1. A refresh-only plan describes state changes caused by real-world attributes but does not propose changing remote infrastructure.
  2. A second state-changing run waits or fails on the lock instead of proceeding concurrently.
  3. Use terraform plan -refresh-only when the goal is to inspect state updates to match real objects without proposing configuration-driven repairs.
  4. Changing only backend text without init and migration risks disconnected state or unintended resource recreation.
  5. Use terraform plan against the actual current infrastructure to identify differences caused by manual or external changes before choosing a corrective action.

Explanation

Correct Answers

A:

The observed situation is: A reviewer wants a read-oriented drift inventory before deciding whether to accept or fix changes. The acceptance evidence is: A refresh-only plan describes state changes caused by real-world attributes but does not propose changing remote infrastructure. It verifies the corrective approach (Use terraform plan -refresh-only when the goal is to inspect state updates to match real objects without proposing configuration-driven repairs.) and controls the risk: Confusing refresh-only with a normal corrective plan can leave configuration drift unresolved or record unintended state updates. Checking an unrelated Terraform setting would not prove the stated requirement was met.

C:

The case says: A reviewer wants a read-oriented drift inventory before deciding whether to accept or fix changes. The directly relevant Terraform response is: Use terraform plan -refresh-only when the goal is to inspect state updates to match real objects without proposing configuration-driven repairs. This addresses the related failure mode: Confusing refresh-only with a normal corrective plan can leave configuration drift unresolved or record unintended state updates. Validate the result by checking: A refresh-only plan describes state changes caused by real-world attributes but does not propose changing remote infrastructure. The selection matches this objective, rather than a different Terraform administration task.

Incorrect Answers

B:

A second state-changing run waits or fails on the lock instead of proceeding concurrently. This is relevant to Automatic state locking for conflicting writers (official objective 6b). Its distinct failure risk is that two simultaneous applies against one unlocked state can overwrite each other's resource bindings or corrupt management. The present question tests Refresh-only planning and state synchronization, which this measure alone does not establish.

D:

Changing only backend text without init and migration risks disconnected state or unintended resource recreation. This addresses Remote backend configuration and migration (official objective 6c). The separate hazard is that changing only backend text without init and migration risks disconnected state or unintended resource recreation. It does not by itself satisfy the case-specific requirement for Refresh-only planning and state synchronization.

E:

Use terraform plan against the actual current infrastructure to identify differences caused by manual or external changes before choosing a corrective action. This does not provide the required Refresh-only planning and state synchronization action-and-evidence pair.