HashiCorp Terraform Associate Practice Test 75
Question 740
A root config uses a local backend by default and the team expects changing the CLI workspace name to automatically create a new organization-level permission boundary. The team has implemented an approved Terraform change. Which observed result most directly confirms that the original requirement is now met, beyond a successful command exit code?
- The correct state scope is selected without duplicating production objects.
- Only a genuinely stale lock is released under an auditable incident procedure.
- State remains structurally valid and accurately represents intended objects.
- Independent environments have intentional state and access controls.
Explanation
Correct Answer
D:This is the appropriate measurable post-change acceptance criterion: Independent environments have intentional state and access controls. A successful Terraform command or a completed change request alone would not demonstrate that outcome. Preserve this control during validation: Separate high-risk production identities and review workspace selection.
Incorrect Answers
A:“The correct state scope is selected without duplicating production objects” would address a different Terraform configuration concern; the source instead describes A root config uses a local backend by default and the team expects changing the CLI workspace name to automatically create a new organization-level permission boundary. The appropriate design is to use separate backends or managed workspace permissions as appropriate instead of treating CLI workspace names as security isolation. Confirm whether independent environments have intentional state and access controls.
B:“Only a genuinely stale lock is released under an auditable incident procedure” would address a different Terraform configuration concern; the source instead describes A root config uses a local backend by default and the team expects changing the CLI workspace name to automatically create a new organization-level permission boundary. The appropriate design is to use separate backends or managed workspace permissions as appropriate instead of treating CLI workspace names as security isolation. Confirm whether independent environments have intentional state and access controls.
C:“State remains structurally valid and accurately represents intended objects” would address a different Terraform configuration concern; the source instead describes A root config uses a local backend by default and the team expects changing the CLI workspace name to automatically create a new organization-level permission boundary. The appropriate design is to use separate backends or managed workspace permissions as appropriate instead of treating CLI workspace names as security isolation. Confirm whether independent environments have intentional state and access controls.
Question 741
A network team does a terraform plan after changing providers and finds managed resource objects apparently missing because the state snapshot belongs to a different environment. The infrastructure review requires a supported, least-disruptive Terraform solution. Which proposed change most directly addresses this specific situation?
- Retain state locking and queue the changes rather than disabling locking to make both apply at once.
- Verify the state backend identity, workspace and provider account selection before any plan or import attempt.
- Use state list as the inventory of resources tracked by this state only, and use provider inventory for unmanaged assets.
- Migrate production state to an approved shared remote backend with access controls and locking.
Explanation
Correct Answer
B:The proposed intervention addresses the reported Terraform engineering failure: A network team does a terraform plan after changing providers and finds managed resource objects apparently missing because the state snapshot belongs to a different environment. It applies the design choice Verify the state backend identity, workspace and provider account selection before any plan or import attempt. Review the primary diagnostic: Inspect Terraform workspace name and backend key. The expected outcome is: The plan reads the intended state and targets the correct environment. The rollout safeguard is: Require environment-specific review and abort on identity mismatch.
Incorrect Answers
A:“Retain state locking and queue the changes rather than disabling locking to make both apply at once” would address a different Terraform configuration concern; the source instead describes A network team does a terraform plan after changing providers and finds managed resource objects apparently missing because the state snapshot belongs to a different environment. The appropriate design is to verify the state backend identity, workspace and provider account selection before any plan or import attempt. Confirm whether the plan reads the intended state and targets the correct environment.
C:“Use state list as the inventory of resources tracked by this state only, and use provider inventory for unmanaged assets” would address a different Terraform configuration concern; the source instead describes A network team does a terraform plan after changing providers and finds managed resource objects apparently missing because the state snapshot belongs to a different environment. The appropriate design is to verify the state backend identity, workspace and provider account selection before any plan or import attempt. Confirm whether the plan reads the intended state and targets the correct environment.
D:“Migrate production state to an approved shared remote backend with access controls and locking” would address a different Terraform configuration concern; the source instead describes A network team does a terraform plan after changing providers and finds managed resource objects apparently missing because the state snapshot belongs to a different environment. The appropriate design is to verify the state backend identity, workspace and provider account selection before any plan or import attempt. Confirm whether the plan reads the intended state and targets the correct environment.
Question 742
A network team does a terraform plan after changing providers and finds managed resource objects apparently missing because the state snapshot belongs to a different environment. Before choosing a remedy, the team needs independent evidence of the actual root cause. Which TWO checks most directly test this case? (Select TWO.)
- Inspect example state values that include computed provider fields.
- Inspect backend block contents and initialization errors.
- Inspect Terraform workspace name and backend key.
- Compare state resource IDs and target provider account IDs with inventory.
- Inspect actual provider resource ID and desired Terraform address.
Explanation
Correct Answers
C:This is directly relevant evidence for the reported behavior: Inspect Terraform workspace name and backend key. Pair it with a separate check from the same case rather than assuming one finding proves the cause. The evidence supports or refutes the change proposal: Verify the state backend identity, workspace and provider account selection before any plan or import attempt. The expected confirmation is The plan reads the intended state and targets the correct environment.
D:This is directly relevant evidence for the reported behavior: Compare state resource IDs and target provider account IDs with inventory. Pair it with a separate check from the same case rather than assuming one finding proves the cause. The evidence supports or refutes the change proposal: Verify the state backend identity, workspace and provider account selection before any plan or import attempt. The expected confirmation is The plan reads the intended state and targets the correct environment.
Incorrect Answers
A:“Inspect example state values that include computed provider fields” would address a different Terraform configuration concern; the source instead describes A network team does a terraform plan after changing providers and finds managed resource objects apparently missing because the state snapshot belongs to a different environment. The appropriate design is to verify the state backend identity, workspace and provider account selection before any plan or import attempt. Confirm whether the plan reads the intended state and targets the correct environment.
B:“Inspect backend block contents and initialization errors” would address a different Terraform configuration concern; the source instead describes A network team does a terraform plan after changing providers and finds managed resource objects apparently missing because the state snapshot belongs to a different environment. The appropriate design is to verify the state backend identity, workspace and provider account selection before any plan or import attempt. Confirm whether the plan reads the intended state and targets the correct environment.
E:“Inspect actual provider resource ID and desired Terraform address” would address a different Terraform configuration concern; the source instead describes A network team does a terraform plan after changing providers and finds managed resource objects apparently missing because the state snapshot belongs to a different environment. The appropriate design is to verify the state backend identity, workspace and provider account selection before any plan or import attempt. Confirm whether the plan reads the intended state and targets the correct environment.
Question 743
A network team does a terraform plan after changing providers and finds managed resource objects apparently missing because the state snapshot belongs to a different environment. If this behavior continues without correction, which specific risk is most closely supported by the facts, without assuming harm has already occurred?
- Cross-environment state mix-ups can create or delete production infrastructure.
- Starting with empty state can cause duplicate resource create plans.
- Unmapped address renames can cause unnecessary downtime.
- Transport encryption alone does not secure stored snapshots.
Explanation
Correct Answer
A:The reported condition creates the specific potential exposure: Cross-environment state mix-ups can create or delete production infrastructure. A risk is not evidence that every adverse outcome already occurred. Two independent checks can corroborate the assessment. First diagnostic: Inspect Terraform workspace name and backend key. Second diagnostic: Compare state resource IDs and target provider account IDs with inventory.
Incorrect Answers
B:“Starting with empty state can cause duplicate resource create plans” would address a different Terraform configuration concern; the source instead describes A network team does a terraform plan after changing providers and finds managed resource objects apparently missing because the state snapshot belongs to a different environment. The appropriate design is to verify the state backend identity, workspace and provider account selection before any plan or import attempt. Confirm whether the plan reads the intended state and targets the correct environment.
C:“Unmapped address renames can cause unnecessary downtime” would address a different Terraform configuration concern; the source instead describes A network team does a terraform plan after changing providers and finds managed resource objects apparently missing because the state snapshot belongs to a different environment. The appropriate design is to verify the state backend identity, workspace and provider account selection before any plan or import attempt. Confirm whether the plan reads the intended state and targets the correct environment.
D:“Transport encryption alone does not secure stored snapshots” would address a different Terraform configuration concern; the source instead describes A network team does a terraform plan after changing providers and finds managed resource objects apparently missing because the state snapshot belongs to a different environment. The appropriate design is to verify the state backend identity, workspace and provider account selection before any plan or import attempt. Confirm whether the plan reads the intended state and targets the correct environment.
Question 744
A network team does a terraform plan after changing providers and finds managed resource objects apparently missing because the state snapshot belongs to a different environment. A reviewer asks for BOTH a targeted technical response and a corresponding change-control safeguard. Which TWO actions together meet that requirement? (Select TWO.)
- Require environment-specific review and abort on identity mismatch.
- Coordinate an explicit state ownership transfer with a write freeze and verify exactly one authoritative binding.
- Verify the state backend identity, workspace and provider account selection before any plan or import attempt.
- Separate high-risk production identities and review workspace selection.
- Maintain cloud asset inventory separately from state.
Explanation
Correct Answers
A:This is one of the two necessary decisions for a safe design: Require environment-specific review and abort on identity mismatch. Together the corrective action and its implementation safeguard need to address the recorded condition: A network team does a terraform plan after changing providers and finds managed resource objects apparently missing because the state snapshot belongs to a different environment. Acceptance requires The plan reads the intended state and targets the correct environment.
C:This is one of the two necessary decisions for a safe design: Verify the state backend identity, workspace and provider account selection before any plan or import attempt. Together the corrective action and its implementation safeguard need to address the recorded condition: A network team does a terraform plan after changing providers and finds managed resource objects apparently missing because the state snapshot belongs to a different environment. Acceptance requires The plan reads the intended state and targets the correct environment.
Incorrect Answers
B:“Coordinate an explicit state ownership transfer with a write freeze and verify exactly one authoritative binding” would address a different Terraform configuration concern; the source instead describes A network team does a terraform plan after changing providers and finds managed resource objects apparently missing because the state snapshot belongs to a different environment. The appropriate design is to verify the state backend identity, workspace and provider account selection before any plan or import attempt. Confirm whether the plan reads the intended state and targets the correct environment.
D:“Separate high-risk production identities and review workspace selection” would address a different Terraform configuration concern; the source instead describes A network team does a terraform plan after changing providers and finds managed resource objects apparently missing because the state snapshot belongs to a different environment. The appropriate design is to verify the state backend identity, workspace and provider account selection before any plan or import attempt. Confirm whether the plan reads the intended state and targets the correct environment.
E:“Maintain cloud asset inventory separately from state” would address a different Terraform configuration concern; the source instead describes A network team does a terraform plan after changing providers and finds managed resource objects apparently missing because the state snapshot belongs to a different environment. The appropriate design is to verify the state backend identity, workspace and provider account selection before any plan or import attempt. Confirm whether the plan reads the intended state and targets the correct environment.
Question 745
A network team does a terraform plan after changing providers and finds managed resource objects apparently missing because the state snapshot belongs to a different environment. The team has implemented an approved Terraform change. Which observed result most directly confirms that the original requirement is now met, beyond a successful command exit code?
- Authorized engineers operate against one authoritative production state.
- Terraform recognizes the same managed server at the new address without recreation.
- The plan reads the intended state and targets the correct environment.
- The runner reads the intended production state instead of stale staging metadata.
Explanation
Correct Answer
C:This is the appropriate measurable post-change acceptance criterion: The plan reads the intended state and targets the correct environment. A successful Terraform command or a completed change request alone would not demonstrate that outcome. Preserve this control during validation: Require environment-specific review and abort on identity mismatch.
Incorrect Answers
A:“Authorized engineers operate against one authoritative production state” would address a different Terraform configuration concern; the source instead describes A network team does a terraform plan after changing providers and finds managed resource objects apparently missing because the state snapshot belongs to a different environment. The appropriate design is to verify the state backend identity, workspace and provider account selection before any plan or import attempt. Confirm whether the plan reads the intended state and targets the correct environment.
B:“Terraform recognizes the same managed server at the new address without recreation” would address a different Terraform configuration concern; the source instead describes A network team does a terraform plan after changing providers and finds managed resource objects apparently missing because the state snapshot belongs to a different environment. The appropriate design is to verify the state backend identity, workspace and provider account selection before any plan or import attempt. Confirm whether the plan reads the intended state and targets the correct environment.
D:“The runner reads the intended production state instead of stale staging metadata” would address a different Terraform configuration concern; the source instead describes A network team does a terraform plan after changing providers and finds managed resource objects apparently missing because the state snapshot belongs to a different environment. The appropriate design is to verify the state backend identity, workspace and provider account selection before any plan or import attempt. Confirm whether the plan reads the intended state and targets the correct environment.
Question 746
A developer believes a state file contains only resource names, so a read-only audit account is given unrestricted access to the production backend. The infrastructure review requires a supported, least-disruptive Terraform solution. Which proposed change most directly addresses this specific situation?
- Store state in a controlled backend with restricted access and encryption rather than a public file share.
- Scope state-read access tightly and treat the snapshot as sensitive, including generated identifiers and provider attributes.
- Use an appropriate refresh-only plan/apply after reviewing what state values would be updated.
- Verify that no active operation owns the lock before using the supported force-unlock workflow.
Explanation
Correct Answer
B:The proposed intervention addresses the reported Terraform engineering failure: A developer believes a state file contains only resource names, so a read-only audit account is given unrestricted access to the production backend. It applies the design choice Scope state-read access tightly and treat the snapshot as sensitive, including generated identifiers and provider attributes. Review the primary diagnostic: Inspect example state values that include computed provider fields. The expected outcome is: Auditors receive only approved evidence without broad raw state disclosure. The rollout safeguard is: Provide sanitized reports rather than unrestricted state snapshots.
Incorrect Answers
A:“Store state in a controlled backend with restricted access and encryption rather than a public file share” would address a different Terraform configuration concern; the source instead describes A developer believes a state file contains only resource names, so a read-only audit account is given unrestricted access to the production backend. The appropriate design is to scope state-read access tightly and treat the snapshot as sensitive, including generated identifiers and provider attributes. Confirm whether auditors receive only approved evidence without broad raw state disclosure.
C:“Use an appropriate refresh-only plan/apply after reviewing what state values would be updated” would address a different Terraform configuration concern; the source instead describes A developer believes a state file contains only resource names, so a read-only audit account is given unrestricted access to the production backend. The appropriate design is to scope state-read access tightly and treat the snapshot as sensitive, including generated identifiers and provider attributes. Confirm whether auditors receive only approved evidence without broad raw state disclosure.
D:“Verify that no active operation owns the lock before using the supported force-unlock workflow” would address a different Terraform configuration concern; the source instead describes A developer believes a state file contains only resource names, so a read-only audit account is given unrestricted access to the production backend. The appropriate design is to scope state-read access tightly and treat the snapshot as sensitive, including generated identifiers and provider attributes. Confirm whether auditors receive only approved evidence without broad raw state disclosure.
Question 747
A developer believes a state file contains only resource names, so a read-only audit account is given unrestricted access to the production backend. Before choosing a remedy, the team needs independent evidence of the actual root cause. Which TWO checks most directly test this case? (Select TWO.)
- Review audit role permissions and access logs on the backend.
- Inspect the provider-observed attribute and recorded state value.
- Inspect example state values that include computed provider fields.
- Inspect the last reviewed subnet CIDR and changed provider observation.
- Inspect the backend's object versioning and retention configuration.
Explanation
Correct Answers
A:This is directly relevant evidence for the reported behavior: Review audit role permissions and access logs on the backend. Pair it with a separate check from the same case rather than assuming one finding proves the cause. The evidence supports or refutes the change proposal: Scope state-read access tightly and treat the snapshot as sensitive, including generated identifiers and provider attributes. The expected confirmation is Auditors receive only approved evidence without broad raw state disclosure.
C:This is directly relevant evidence for the reported behavior: Inspect example state values that include computed provider fields. Pair it with a separate check from the same case rather than assuming one finding proves the cause. The evidence supports or refutes the change proposal: Scope state-read access tightly and treat the snapshot as sensitive, including generated identifiers and provider attributes. The expected confirmation is Auditors receive only approved evidence without broad raw state disclosure.
Incorrect Answers
B:“Inspect the provider-observed attribute and recorded state value” would address a different Terraform configuration concern; the source instead describes A developer believes a state file contains only resource names, so a read-only audit account is given unrestricted access to the production backend. The appropriate design is to scope state-read access tightly and treat the snapshot as sensitive, including generated identifiers and provider attributes. Confirm whether auditors receive only approved evidence without broad raw state disclosure.
D:“Inspect the last reviewed subnet CIDR and changed provider observation” would address a different Terraform configuration concern; the source instead describes A developer believes a state file contains only resource names, so a read-only audit account is given unrestricted access to the production backend. The appropriate design is to scope state-read access tightly and treat the snapshot as sensitive, including generated identifiers and provider attributes. Confirm whether auditors receive only approved evidence without broad raw state disclosure.
E:“Inspect the backend's object versioning and retention configuration” would address a different Terraform configuration concern; the source instead describes A developer believes a state file contains only resource names, so a read-only audit account is given unrestricted access to the production backend. The appropriate design is to scope state-read access tightly and treat the snapshot as sensitive, including generated identifiers and provider attributes. Confirm whether auditors receive only approved evidence without broad raw state disclosure.
Question 748
A developer believes a state file contains only resource names, so a read-only audit account is given unrestricted access to the production backend. If this behavior continues without correction, which specific risk is most closely supported by the facts, without assuming harm has already occurred?
- Refreshing state alone does not change the declared desired configuration.
- CLI workspaces alone may share credentials and insufficient isolation.
- Backend configuration is evaluated before the normal variable expression context.
- State can contain sensitive attributes even if configuration does not.
Explanation
Correct Answer
D:The reported condition creates the specific potential exposure: State can contain sensitive attributes even if configuration does not. A risk is not evidence that every adverse outcome already occurred. Two independent checks can corroborate the assessment. First diagnostic: Inspect example state values that include computed provider fields. Second diagnostic: Review audit role permissions and access logs on the backend.
Incorrect Answers
A:“Refreshing state alone does not change the declared desired configuration” would address a different Terraform configuration concern; the source instead describes A developer believes a state file contains only resource names, so a read-only audit account is given unrestricted access to the production backend. The appropriate design is to scope state-read access tightly and treat the snapshot as sensitive, including generated identifiers and provider attributes. Confirm whether auditors receive only approved evidence without broad raw state disclosure.
B:“CLI workspaces alone may share credentials and insufficient isolation” would address a different Terraform configuration concern; the source instead describes A developer believes a state file contains only resource names, so a read-only audit account is given unrestricted access to the production backend. The appropriate design is to scope state-read access tightly and treat the snapshot as sensitive, including generated identifiers and provider attributes. Confirm whether auditors receive only approved evidence without broad raw state disclosure.
C:“Backend configuration is evaluated before the normal variable expression context” would address a different Terraform configuration concern; the source instead describes A developer believes a state file contains only resource names, so a read-only audit account is given unrestricted access to the production backend. The appropriate design is to scope state-read access tightly and treat the snapshot as sensitive, including generated identifiers and provider attributes. Confirm whether auditors receive only approved evidence without broad raw state disclosure.
Question 749
A developer believes a state file contains only resource names, so a read-only audit account is given unrestricted access to the production backend. A reviewer asks for BOTH a targeted technical response and a corresponding change-control safeguard. Which TWO actions together meet that requirement? (Select TWO.)
- Provide sanitized reports rather than unrestricted state snapshots.
- Investigate abandoned locks only after confirming no active apply.
- Require environment-specific review and abort on identity mismatch.
- Scope state-read access tightly and treat the snapshot as sensitive, including generated identifiers and provider attributes.
- Use backend initialization configuration or explicit approved backend settings instead of ordinary input-variable expressions in backend blocks.
Explanation
Correct Answers
A:This is one of the two necessary decisions for a safe design: Provide sanitized reports rather than unrestricted state snapshots. Together the corrective action and its implementation safeguard need to address the recorded condition: A developer believes a state file contains only resource names, so a read-only audit account is given unrestricted access to the production backend. Acceptance requires Auditors receive only approved evidence without broad raw state disclosure.
D:This is one of the two necessary decisions for a safe design: Scope state-read access tightly and treat the snapshot as sensitive, including generated identifiers and provider attributes. Together the corrective action and its implementation safeguard need to address the recorded condition: A developer believes a state file contains only resource names, so a read-only audit account is given unrestricted access to the production backend. Acceptance requires Auditors receive only approved evidence without broad raw state disclosure.
Incorrect Answers
B:“Investigate abandoned locks only after confirming no active apply” would address a different Terraform configuration concern; the source instead describes A developer believes a state file contains only resource names, so a read-only audit account is given unrestricted access to the production backend. The appropriate design is to scope state-read access tightly and treat the snapshot as sensitive, including generated identifiers and provider attributes. Confirm whether auditors receive only approved evidence without broad raw state disclosure.
C:“Require environment-specific review and abort on identity mismatch” would address a different Terraform configuration concern; the source instead describes A developer believes a state file contains only resource names, so a read-only audit account is given unrestricted access to the production backend. The appropriate design is to scope state-read access tightly and treat the snapshot as sensitive, including generated identifiers and provider attributes. Confirm whether auditors receive only approved evidence without broad raw state disclosure.
E:“Use backend initialization configuration or explicit approved backend settings instead of ordinary input-variable expressions in backend blocks” would address a different Terraform configuration concern; the source instead describes A developer believes a state file contains only resource names, so a read-only audit account is given unrestricted access to the production backend. The appropriate design is to scope state-read access tightly and treat the snapshot as sensitive, including generated identifiers and provider attributes. Confirm whether auditors receive only approved evidence without broad raw state disclosure.
Question 750
A developer believes a state file contains only resource names, so a read-only audit account is given unrestricted access to the production backend. The team has implemented an approved Terraform change. Which observed result most directly confirms that the original requirement is now met, beyond a successful command exit code?
- Auditors receive only approved evidence without broad raw state disclosure.
- The remote backend retains the original managed resource bindings.
- The team distinguishes state ownership from all possible cloud resources.
- Stored resource details are inspected without applying changes.
Explanation
Correct Answer
A:This is the appropriate measurable post-change acceptance criterion: Auditors receive only approved evidence without broad raw state disclosure. A successful Terraform command or a completed change request alone would not demonstrate that outcome. Preserve this control during validation: Provide sanitized reports rather than unrestricted state snapshots.
Incorrect Answers
B:“The remote backend retains the original managed resource bindings” would address a different Terraform configuration concern; the source instead describes A developer believes a state file contains only resource names, so a read-only audit account is given unrestricted access to the production backend. The appropriate design is to scope state-read access tightly and treat the snapshot as sensitive, including generated identifiers and provider attributes. Confirm whether auditors receive only approved evidence without broad raw state disclosure.
C:“The team distinguishes state ownership from all possible cloud resources” would address a different Terraform configuration concern; the source instead describes A developer believes a state file contains only resource names, so a read-only audit account is given unrestricted access to the production backend. The appropriate design is to scope state-read access tightly and treat the snapshot as sensitive, including generated identifiers and provider attributes. Confirm whether auditors receive only approved evidence without broad raw state disclosure.
D:“Stored resource details are inspected without applying changes” would address a different Terraform configuration concern; the source instead describes A developer believes a state file contains only resource names, so a read-only audit account is given unrestricted access to the production backend. The appropriate design is to scope state-read access tightly and treat the snapshot as sensitive, including generated identifiers and provider attributes. Confirm whether auditors receive only approved evidence without broad raw state disclosure.