HashiCorp Terraform Associate Practice Test 3
Question 20
A media company copies a golden machine image across teams but each team still configures load balancers differently by hand. 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?
- Environments converge on reviewed network rules with an auditable change trail.
- Service records follow approved infrastructure updates without manual copy and paste.
- Teams deploy consistent ingress resources without conflating image contents with infrastructure.
- Each infrastructure object has one declared control plane and no competing updates.
Explanation
Correct Answer
C:This is the appropriate measurable post-change acceptance criterion: Teams deploy consistent ingress resources without conflating image contents with infrastructure. A successful Terraform command or a completed change request alone would not demonstrate that outcome. Preserve this control during validation: Separate image pipeline ownership from infrastructure review and release.
Incorrect Answers
A:“Environments converge on reviewed network rules with an auditable change trail” would address a different Terraform configuration concern; the source instead describes A media company copies a golden machine image across teams but each team still configures load balancers differently by hand. The appropriate design is to describe the load balancer and network resources as reusable infrastructure code alongside image deployment inputs. Confirm whether teams deploy consistent ingress resources without conflating image contents with infrastructure.
B:“Service records follow approved infrastructure updates without manual copy and paste” would address a different Terraform configuration concern; the source instead describes A media company copies a golden machine image across teams but each team still configures load balancers differently by hand. The appropriate design is to describe the load balancer and network resources as reusable infrastructure code alongside image deployment inputs. Confirm whether teams deploy consistent ingress resources without conflating image contents with infrastructure.
D:“Each infrastructure object has one declared control plane and no competing updates” would address a different Terraform configuration concern; the source instead describes A media company copies a golden machine image across teams but each team still configures load balancers differently by hand. The appropriate design is to describe the load balancer and network resources as reusable infrastructure code alongside image deployment inputs. Confirm whether teams deploy consistent ingress resources without conflating image contents with infrastructure.
Question 21
A banking application team emails a list of resource changes to operations and learns afterward that a production database was deleted accidentally. The infrastructure review requires a supported, least-disruptive Terraform solution. Which proposed change most directly addresses this specific situation?
- Move production changes into a centrally authorized workflow with visible plans and a shared state owner.
- Require a plan review with explicit resource actions and an approval gate before executing declarative changes.
- Explain and design around Terraform's desired-state reconciliation and planned resource actions.
- Represent desired resources with Terraform provider-managed configuration rather than automating browser coordinates.
Explanation
Correct Answer
B:The proposed intervention addresses the reported Terraform engineering failure: A banking application team emails a list of resource changes to operations and learns afterward that a production database was deleted accidentally. It applies the design choice Require a plan review with explicit resource actions and an approval gate before executing declarative changes. Review the primary diagnostic: Inspect the proposed change plan for create update replace and destroy actions. The expected outcome is: Production changes receive informed approval before an irreversible infrastructure action. The rollout safeguard is: Preserve recovery evidence and require high-impact change approval.
Incorrect Answers
A:“Move production changes into a centrally authorized workflow with visible plans and a shared state owner” would address a different Terraform configuration concern; the source instead describes A banking application team emails a list of resource changes to operations and learns afterward that a production database was deleted accidentally. The appropriate design is to require a plan review with explicit resource actions and an approval gate before executing declarative changes. Confirm whether production changes receive informed approval before an irreversible infrastructure action.
C:“Explain and design around Terraform's desired-state reconciliation and planned resource actions” would address a different Terraform configuration concern; the source instead describes A banking application team emails a list of resource changes to operations and learns afterward that a production database was deleted accidentally. The appropriate design is to require a plan review with explicit resource actions and an approval gate before executing declarative changes. Confirm whether production changes receive informed approval before an irreversible infrastructure action.
D:“Represent desired resources with Terraform provider-managed configuration rather than automating browser coordinates” would address a different Terraform configuration concern; the source instead describes A banking application team emails a list of resource changes to operations and learns afterward that a production database was deleted accidentally. The appropriate design is to require a plan review with explicit resource actions and an approval gate before executing declarative changes. Confirm whether production changes receive informed approval before an irreversible infrastructure action.
Question 22
A banking application team emails a list of resource changes to operations and learns afterward that a production database was deleted accidentally. 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 the required_version and required_providers declarations.
- Inspect container image pipeline outputs versus Terraform-managed platform resources.
- Compare environment-specific variable values and the canonical configuration revision.
- Check whether reviewers can trace each destructive action to a committed configuration diff.
- Inspect the proposed change plan for create update replace and destroy actions.
Explanation
Correct Answers
D:This is directly relevant evidence for the reported behavior: Check whether reviewers can trace each destructive action to a committed configuration diff. 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: Require a plan review with explicit resource actions and an approval gate before executing declarative changes. The expected confirmation is Production changes receive informed approval before an irreversible infrastructure action.
E:This is directly relevant evidence for the reported behavior: Inspect the proposed change plan for create update replace and destroy actions. 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: Require a plan review with explicit resource actions and an approval gate before executing declarative changes. The expected confirmation is Production changes receive informed approval before an irreversible infrastructure action.
Incorrect Answers
A:“Inspect the required_version and required_providers declarations” would address a different Terraform configuration concern; the source instead describes A banking application team emails a list of resource changes to operations and learns afterward that a production database was deleted accidentally. The appropriate design is to require a plan review with explicit resource actions and an approval gate before executing declarative changes. Confirm whether production changes receive informed approval before an irreversible infrastructure action.
B:“Inspect container image pipeline outputs versus Terraform-managed platform resources” would address a different Terraform configuration concern; the source instead describes A banking application team emails a list of resource changes to operations and learns afterward that a production database was deleted accidentally. The appropriate design is to require a plan review with explicit resource actions and an approval gate before executing declarative changes. Confirm whether production changes receive informed approval before an irreversible infrastructure action.
C:“Compare environment-specific variable values and the canonical configuration revision” would address a different Terraform configuration concern; the source instead describes A banking application team emails a list of resource changes to operations and learns afterward that a production database was deleted accidentally. The appropriate design is to require a plan review with explicit resource actions and an approval gate before executing declarative changes. Confirm whether production changes receive informed approval before an irreversible infrastructure action.
Question 23
A banking application team emails a list of resource changes to operations and learns afterward that a production database was deleted accidentally. If this behavior continues without correction, which specific risk is most closely supported by the facts, without assuming harm has already occurred?
- Unreviewed desired-state updates may destroy important infrastructure.
- Treating Terraform as a universal guest configuration engine can leave service drift unresolved.
- A static inventory may misrepresent actual dependencies and ownership.
- Multiple writers managing the same object can cause destructive drift loops.
Explanation
Correct Answer
A:The reported condition creates the specific potential exposure: Unreviewed desired-state updates may destroy important infrastructure. A risk is not evidence that every adverse outcome already occurred. Two independent checks can corroborate the assessment. First diagnostic: Inspect the proposed change plan for create update replace and destroy actions. Second diagnostic: Check whether reviewers can trace each destructive action to a committed configuration diff.
Incorrect Answers
B:“Treating Terraform as a universal guest configuration engine can leave service drift unresolved” would address a different Terraform configuration concern; the source instead describes A banking application team emails a list of resource changes to operations and learns afterward that a production database was deleted accidentally. The appropriate design is to require a plan review with explicit resource actions and an approval gate before executing declarative changes. Confirm whether production changes receive informed approval before an irreversible infrastructure action.
C:“A static inventory may misrepresent actual dependencies and ownership” would address a different Terraform configuration concern; the source instead describes A banking application team emails a list of resource changes to operations and learns afterward that a production database was deleted accidentally. The appropriate design is to require a plan review with explicit resource actions and an approval gate before executing declarative changes. Confirm whether production changes receive informed approval before an irreversible infrastructure action.
D:“Multiple writers managing the same object can cause destructive drift loops” would address a different Terraform configuration concern; the source instead describes A banking application team emails a list of resource changes to operations and learns afterward that a production database was deleted accidentally. The appropriate design is to require a plan review with explicit resource actions and an approval gate before executing declarative changes. Confirm whether production changes receive informed approval before an irreversible infrastructure action.
Question 24
A banking application team emails a list of resource changes to operations and learns afterward that a production database was deleted accidentally. A reviewer asks for BOTH a targeted technical response and a corresponding change-control safeguard. Which TWO actions together meet that requirement? (Select TWO.)
- Preserve recovery evidence and require high-impact change approval.
- Maintain declarative configuration and state-backed resource metadata with a reviewable plan, while keeping documentation linked to deployed reality.
- Use staged plans and peer approval before altering production connectivity.
- Require a plan review with explicit resource actions and an approval gate before executing declarative changes.
- Prototype each target and avoid promising full provider interchangeability.
Explanation
Correct Answers
A:This is one of the two necessary decisions for a safe design: Preserve recovery evidence and require high-impact change approval. Together the corrective action and its implementation safeguard need to address the recorded condition: A banking application team emails a list of resource changes to operations and learns afterward that a production database was deleted accidentally. Acceptance requires Production changes receive informed approval before an irreversible infrastructure action.
D:This is one of the two necessary decisions for a safe design: Require a plan review with explicit resource actions and an approval gate before executing declarative changes. Together the corrective action and its implementation safeguard need to address the recorded condition: A banking application team emails a list of resource changes to operations and learns afterward that a production database was deleted accidentally. Acceptance requires Production changes receive informed approval before an irreversible infrastructure action.
Incorrect Answers
B:“Maintain declarative configuration and state-backed resource metadata with a reviewable plan, while keeping documentation linked to deployed reality” would address a different Terraform configuration concern; the source instead describes A banking application team emails a list of resource changes to operations and learns afterward that a production database was deleted accidentally. The appropriate design is to require a plan review with explicit resource actions and an approval gate before executing declarative changes. Confirm whether production changes receive informed approval before an irreversible infrastructure action.
C:“Use staged plans and peer approval before altering production connectivity” would address a different Terraform configuration concern; the source instead describes A banking application team emails a list of resource changes to operations and learns afterward that a production database was deleted accidentally. The appropriate design is to require a plan review with explicit resource actions and an approval gate before executing declarative changes. Confirm whether production changes receive informed approval before an irreversible infrastructure action.
E:“Prototype each target and avoid promising full provider interchangeability” would address a different Terraform configuration concern; the source instead describes A banking application team emails a list of resource changes to operations and learns afterward that a production database was deleted accidentally. The appropriate design is to require a plan review with explicit resource actions and an approval gate before executing declarative changes. Confirm whether production changes receive informed approval before an irreversible infrastructure action.
Question 25
A banking application team emails a list of resource changes to operations and learns afterward that a production database was deleted accidentally. 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?
- Provisioned service records resolve to their approved reserved addresses across both systems.
- A new developer can initialize a compatible reproducible toolchain.
- Only authorized runs update shared production resources under traceable review.
- Production changes receive informed approval before an irreversible infrastructure action.
Explanation
Correct Answer
D:This is the appropriate measurable post-change acceptance criterion: Production changes receive informed approval before an irreversible infrastructure action. A successful Terraform command or a completed change request alone would not demonstrate that outcome. Preserve this control during validation: Preserve recovery evidence and require high-impact change approval.
Incorrect Answers
A:“Provisioned service records resolve to their approved reserved addresses across both systems” would address a different Terraform configuration concern; the source instead describes A banking application team emails a list of resource changes to operations and learns afterward that a production database was deleted accidentally. The appropriate design is to require a plan review with explicit resource actions and an approval gate before executing declarative changes. Confirm whether production changes receive informed approval before an irreversible infrastructure action.
B:“A new developer can initialize a compatible reproducible toolchain” would address a different Terraform configuration concern; the source instead describes A banking application team emails a list of resource changes to operations and learns afterward that a production database was deleted accidentally. The appropriate design is to require a plan review with explicit resource actions and an approval gate before executing declarative changes. Confirm whether production changes receive informed approval before an irreversible infrastructure action.
C:“Only authorized runs update shared production resources under traceable review” would address a different Terraform configuration concern; the source instead describes A banking application team emails a list of resource changes to operations and learns afterward that a production database was deleted accidentally. The appropriate design is to require a plan review with explicit resource actions and an approval gate before executing declarative changes. Confirm whether production changes receive informed approval before an irreversible infrastructure action.
Question 26
A school district asks two administrators to create identical sandbox environments but their command histories differ and the networking results are not comparable. The infrastructure review requires a supported, least-disruptive Terraform solution. Which proposed change most directly addresses this specific situation?
- Use one versioned Terraform root configuration with controlled environment inputs instead of manual command notebooks.
- Separate build artifacts from IaC-managed network and service infrastructure and define handoff inputs.
- Move production changes into a centrally authorized workflow with visible plans and a shared state owner.
- Use appropriate provider configurations under Terraform to express dependencies across the two supported APIs.
Explanation
Correct Answer
A:The proposed intervention addresses the reported Terraform engineering failure: A school district asks two administrators to create identical sandbox environments but their command histories differ and the networking results are not comparable. It applies the design choice Use one versioned Terraform root configuration with controlled environment inputs instead of manual command notebooks. Review the primary diagnostic: Compare environment-specific variable values and the canonical configuration revision. The expected outcome is: Identical inputs produce equivalent intended resource graphs across reproducible sandboxes. The rollout safeguard is: Pin required providers and keep secrets out of source files.
Incorrect Answers
B:“Separate build artifacts from IaC-managed network and service infrastructure and define handoff inputs” would address a different Terraform configuration concern; the source instead describes A school district asks two administrators to create identical sandbox environments but their command histories differ and the networking results are not comparable. The appropriate design is to use one versioned Terraform root configuration with controlled environment inputs instead of manual command notebooks. Confirm whether identical inputs produce equivalent intended resource graphs across reproducible sandboxes.
C:“Move production changes into a centrally authorized workflow with visible plans and a shared state owner” would address a different Terraform configuration concern; the source instead describes A school district asks two administrators to create identical sandbox environments but their command histories differ and the networking results are not comparable. The appropriate design is to use one versioned Terraform root configuration with controlled environment inputs instead of manual command notebooks. Confirm whether identical inputs produce equivalent intended resource graphs across reproducible sandboxes.
D:“Use appropriate provider configurations under Terraform to express dependencies across the two supported APIs” would address a different Terraform configuration concern; the source instead describes A school district asks two administrators to create identical sandbox environments but their command histories differ and the networking results are not comparable. The appropriate design is to use one versioned Terraform root configuration with controlled environment inputs instead of manual command notebooks. Confirm whether identical inputs produce equivalent intended resource graphs across reproducible sandboxes.
Question 27
A school district asks two administrators to create identical sandbox environments but their command histories differ and the networking results are not comparable. 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 plan results from two isolated sandbox runs with equivalent inputs.
- Inspect differences in region inputs and required provider aliases.
- Compare environment-specific variable values and the canonical configuration revision.
- Compare the current resource state with the declared configuration before a change.
- Review differences between the image artifact and the external load balancer resources.
Explanation
Correct Answers
A:This is directly relevant evidence for the reported behavior: Review plan results from two isolated sandbox runs with equivalent inputs. 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: Use one versioned Terraform root configuration with controlled environment inputs instead of manual command notebooks. The expected confirmation is Identical inputs produce equivalent intended resource graphs across reproducible sandboxes.
C:This is directly relevant evidence for the reported behavior: Compare environment-specific variable values and the canonical configuration revision. 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: Use one versioned Terraform root configuration with controlled environment inputs instead of manual command notebooks. The expected confirmation is Identical inputs produce equivalent intended resource graphs across reproducible sandboxes.
Incorrect Answers
B:“Inspect differences in region inputs and required provider aliases” would address a different Terraform configuration concern; the source instead describes A school district asks two administrators to create identical sandbox environments but their command histories differ and the networking results are not comparable. The appropriate design is to use one versioned Terraform root configuration with controlled environment inputs instead of manual command notebooks. Confirm whether identical inputs produce equivalent intended resource graphs across reproducible sandboxes.
D:“Compare the current resource state with the declared configuration before a change” would address a different Terraform configuration concern; the source instead describes A school district asks two administrators to create identical sandbox environments but their command histories differ and the networking results are not comparable. The appropriate design is to use one versioned Terraform root configuration with controlled environment inputs instead of manual command notebooks. Confirm whether identical inputs produce equivalent intended resource graphs across reproducible sandboxes.
E:“Review differences between the image artifact and the external load balancer resources” would address a different Terraform configuration concern; the source instead describes A school district asks two administrators to create identical sandbox environments but their command histories differ and the networking results are not comparable. The appropriate design is to use one versioned Terraform root configuration with controlled environment inputs instead of manual command notebooks. Confirm whether identical inputs produce equivalent intended resource graphs across reproducible sandboxes.
Question 28
A school district asks two administrators to create identical sandbox environments but their command histories differ and the networking results are not comparable. If this behavior continues without correction, which specific risk is most closely supported by the facts, without assuming harm has already occurred?
- Implicit local versions can yield inconsistent plans or unsupported syntax.
- Committed keys can be copied and abused even after the repository is made private.
- Manually documented shell history often omits dependencies and hidden defaults.
- Unreviewed desired-state updates may destroy important infrastructure.
Explanation
Correct Answer
C:The reported condition creates the specific potential exposure: Manually documented shell history often omits dependencies and hidden defaults. A risk is not evidence that every adverse outcome already occurred. Two independent checks can corroborate the assessment. First diagnostic: Compare environment-specific variable values and the canonical configuration revision. Second diagnostic: Review plan results from two isolated sandbox runs with equivalent inputs.
Incorrect Answers
A:“Implicit local versions can yield inconsistent plans or unsupported syntax” would address a different Terraform configuration concern; the source instead describes A school district asks two administrators to create identical sandbox environments but their command histories differ and the networking results are not comparable. The appropriate design is to use one versioned Terraform root configuration with controlled environment inputs instead of manual command notebooks. Confirm whether identical inputs produce equivalent intended resource graphs across reproducible sandboxes.
B:“Committed keys can be copied and abused even after the repository is made private” would address a different Terraform configuration concern; the source instead describes A school district asks two administrators to create identical sandbox environments but their command histories differ and the networking results are not comparable. The appropriate design is to use one versioned Terraform root configuration with controlled environment inputs instead of manual command notebooks. Confirm whether identical inputs produce equivalent intended resource graphs across reproducible sandboxes.
D:“Unreviewed desired-state updates may destroy important infrastructure” would address a different Terraform configuration concern; the source instead describes A school district asks two administrators to create identical sandbox environments but their command histories differ and the networking results are not comparable. The appropriate design is to use one versioned Terraform root configuration with controlled environment inputs instead of manual command notebooks. Confirm whether identical inputs produce equivalent intended resource graphs across reproducible sandboxes.
Question 29
A school district asks two administrators to create identical sandbox environments but their command histories differ and the networking results are not comparable. A reviewer asks for BOTH a targeted technical response and a corresponding change-control safeguard. Which TWO actions together meet that requirement? (Select TWO.)
- Pin required providers and keep secrets out of source files.
- Use one versioned Terraform root configuration with controlled environment inputs instead of manual command notebooks.
- Validate the desired-state plan and conduct post-apply checks against approved business and security conditions.
- Check state accuracy and review replace actions before applying.
- Pin provider versions and test a single region before a multi-region rollout.
Explanation
Correct Answers
A:This is one of the two necessary decisions for a safe design: Pin required providers and keep secrets out of source files. Together the corrective action and its implementation safeguard need to address the recorded condition: A school district asks two administrators to create identical sandbox environments but their command histories differ and the networking results are not comparable. Acceptance requires Identical inputs produce equivalent intended resource graphs across reproducible sandboxes.
B:This is one of the two necessary decisions for a safe design: Use one versioned Terraform root configuration with controlled environment inputs instead of manual command notebooks. Together the corrective action and its implementation safeguard need to address the recorded condition: A school district asks two administrators to create identical sandbox environments but their command histories differ and the networking results are not comparable. Acceptance requires Identical inputs produce equivalent intended resource graphs across reproducible sandboxes.
Incorrect Answers
C:“Validate the desired-state plan and conduct post-apply checks against approved business and security conditions” would address a different Terraform configuration concern; the source instead describes A school district asks two administrators to create identical sandbox environments but their command histories differ and the networking results are not comparable. The appropriate design is to use one versioned Terraform root configuration with controlled environment inputs instead of manual command notebooks. Confirm whether identical inputs produce equivalent intended resource graphs across reproducible sandboxes.
D:“Check state accuracy and review replace actions before applying” would address a different Terraform configuration concern; the source instead describes A school district asks two administrators to create identical sandbox environments but their command histories differ and the networking results are not comparable. The appropriate design is to use one versioned Terraform root configuration with controlled environment inputs instead of manual command notebooks. Confirm whether identical inputs produce equivalent intended resource graphs across reproducible sandboxes.
E:“Pin provider versions and test a single region before a multi-region rollout” would address a different Terraform configuration concern; the source instead describes A school district asks two administrators to create identical sandbox environments but their command histories differ and the networking results are not comparable. The appropriate design is to use one versioned Terraform root configuration with controlled environment inputs instead of manual command notebooks. Confirm whether identical inputs produce equivalent intended resource graphs across reproducible sandboxes.
Question 30
A school district asks two administrators to create identical sandbox environments but their command histories differ and the networking results are not comparable. 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?
- Identical inputs produce equivalent intended resource graphs across reproducible sandboxes.
- Environments converge on reviewed network rules with an auditable change trail.
- Every sensitive change has a traceable proposed plan before deployment.
- Infrastructure meets intended security outcomes rather than only command success.
Explanation
Correct Answer
A:This is the appropriate measurable post-change acceptance criterion: Identical inputs produce equivalent intended resource graphs across reproducible sandboxes. A successful Terraform command or a completed change request alone would not demonstrate that outcome. Preserve this control during validation: Pin required providers and keep secrets out of source files.
Incorrect Answers
B:“Environments converge on reviewed network rules with an auditable change trail” would address a different Terraform configuration concern; the source instead describes A school district asks two administrators to create identical sandbox environments but their command histories differ and the networking results are not comparable. The appropriate design is to use one versioned Terraform root configuration with controlled environment inputs instead of manual command notebooks. Confirm whether identical inputs produce equivalent intended resource graphs across reproducible sandboxes.
C:“Every sensitive change has a traceable proposed plan before deployment” would address a different Terraform configuration concern; the source instead describes A school district asks two administrators to create identical sandbox environments but their command histories differ and the networking results are not comparable. The appropriate design is to use one versioned Terraform root configuration with controlled environment inputs instead of manual command notebooks. Confirm whether identical inputs produce equivalent intended resource graphs across reproducible sandboxes.
D:“Infrastructure meets intended security outcomes rather than only command success” would address a different Terraform configuration concern; the source instead describes A school district asks two administrators to create identical sandbox environments but their command histories differ and the networking results are not comparable. The appropriate design is to use one versioned Terraform root configuration with controlled environment inputs instead of manual command notebooks. Confirm whether identical inputs produce equivalent intended resource graphs across reproducible sandboxes.