
HashiCorp Certified:Terraform Associate
Domain 2Objective 3
2c Write Terraform Configuration Using Multiple Providers TERRAFORM-ASSOCIATE-004 Practice Questions (Page 2)
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 6–10
- 6
A Terraform configuration includes both an AWS provider block and an AzureRM provider block. What does this configuration demonstrate?
Select an answer first - 7
A Terraform configuration uses the AWS provider with a default block and an alias 'secondary'. The default block sets region to us-east-1, and the alias sets region to eu-west-1. A resource block does not specify a provider argument. In which region will the resource be created?
Select an answer first - 8
A configuration uses two providers: AWS and Azure. A resource block for an Azure resource group accidentally includes provider = aws. What will happen when terraform plan is run?
Select an answer first - 9
A Terraform configuration uses the AWS provider with a default block and an alias 'replica'. The default block is missing the region argument, but the environment variable AWS_DEFAULT_REGION is set to us-west-2. The alias block sets region to us-east-1. A resource that does not specify a provider will be created in which region?
Select an answer first - 10
A configuration uses the AzureRM provider with two aliases: 'prod' and 'dev'. The 'prod' alias uses a service principal with production credentials, and 'dev' uses a different service principal. A resource group must be created in the 'dev' subscription. What is the correct provider argument?
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.