
HashiCorp Certified:Terraform Associate
Domain 4Objective 2
4b Refer to Resource Attributes and Create Cross-Resource References TERRAFORM-ASSOCIATE-004 Practice Questions (Page 1)
Part of the Terraform configuration domain, which makes up ~22% of our current practice bank. HashiCorp does not publish an official question count, but from its 60-minute exam (~25–40 total, ~6–9 in this domain), expect 1–1 from this objective — we provide 9 practice questions to prepare you well beyond it. (estimate)
9questions here
2free pages
4concepts
Questions 1–5
- 1
Which statement accurately describes implicit dependencies in Terraform?
Select an answer first - 2
A team is using Terraform to manage infrastructure across multiple environments (dev, staging, prod). They have a configuration that creates a VPC and a subnet. The subnet references the VPC ID. In the dev environment, they want to skip the subnet creation. What is the best way to conditionally create the subnet while maintaining the dependency?
Select an answer first - 3
In a Terraform configuration, resource B references an attribute of resource A. How does Terraform handle the order of operations?
Select an answer first - 4
A developer is writing a Terraform configuration for a Google Cloud storage bucket. They need to set the bucket's location to the same region as a compute instance. Which expression correctly references the instance's zone to derive the region?
Select an answer first - 5
A team is managing a Terraform configuration that creates an Azure virtual network and a subnet. The subnet references the VNet's name. During terraform plan, the team sees that the VNet will be updated before the subnet. What is the reason for this order?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by HashiCorp. “TERRAFORM-ASSOCIATE-004” is a trademark of its owner, used for identification only.