HashiCorp Terraform Associate Practice Test 2
Question 10
A retailer scripts a sequence of console clicks for building stores but the procedure fails when a new cloud region has different interface labels. 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?
- Each infrastructure object has one declared control plane and no competing updates.
- Provisioned service records resolve to their approved reserved addresses across both systems.
- New regions receive equivalent authorized infrastructure despite console interface changes.
- A new developer can initialize a compatible reproducible toolchain.
Explanation
Correct Answer
C:This is the appropriate measurable post-change acceptance criterion: New regions receive equivalent authorized infrastructure despite console interface changes. A successful Terraform command or a completed change request alone would not demonstrate that outcome. Preserve this control during validation: Pin provider versions and test a single region before a multi-region rollout.
Incorrect Answers
A:“Each infrastructure object has one declared control plane and no competing updates” would address a different Terraform configuration concern; the source instead describes A retailer scripts a sequence of console clicks for building stores but the procedure fails when a new cloud region has different interface labels. The appropriate design is to represent desired resources with Terraform provider-managed configuration rather than automating browser coordinates. Confirm whether new regions receive equivalent authorized infrastructure despite console interface changes.
B:“Provisioned service records resolve to their approved reserved addresses across both systems” would address a different Terraform configuration concern; the source instead describes A retailer scripts a sequence of console clicks for building stores but the procedure fails when a new cloud region has different interface labels. The appropriate design is to represent desired resources with Terraform provider-managed configuration rather than automating browser coordinates. Confirm whether new regions receive equivalent authorized infrastructure despite console interface changes.
D:“A new developer can initialize a compatible reproducible toolchain” would address a different Terraform configuration concern; the source instead describes A retailer scripts a sequence of console clicks for building stores but the procedure fails when a new cloud region has different interface labels. The appropriate design is to represent desired resources with Terraform provider-managed configuration rather than automating browser coordinates. Confirm whether new regions receive equivalent authorized infrastructure despite console interface changes.
Question 11
A telecom operator maintains separate undocumented shell scripts for cloud DNS and an on-premises IPAM system, leading to inconsistent service records. The infrastructure review requires a supported, least-disruptive Terraform solution. Which proposed change most directly addresses this specific situation?
- Choose a single authoritative state owner per managed infrastructure object and separate unrelated workspaces.
- Explain and design around Terraform's desired-state reconciliation and planned resource actions.
- Use supported Terraform providers and a shared reviewed workflow to coordinate both service APIs.
- Keep the recovery topology defined as versioned IaC and validate its plan in a nonproduction rehearsal.
Explanation
Correct Answer
C:The proposed intervention addresses the reported Terraform engineering failure: A telecom operator maintains separate undocumented shell scripts for cloud DNS and an on-premises IPAM system, leading to inconsistent service records. It applies the design choice Use supported Terraform providers and a shared reviewed workflow to coordinate both service APIs. Review the primary diagnostic: Verify supported provider resource coverage for cloud DNS and on-premises IPAM. The expected outcome is: Provisioned service records resolve to their approved reserved addresses across both systems. The rollout safeguard is: Define ownership boundaries and test rollback for both systems.
Incorrect Answers
A:“Choose a single authoritative state owner per managed infrastructure object and separate unrelated workspaces” would address a different Terraform configuration concern; the source instead describes A telecom operator maintains separate undocumented shell scripts for cloud DNS and an on-premises IPAM system, leading to inconsistent service records. The appropriate design is to use supported Terraform providers and a shared reviewed workflow to coordinate both service APIs. Confirm whether provisioned service records resolve to their approved reserved addresses across both systems.
B:“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 telecom operator maintains separate undocumented shell scripts for cloud DNS and an on-premises IPAM system, leading to inconsistent service records. The appropriate design is to use supported Terraform providers and a shared reviewed workflow to coordinate both service APIs. Confirm whether provisioned service records resolve to their approved reserved addresses across both systems.
D:“Keep the recovery topology defined as versioned IaC and validate its plan in a nonproduction rehearsal” would address a different Terraform configuration concern; the source instead describes A telecom operator maintains separate undocumented shell scripts for cloud DNS and an on-premises IPAM system, leading to inconsistent service records. The appropriate design is to use supported Terraform providers and a shared reviewed workflow to coordinate both service APIs. Confirm whether provisioned service records resolve to their approved reserved addresses across both systems.
Question 12
A telecom operator maintains separate undocumented shell scripts for cloud DNS and an on-premises IPAM system, leading to inconsistent service records. Before choosing a remedy, the team needs independent evidence of the actual root cause. Which TWO checks most directly test this case? (Select TWO.)
- Verify supported provider resource coverage for cloud DNS and on-premises IPAM.
- Inspect dependencies between DNS record creation and reserved address allocation.
- Inspect provider schema for actual managed virtual machine properties.
- Compare network rules across all five deployed environments with the approved architecture baseline.
- Identify which desired network and compute attributes are independent of console layout.
Explanation
Correct Answers
A:This is directly relevant evidence for the reported behavior: Verify supported provider resource coverage for cloud DNS and on-premises IPAM. 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 supported Terraform providers and a shared reviewed workflow to coordinate both service APIs. The expected confirmation is Provisioned service records resolve to their approved reserved addresses across both systems.
B:This is directly relevant evidence for the reported behavior: Inspect dependencies between DNS record creation and reserved address allocation. 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 supported Terraform providers and a shared reviewed workflow to coordinate both service APIs. The expected confirmation is Provisioned service records resolve to their approved reserved addresses across both systems.
Incorrect Answers
C:“Inspect provider schema for actual managed virtual machine properties” would address a different Terraform configuration concern; the source instead describes A telecom operator maintains separate undocumented shell scripts for cloud DNS and an on-premises IPAM system, leading to inconsistent service records. The appropriate design is to use supported Terraform providers and a shared reviewed workflow to coordinate both service APIs. Confirm whether provisioned service records resolve to their approved reserved addresses across both systems.
D:“Compare network rules across all five deployed environments with the approved architecture baseline” would address a different Terraform configuration concern; the source instead describes A telecom operator maintains separate undocumented shell scripts for cloud DNS and an on-premises IPAM system, leading to inconsistent service records. The appropriate design is to use supported Terraform providers and a shared reviewed workflow to coordinate both service APIs. Confirm whether provisioned service records resolve to their approved reserved addresses across both systems.
E:“Identify which desired network and compute attributes are independent of console layout” would address a different Terraform configuration concern; the source instead describes A telecom operator maintains separate undocumented shell scripts for cloud DNS and an on-premises IPAM system, leading to inconsistent service records. The appropriate design is to use supported Terraform providers and a shared reviewed workflow to coordinate both service APIs. Confirm whether provisioned service records resolve to their approved reserved addresses across both systems.
Question 13
A telecom operator maintains separate undocumented shell scripts for cloud DNS and an on-premises IPAM system, leading to inconsistent service records. If this behavior continues without correction, which specific risk is most closely supported by the facts, without assuming harm has already occurred?
- Misunderstanding reconciliation may cause wasteful or unsafe redeployments.
- Blind copy-paste divergence can retain known weaknesses in one environment.
- Uncoordinated imperative scripts can publish stale service locations.
- Unreviewed desired-state updates may destroy important infrastructure.
Explanation
Correct Answer
C:The reported condition creates the specific potential exposure: Uncoordinated imperative scripts can publish stale service locations. A risk is not evidence that every adverse outcome already occurred. Two independent checks can corroborate the assessment. First diagnostic: Verify supported provider resource coverage for cloud DNS and on-premises IPAM. Second diagnostic: Inspect dependencies between DNS record creation and reserved address allocation.
Incorrect Answers
A:“Misunderstanding reconciliation may cause wasteful or unsafe redeployments” would address a different Terraform configuration concern; the source instead describes A telecom operator maintains separate undocumented shell scripts for cloud DNS and an on-premises IPAM system, leading to inconsistent service records. The appropriate design is to use supported Terraform providers and a shared reviewed workflow to coordinate both service APIs. Confirm whether provisioned service records resolve to their approved reserved addresses across both systems.
B:“Blind copy-paste divergence can retain known weaknesses in one environment” would address a different Terraform configuration concern; the source instead describes A telecom operator maintains separate undocumented shell scripts for cloud DNS and an on-premises IPAM system, leading to inconsistent service records. The appropriate design is to use supported Terraform providers and a shared reviewed workflow to coordinate both service APIs. Confirm whether provisioned service records resolve to their approved reserved addresses across both systems.
D:“Unreviewed desired-state updates may destroy important infrastructure” would address a different Terraform configuration concern; the source instead describes A telecom operator maintains separate undocumented shell scripts for cloud DNS and an on-premises IPAM system, leading to inconsistent service records. The appropriate design is to use supported Terraform providers and a shared reviewed workflow to coordinate both service APIs. Confirm whether provisioned service records resolve to their approved reserved addresses across both systems.
Question 14
A telecom operator maintains separate undocumented shell scripts for cloud DNS and an on-premises IPAM system, leading to inconsistent service records. A reviewer asks for BOTH a targeted technical response and a corresponding change-control safeguard. Which TWO actions together meet that requirement? (Select TWO.)
- Define a portable module interface for shared intent while implementing provider-specific resources behind appropriate modules.
- Define ownership boundaries and test rollback for both systems.
- Use supported Terraform providers and a shared reviewed workflow to coordinate both service APIs.
- Bind approvals to immutable plan artifacts and least-privilege execution.
- Import approved existing rules carefully and test deny cases.
Explanation
Correct Answers
B:This is one of the two necessary decisions for a safe design: Define ownership boundaries and test rollback for both systems. Together the corrective action and its implementation safeguard need to address the recorded condition: A telecom operator maintains separate undocumented shell scripts for cloud DNS and an on-premises IPAM system, leading to inconsistent service records. Acceptance requires Provisioned service records resolve to their approved reserved addresses across both systems.
C:This is one of the two necessary decisions for a safe design: Use supported Terraform providers and a shared reviewed workflow to coordinate both service APIs. Together the corrective action and its implementation safeguard need to address the recorded condition: A telecom operator maintains separate undocumented shell scripts for cloud DNS and an on-premises IPAM system, leading to inconsistent service records. Acceptance requires Provisioned service records resolve to their approved reserved addresses across both systems.
Incorrect Answers
A:“Define a portable module interface for shared intent while implementing provider-specific resources behind appropriate modules” would address a different Terraform configuration concern; the source instead describes A telecom operator maintains separate undocumented shell scripts for cloud DNS and an on-premises IPAM system, leading to inconsistent service records. The appropriate design is to use supported Terraform providers and a shared reviewed workflow to coordinate both service APIs. Confirm whether provisioned service records resolve to their approved reserved addresses across both systems.
D:“Bind approvals to immutable plan artifacts and least-privilege execution” would address a different Terraform configuration concern; the source instead describes A telecom operator maintains separate undocumented shell scripts for cloud DNS and an on-premises IPAM system, leading to inconsistent service records. The appropriate design is to use supported Terraform providers and a shared reviewed workflow to coordinate both service APIs. Confirm whether provisioned service records resolve to their approved reserved addresses across both systems.
E:“Import approved existing rules carefully and test deny cases” would address a different Terraform configuration concern; the source instead describes A telecom operator maintains separate undocumented shell scripts for cloud DNS and an on-premises IPAM system, leading to inconsistent service records. The appropriate design is to use supported Terraform providers and a shared reviewed workflow to coordinate both service APIs. Confirm whether provisioned service records resolve to their approved reserved addresses across both systems.
Question 15
A telecom operator maintains separate undocumented shell scripts for cloud DNS and an on-premises IPAM system, leading to inconsistent service records. 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.
- Every sensitive change has a traceable proposed plan before deployment.
- Production changes receive informed approval before an irreversible infrastructure action.
- Service records follow approved infrastructure updates without manual copy and paste.
Explanation
Correct Answer
A:This is the appropriate measurable post-change acceptance criterion: Provisioned service records resolve to their approved reserved addresses across both systems. A successful Terraform command or a completed change request alone would not demonstrate that outcome. Preserve this control during validation: Define ownership boundaries and test rollback for both systems.
Incorrect Answers
B:“Every sensitive change has a traceable proposed plan before deployment” would address a different Terraform configuration concern; the source instead describes A telecom operator maintains separate undocumented shell scripts for cloud DNS and an on-premises IPAM system, leading to inconsistent service records. The appropriate design is to use supported Terraform providers and a shared reviewed workflow to coordinate both service APIs. Confirm whether provisioned service records resolve to their approved reserved addresses across both systems.
C:“Production changes receive informed approval before an irreversible infrastructure action” would address a different Terraform configuration concern; the source instead describes A telecom operator maintains separate undocumented shell scripts for cloud DNS and an on-premises IPAM system, leading to inconsistent service records. The appropriate design is to use supported Terraform providers and a shared reviewed workflow to coordinate both service APIs. Confirm whether provisioned service records resolve to their approved reserved addresses across both systems.
D:“Service records follow approved infrastructure updates without manual copy and paste” would address a different Terraform configuration concern; the source instead describes A telecom operator maintains separate undocumented shell scripts for cloud DNS and an on-premises IPAM system, leading to inconsistent service records. The appropriate design is to use supported Terraform providers and a shared reviewed workflow to coordinate both service APIs. Confirm whether provisioned service records resolve to their approved reserved addresses across both systems.
Question 16
A media company copies a golden machine image across teams but each team still configures load balancers differently by hand. The infrastructure review requires a supported, least-disruptive Terraform solution. Which proposed change most directly addresses this specific situation?
- Define environment-scoped infrastructure as declarative configuration in version control and review proposed changes before applying.
- Use one versioned Terraform root configuration with controlled environment inputs instead of manual command notebooks.
- Require pull-request review and a saved plan artifact tied to the exact proposed source revision.
- Describe the load balancer and network resources as reusable infrastructure code alongside image deployment inputs.
Explanation
Correct Answer
D:The proposed intervention addresses the reported Terraform engineering failure: A media company copies a golden machine image across teams but each team still configures load balancers differently by hand. It applies the design choice Describe the load balancer and network resources as reusable infrastructure code alongside image deployment inputs. Review the primary diagnostic: Review differences between the image artifact and the external load balancer resources. The expected outcome is: Teams deploy consistent ingress resources without conflating image contents with infrastructure. The rollout safeguard is: Separate image pipeline ownership from infrastructure review and release.
Incorrect Answers
A:“Define environment-scoped infrastructure as declarative configuration in version control and review proposed changes before applying” 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:“Use one versioned Terraform root configuration with controlled environment inputs instead of manual command notebooks” 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.
C:“Require pull-request review and a saved plan artifact tied to the exact proposed source revision” 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 17
A media company copies a golden machine image across teams but each team still configures load balancers differently by hand. 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 differences between the image artifact and the external load balancer resources.
- Verify provider documentation and authentication requirements for each target platform.
- Compare planned load balancer configuration from two independent environment runs.
- Inspect the required_version and required_providers declarations.
- Inspect the plan for sensitive network rule and identity changes.
Explanation
Correct Answers
A:This is directly relevant evidence for the reported behavior: Review differences between the image artifact and the external load balancer resources. 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: Describe the load balancer and network resources as reusable infrastructure code alongside image deployment inputs. The expected confirmation is Teams deploy consistent ingress resources without conflating image contents with infrastructure.
C:This is directly relevant evidence for the reported behavior: Compare planned load balancer configuration from two independent environment runs. 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: Describe the load balancer and network resources as reusable infrastructure code alongside image deployment inputs. The expected confirmation is Teams deploy consistent ingress resources without conflating image contents with infrastructure.
Incorrect Answers
B:“Verify provider documentation and authentication requirements for each target platform” 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:“Inspect the required_version and required_providers declarations” 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.
E:“Inspect the plan for sensitive network rule and identity changes” 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 18
A media company copies a golden machine image across teams but each team still configures load balancers differently by hand. If this behavior continues without correction, which specific risk is most closely supported by the facts, without assuming harm has already occurred?
- Golden images alone do not control network and service configuration.
- Misunderstanding reconciliation may cause wasteful or unsafe redeployments.
- A static inventory may misrepresent actual dependencies and ownership.
- Implicit local versions can yield inconsistent plans or unsupported syntax.
Explanation
Correct Answer
A:The reported condition creates the specific potential exposure: Golden images alone do not control network and service configuration. A risk is not evidence that every adverse outcome already occurred. Two independent checks can corroborate the assessment. First diagnostic: Review differences between the image artifact and the external load balancer resources. Second diagnostic: Compare planned load balancer configuration from two independent environment runs.
Incorrect Answers
B:“Misunderstanding reconciliation may cause wasteful or unsafe redeployments” 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.
C:“A static inventory may misrepresent actual dependencies and ownership” 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:“Implicit local versions can yield inconsistent plans or unsupported syntax” 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 19
A media company copies a golden machine image across teams but each team still configures load balancers differently by hand. A reviewer asks for BOTH a targeted technical response and a corresponding change-control safeguard. Which TWO actions together meet that requirement? (Select TWO.)
- Use environment-specific secure credentials and a reviewed declarative workflow instead of storing access keys with configuration.
- Separate image pipeline ownership from infrastructure review and release.
- Describe the load balancer and network resources as reusable infrastructure code alongside image deployment inputs.
- Rotate exposed credentials and apply least-privilege identities.
- Enforce backend locking and separate production write permissions.
Explanation
Correct Answers
B:This is one of the two necessary decisions for a safe design: Separate image pipeline ownership from infrastructure review and release. Together the corrective action and its implementation safeguard need to address the recorded condition: A media company copies a golden machine image across teams but each team still configures load balancers differently by hand. Acceptance requires Teams deploy consistent ingress resources without conflating image contents with infrastructure.
C:This is one of the two necessary decisions for a safe design: Describe the load balancer and network resources as reusable infrastructure code alongside image deployment inputs. Together the corrective action and its implementation safeguard need to address the recorded condition: A media company copies a golden machine image across teams but each team still configures load balancers differently by hand. Acceptance requires Teams deploy consistent ingress resources without conflating image contents with infrastructure.
Incorrect Answers
A:“Use environment-specific secure credentials and a reviewed declarative workflow instead of storing access keys with configuration” 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:“Rotate exposed credentials and apply least-privilege identities” 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.
E:“Enforce backend locking and separate production write permissions” 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 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.