HashiCorp Terraform Associate Practice Test 6
Question 50
A university engineering group uses Terraform to create servers but manually adds all DNS records after every deployment because it treats DNS as outside infrastructure management. 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?
- Service records follow approved infrastructure updates without manual copy and paste.
- A new developer can initialize a compatible reproducible toolchain.
- The approved hybrid environment is managed through provider-supported APIs.
- Approved disaster recovery resources can be rebuilt predictably from reviewed source.
Explanation
Correct Answer
A:This is the appropriate measurable post-change acceptance criterion: Service records follow approved infrastructure updates without manual copy and paste. A successful Terraform command or a completed change request alone would not demonstrate that outcome. Preserve this control during validation: Control authoritative zone permissions and account for propagation delays.
Incorrect Answers
B:“A new developer can initialize a compatible reproducible toolchain” would address a different Terraform configuration concern; the source instead describes A university engineering group uses Terraform to create servers but manually adds all DNS records after every deployment because it treats DNS as outside infrastructure management. The appropriate design is to consider a compatible DNS provider and reference provisioned addresses to manage service records as code. Confirm whether service records follow approved infrastructure updates without manual copy and paste.
C:“The approved hybrid environment is managed through provider-supported APIs” would address a different Terraform configuration concern; the source instead describes A university engineering group uses Terraform to create servers but manually adds all DNS records after every deployment because it treats DNS as outside infrastructure management. The appropriate design is to consider a compatible DNS provider and reference provisioned addresses to manage service records as code. Confirm whether service records follow approved infrastructure updates without manual copy and paste.
D:“Approved disaster recovery resources can be rebuilt predictably from reviewed source” would address a different Terraform configuration concern; the source instead describes A university engineering group uses Terraform to create servers but manually adds all DNS records after every deployment because it treats DNS as outside infrastructure management. The appropriate design is to consider a compatible DNS provider and reference provisioned addresses to manage service records as code. Confirm whether service records follow approved infrastructure updates without manual copy and paste.
Question 51
A municipal data center uses an external virtualization API and an object-storage provider, and the team assumes Terraform only works with public cloud virtual machines. The infrastructure review requires a supported, least-disruptive Terraform solution. Which proposed change most directly addresses this specific situation?
- Maintain declarative configuration and state-backed resource metadata with a reviewable plan, while keeping documentation linked to deployed reality.
- Use one versioned Terraform root configuration with controlled environment inputs instead of manual command notebooks.
- Evaluate supported Terraform providers for the virtualization platform and object storage to model the required resources.
- Place manageable network security resource settings in the same governed change process with explicit resource ownership.
Explanation
Correct Answer
C:The proposed intervention addresses the reported Terraform engineering failure: A municipal data center uses an external virtualization API and an object-storage provider, and the team assumes Terraform only works with public cloud virtual machines. It applies the design choice Evaluate supported Terraform providers for the virtualization platform and object storage to model the required resources. Review the primary diagnostic: Verify provider documentation and authentication requirements for each target platform. The expected outcome is: The approved hybrid environment is managed through provider-supported APIs. The rollout safeguard is: Prototype provider operations and record unmanageable resource boundaries.
Incorrect Answers
A:“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 municipal data center uses an external virtualization API and an object-storage provider, and the team assumes Terraform only works with public cloud virtual machines. The appropriate design is to evaluate supported Terraform providers for the virtualization platform and object storage to model the required resources. Confirm whether the approved hybrid environment is managed through provider-supported APIs.
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 municipal data center uses an external virtualization API and an object-storage provider, and the team assumes Terraform only works with public cloud virtual machines. The appropriate design is to evaluate supported Terraform providers for the virtualization platform and object storage to model the required resources. Confirm whether the approved hybrid environment is managed through provider-supported APIs.
D:“Place manageable network security resource settings in the same governed change process with explicit resource ownership” would address a different Terraform configuration concern; the source instead describes A municipal data center uses an external virtualization API and an object-storage provider, and the team assumes Terraform only works with public cloud virtual machines. The appropriate design is to evaluate supported Terraform providers for the virtualization platform and object storage to model the required resources. Confirm whether the approved hybrid environment is managed through provider-supported APIs.
Question 52
A municipal data center uses an external virtualization API and an object-storage provider, and the team assumes Terraform only works with public cloud virtual machines. 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 which object types are managed resources versus read-only data sources.
- Compare environment-specific variable values and the canonical configuration revision.
- Review repeated resource definitions for stable structure versus environment-specific settings.
- Inspect the required_version and required_providers declarations.
- Verify provider documentation and authentication requirements for each target platform.
Explanation
Correct Answers
A:This is directly relevant evidence for the reported behavior: Inspect which object types are managed resources versus read-only data sources. 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: Evaluate supported Terraform providers for the virtualization platform and object storage to model the required resources. The expected confirmation is The approved hybrid environment is managed through provider-supported APIs.
E:This is directly relevant evidence for the reported behavior: Verify provider documentation and authentication requirements for each target platform. 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: Evaluate supported Terraform providers for the virtualization platform and object storage to model the required resources. The expected confirmation is The approved hybrid environment is managed through provider-supported APIs.
Incorrect Answers
B:“Compare environment-specific variable values and the canonical configuration revision” would address a different Terraform configuration concern; the source instead describes A municipal data center uses an external virtualization API and an object-storage provider, and the team assumes Terraform only works with public cloud virtual machines. The appropriate design is to evaluate supported Terraform providers for the virtualization platform and object storage to model the required resources. Confirm whether the approved hybrid environment is managed through provider-supported APIs.
C:“Review repeated resource definitions for stable structure versus environment-specific settings” would address a different Terraform configuration concern; the source instead describes A municipal data center uses an external virtualization API and an object-storage provider, and the team assumes Terraform only works with public cloud virtual machines. The appropriate design is to evaluate supported Terraform providers for the virtualization platform and object storage to model the required resources. Confirm whether the approved hybrid environment is managed through provider-supported APIs.
D:“Inspect the required_version and required_providers declarations” would address a different Terraform configuration concern; the source instead describes A municipal data center uses an external virtualization API and an object-storage provider, and the team assumes Terraform only works with public cloud virtual machines. The appropriate design is to evaluate supported Terraform providers for the virtualization platform and object storage to model the required resources. Confirm whether the approved hybrid environment is managed through provider-supported APIs.
Question 53
A municipal data center uses an external virtualization API and an object-storage provider, and the team assumes Terraform only works with public cloud virtual machines. If this behavior continues without correction, which specific risk is most closely supported by the facts, without assuming harm has already occurred?
- Unsupported assumptions about platform scope can create inconsistent automation.
- Manually documented shell history often omits dependencies and hidden defaults.
- Undocumented recovery steps may prolong outages under pressure.
- Treating Terraform as a universal guest configuration engine can leave service drift unresolved.
Explanation
Correct Answer
A:The reported condition creates the specific potential exposure: Unsupported assumptions about platform scope can create inconsistent automation. A risk is not evidence that every adverse outcome already occurred. Two independent checks can corroborate the assessment. First diagnostic: Verify provider documentation and authentication requirements for each target platform. Second diagnostic: Inspect which object types are managed resources versus read-only data sources.
Incorrect Answers
B:“Manually documented shell history often omits dependencies and hidden defaults” would address a different Terraform configuration concern; the source instead describes A municipal data center uses an external virtualization API and an object-storage provider, and the team assumes Terraform only works with public cloud virtual machines. The appropriate design is to evaluate supported Terraform providers for the virtualization platform and object storage to model the required resources. Confirm whether the approved hybrid environment is managed through provider-supported APIs.
C:“Undocumented recovery steps may prolong outages under pressure” would address a different Terraform configuration concern; the source instead describes A municipal data center uses an external virtualization API and an object-storage provider, and the team assumes Terraform only works with public cloud virtual machines. The appropriate design is to evaluate supported Terraform providers for the virtualization platform and object storage to model the required resources. Confirm whether the approved hybrid environment is managed through provider-supported APIs.
D:“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 municipal data center uses an external virtualization API and an object-storage provider, and the team assumes Terraform only works with public cloud virtual machines. The appropriate design is to evaluate supported Terraform providers for the virtualization platform and object storage to model the required resources. Confirm whether the approved hybrid environment is managed through provider-supported APIs.
Question 54
A municipal data center uses an external virtualization API and an object-storage provider, and the team assumes Terraform only works with public cloud virtual machines. A reviewer asks for BOTH a targeted technical response and a corresponding change-control safeguard. Which TWO actions together meet that requirement? (Select TWO.)
- Maintain declarative configuration and state-backed resource metadata with a reviewable plan, while keeping documentation linked to deployed reality.
- Pin required providers and keep secrets out of source files.
- Version modules and stage upgrades rather than forcing synchronized deployments.
- Evaluate supported Terraform providers for the virtualization platform and object storage to model the required resources.
- Prototype provider operations and record unmanageable resource boundaries.
Explanation
Correct Answers
D:This is one of the two necessary decisions for a safe design: Evaluate supported Terraform providers for the virtualization platform and object storage to model the required resources. Together the corrective action and its implementation safeguard need to address the recorded condition: A municipal data center uses an external virtualization API and an object-storage provider, and the team assumes Terraform only works with public cloud virtual machines. Acceptance requires The approved hybrid environment is managed through provider-supported APIs.
E:This is one of the two necessary decisions for a safe design: Prototype provider operations and record unmanageable resource boundaries. Together the corrective action and its implementation safeguard need to address the recorded condition: A municipal data center uses an external virtualization API and an object-storage provider, and the team assumes Terraform only works with public cloud virtual machines. Acceptance requires The approved hybrid environment is managed through provider-supported APIs.
Incorrect Answers
A:“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 municipal data center uses an external virtualization API and an object-storage provider, and the team assumes Terraform only works with public cloud virtual machines. The appropriate design is to evaluate supported Terraform providers for the virtualization platform and object storage to model the required resources. Confirm whether the approved hybrid environment is managed through provider-supported APIs. For a governed implementation, the complementary validated step is to prototype provider operations and record unmanageable resource boundaries.
B:“Pin required providers and keep secrets out of source files” would address a different Terraform configuration concern; the source instead describes A municipal data center uses an external virtualization API and an object-storage provider, and the team assumes Terraform only works with public cloud virtual machines. The appropriate design is to evaluate supported Terraform providers for the virtualization platform and object storage to model the required resources. Confirm whether the approved hybrid environment is managed through provider-supported APIs.
C:“Version modules and stage upgrades rather than forcing synchronized deployments” would address a different Terraform configuration concern; the source instead describes A municipal data center uses an external virtualization API and an object-storage provider, and the team assumes Terraform only works with public cloud virtual machines. The appropriate design is to evaluate supported Terraform providers for the virtualization platform and object storage to model the required resources. Confirm whether the approved hybrid environment is managed through provider-supported APIs.
Question 55
A municipal data center uses an external virtualization API and an object-storage provider, and the team assumes Terraform only works with public cloud virtual machines. 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?
- Approved disaster recovery resources can be rebuilt predictably from reviewed source.
- Each infrastructure object has one declared control plane and no competing updates.
- Developers run controlled infrastructure plans without exposing persistent credentials in code.
- The approved hybrid environment is managed through provider-supported APIs.
Explanation
Correct Answer
D:This is the appropriate measurable post-change acceptance criterion: The approved hybrid environment is managed through provider-supported APIs. A successful Terraform command or a completed change request alone would not demonstrate that outcome. Preserve this control during validation: Prototype provider operations and record unmanageable resource boundaries.
Incorrect Answers
A:“Approved disaster recovery resources can be rebuilt predictably from reviewed source” would address a different Terraform configuration concern; the source instead describes A municipal data center uses an external virtualization API and an object-storage provider, and the team assumes Terraform only works with public cloud virtual machines. The appropriate design is to evaluate supported Terraform providers for the virtualization platform and object storage to model the required resources. Confirm whether the approved hybrid environment is managed through provider-supported APIs.
B:“Each infrastructure object has one declared control plane and no competing updates” would address a different Terraform configuration concern; the source instead describes A municipal data center uses an external virtualization API and an object-storage provider, and the team assumes Terraform only works with public cloud virtual machines. The appropriate design is to evaluate supported Terraform providers for the virtualization platform and object storage to model the required resources. Confirm whether the approved hybrid environment is managed through provider-supported APIs.
C:“Developers run controlled infrastructure plans without exposing persistent credentials in code” would address a different Terraform configuration concern; the source instead describes A municipal data center uses an external virtualization API and an object-storage provider, and the team assumes Terraform only works with public cloud virtual machines. The appropriate design is to evaluate supported Terraform providers for the virtualization platform and object storage to model the required resources. Confirm whether the approved hybrid environment is managed through provider-supported APIs.
Question 56
A pharmaceutical startup reviews its infrastructure only after weekly deployments and cannot identify which change introduced an open firewall port. The infrastructure review requires a supported, least-disruptive Terraform solution. Which proposed change most directly addresses this specific situation?
- Define the boundary between infrastructure provisioning and configuration management tools for in-guest service operations.
- Apply a reviewed reusable infrastructure pattern with typed region inputs and an explicit rollout process.
- Extract genuinely shared infrastructure patterns into a reviewed module with explicit environment inputs.
- Require pull-request review and a saved plan artifact tied to the exact proposed source revision.
Explanation
Correct Answer
D:The proposed intervention addresses the reported Terraform engineering failure: A pharmaceutical startup reviews its infrastructure only after weekly deployments and cannot identify which change introduced an open firewall port. It applies the design choice Require pull-request review and a saved plan artifact tied to the exact proposed source revision. Review the primary diagnostic: Inspect the version-control diff that introduces the firewall resource setting. The expected outcome is: Every sensitive change has a traceable proposed plan before deployment. The rollout safeguard is: Bind approvals to immutable plan artifacts and least-privilege execution.
Incorrect Answers
A:“Define the boundary between infrastructure provisioning and configuration management tools for in-guest service operations” would address a different Terraform configuration concern; the source instead describes A pharmaceutical startup reviews its infrastructure only after weekly deployments and cannot identify which change introduced an open firewall port. The appropriate design is to require pull-request review and a saved plan artifact tied to the exact proposed source revision. Confirm whether every sensitive change has a traceable proposed plan before deployment.
B:“Apply a reviewed reusable infrastructure pattern with typed region inputs and an explicit rollout process” would address a different Terraform configuration concern; the source instead describes A pharmaceutical startup reviews its infrastructure only after weekly deployments and cannot identify which change introduced an open firewall port. The appropriate design is to require pull-request review and a saved plan artifact tied to the exact proposed source revision. Confirm whether every sensitive change has a traceable proposed plan before deployment.
C:“Extract genuinely shared infrastructure patterns into a reviewed module with explicit environment inputs” would address a different Terraform configuration concern; the source instead describes A pharmaceutical startup reviews its infrastructure only after weekly deployments and cannot identify which change introduced an open firewall port. The appropriate design is to require pull-request review and a saved plan artifact tied to the exact proposed source revision. Confirm whether every sensitive change has a traceable proposed plan before deployment.
Question 57
A pharmaceutical startup reviews its infrastructure only after weekly deployments and cannot identify which change introduced an open firewall port. Before choosing a remedy, the team needs independent evidence of the actual root cause. Which TWO checks most directly test this case? (Select TWO.)
- Check the two provider source addresses and tested resource capabilities.
- Verify provider documentation and authentication requirements for each target platform.
- Check whether the reviewed plan matches the commit later applied to production.
- Compare network rules across all five deployed environments with the approved architecture baseline.
- Inspect the version-control diff that introduces the firewall resource setting.
Explanation
Correct Answers
C:This is directly relevant evidence for the reported behavior: Check whether the reviewed plan matches the commit later applied to production. 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 pull-request review and a saved plan artifact tied to the exact proposed source revision. The expected confirmation is Every sensitive change has a traceable proposed plan before deployment.
E:This is directly relevant evidence for the reported behavior: Inspect the version-control diff that introduces the firewall resource setting. 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 pull-request review and a saved plan artifact tied to the exact proposed source revision. The expected confirmation is Every sensitive change has a traceable proposed plan before deployment.
Incorrect Answers
A:“Check the two provider source addresses and tested resource capabilities” would address a different Terraform configuration concern; the source instead describes A pharmaceutical startup reviews its infrastructure only after weekly deployments and cannot identify which change introduced an open firewall port. The appropriate design is to require pull-request review and a saved plan artifact tied to the exact proposed source revision. Confirm whether every sensitive change has a traceable proposed plan before deployment.
B:“Verify provider documentation and authentication requirements for each target platform” would address a different Terraform configuration concern; the source instead describes A pharmaceutical startup reviews its infrastructure only after weekly deployments and cannot identify which change introduced an open firewall port. The appropriate design is to require pull-request review and a saved plan artifact tied to the exact proposed source revision. Confirm whether every sensitive change has a traceable proposed plan before deployment.
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 pharmaceutical startup reviews its infrastructure only after weekly deployments and cannot identify which change introduced an open firewall port. The appropriate design is to require pull-request review and a saved plan artifact tied to the exact proposed source revision. Confirm whether every sensitive change has a traceable proposed plan before deployment.
Question 58
A pharmaceutical startup reviews its infrastructure only after weekly deployments and cannot identify which change introduced an open firewall port. If this behavior continues without correction, which specific risk is most closely supported by the facts, without assuming harm has already occurred?
- Manual configuration drift can expose clinical systems to unintended routes.
- Approving only the code diff may overlook computed replacement or access changes.
- Manual DNS updates can point users to retired server addresses.
- Screen-driven automation can break silently and leave partially provisioned stores.
Explanation
Correct Answer
B:The reported condition creates the specific potential exposure: Approving only the code diff may overlook computed replacement or access changes. A risk is not evidence that every adverse outcome already occurred. Two independent checks can corroborate the assessment. First diagnostic: Inspect the version-control diff that introduces the firewall resource setting. Second diagnostic: Check whether the reviewed plan matches the commit later applied to production.
Incorrect Answers
A:“Manual configuration drift can expose clinical systems to unintended routes” would address a different Terraform configuration concern; the source instead describes A pharmaceutical startup reviews its infrastructure only after weekly deployments and cannot identify which change introduced an open firewall port. The appropriate design is to require pull-request review and a saved plan artifact tied to the exact proposed source revision. Confirm whether every sensitive change has a traceable proposed plan before deployment.
C:“Manual DNS updates can point users to retired server addresses” would address a different Terraform configuration concern; the source instead describes A pharmaceutical startup reviews its infrastructure only after weekly deployments and cannot identify which change introduced an open firewall port. The appropriate design is to require pull-request review and a saved plan artifact tied to the exact proposed source revision. Confirm whether every sensitive change has a traceable proposed plan before deployment.
D:“Screen-driven automation can break silently and leave partially provisioned stores” would address a different Terraform configuration concern; the source instead describes A pharmaceutical startup reviews its infrastructure only after weekly deployments and cannot identify which change introduced an open firewall port. The appropriate design is to require pull-request review and a saved plan artifact tied to the exact proposed source revision. Confirm whether every sensitive change has a traceable proposed plan before deployment.
Question 59
A pharmaceutical startup reviews its infrastructure only after weekly deployments and cannot identify which change introduced an open firewall port. 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 pull-request review and a saved plan artifact tied to the exact proposed source revision.
- Combine policy review and measured postdeployment validation.
- Use appropriate provider configurations under Terraform to express dependencies across the two supported APIs.
- Choose appropriate configuration management and avoid indiscriminate provisioners.
- Bind approvals to immutable plan artifacts and least-privilege execution.
Explanation
Correct Answers
A:This is one of the two necessary decisions for a safe design: Require pull-request review and a saved plan artifact tied to the exact proposed source revision. Together the corrective action and its implementation safeguard need to address the recorded condition: A pharmaceutical startup reviews its infrastructure only after weekly deployments and cannot identify which change introduced an open firewall port. Acceptance requires Every sensitive change has a traceable proposed plan before deployment.
E:This is one of the two necessary decisions for a safe design: Bind approvals to immutable plan artifacts and least-privilege execution. Together the corrective action and its implementation safeguard need to address the recorded condition: A pharmaceutical startup reviews its infrastructure only after weekly deployments and cannot identify which change introduced an open firewall port. Acceptance requires Every sensitive change has a traceable proposed plan before deployment.
Incorrect Answers
B:“Combine policy review and measured postdeployment validation” would address a different Terraform configuration concern; the source instead describes A pharmaceutical startup reviews its infrastructure only after weekly deployments and cannot identify which change introduced an open firewall port. The appropriate design is to require pull-request review and a saved plan artifact tied to the exact proposed source revision. Confirm whether every sensitive change has a traceable proposed plan before deployment.
C:“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 pharmaceutical startup reviews its infrastructure only after weekly deployments and cannot identify which change introduced an open firewall port. The appropriate design is to require pull-request review and a saved plan artifact tied to the exact proposed source revision. Confirm whether every sensitive change has a traceable proposed plan before deployment.
D:“Choose appropriate configuration management and avoid indiscriminate provisioners” would address a different Terraform configuration concern; the source instead describes A pharmaceutical startup reviews its infrastructure only after weekly deployments and cannot identify which change introduced an open firewall port. The appropriate design is to require pull-request review and a saved plan artifact tied to the exact proposed source revision. Confirm whether every sensitive change has a traceable proposed plan before deployment.
Question 60
A pharmaceutical startup reviews its infrastructure only after weekly deployments and cannot identify which change introduced an open firewall port. 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 cross-cloud resources are described in one reviewed configuration with suitable API-specific providers.
- Developers run controlled infrastructure plans without exposing persistent credentials in code.
- Infrastructure and guest configuration each have accountable supported automation owners.
- Every sensitive change has a traceable proposed plan before deployment.
Explanation
Correct Answer
D:This is the appropriate measurable post-change acceptance criterion: Every sensitive change has a traceable proposed plan before deployment. A successful Terraform command or a completed change request alone would not demonstrate that outcome. Preserve this control during validation: Bind approvals to immutable plan artifacts and least-privilege execution.
Incorrect Answers
A:“The cross-cloud resources are described in one reviewed configuration with suitable API-specific providers” would address a different Terraform configuration concern; the source instead describes A pharmaceutical startup reviews its infrastructure only after weekly deployments and cannot identify which change introduced an open firewall port. The appropriate design is to require pull-request review and a saved plan artifact tied to the exact proposed source revision. Confirm whether every sensitive change has a traceable proposed plan before deployment.
B:“Developers run controlled infrastructure plans without exposing persistent credentials in code” would address a different Terraform configuration concern; the source instead describes A pharmaceutical startup reviews its infrastructure only after weekly deployments and cannot identify which change introduced an open firewall port. The appropriate design is to require pull-request review and a saved plan artifact tied to the exact proposed source revision. Confirm whether every sensitive change has a traceable proposed plan before deployment.
C:“Infrastructure and guest configuration each have accountable supported automation owners” would address a different Terraform configuration concern; the source instead describes A pharmaceutical startup reviews its infrastructure only after weekly deployments and cannot identify which change introduced an open firewall port. The appropriate design is to require pull-request review and a saved plan artifact tied to the exact proposed source revision. Confirm whether every sensitive change has a traceable proposed plan before deployment.