
HashiCorp Certified:Terraform Associate
Domain 2Objective 3
2c Write Terraform Configuration Using Multiple Providers TERRAFORM-ASSOCIATE-004 Practice Questions (Page 3)
Part of the Terraform fundamentals domain, which makes up ~12% of our current practice bank. HashiCorp does not publish an official question count, but from its 60-minute exam (~25–40 total, ~3–5 in this domain), expect 1–1 from this objective — we provide 22 practice questions to prepare you well beyond it. (estimate)
22questions here
5free pages
5concepts
Questions 11–15
- 11
A Terraform configuration uses the AWS provider with two aliases: 'primary' for us-east-1 and 'secondary' for us-west-2. A resource block for an S3 bucket must be created in us-west-2. Which provider argument should be used in the resource block?
Select an answer first - 12
A developer is writing a Terraform configuration that uses the AzureRM provider. They need to authenticate using a service principal and have set the required environment variables. What is the minimal provider block needed to use the AzureRM provider?
Select an answer first - 13
In a Terraform configuration, where do you declare the required providers with their source addresses and version constraints?
Select an answer first - 14
What is required for a Terraform configuration to use both the AWS and Google Cloud providers?
Select an answer first - 15
A platform team manages infrastructure that spans AWS and Azure. They want a single Terraform configuration that provisions an S3 bucket in AWS and a resource group in Azure. The configuration will be run from a CI/CD pipeline that has credentials for both clouds. Which configuration approach satisfies this requirement?
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.