Here are all the actual test exam dumps for IT exams. Most people prepare for the actual exams with our test dumps to pass their exams. So it's critical to choose and actual test pdf to succeed.

Exam Terraform-Associate-004 Topic 3 Question 155 Discussion

Actual exam question for HashiCorp's Terraform-Associate-004 exam
Question #: 155
Topic #: 3
Exhibit.

You need to deploy resources into two different regions in the same Terraform configuration. To do this, you declare multiple provider configurations as shown in the Exhibit space on this page.
What meta-argument do you need to configure in a resource block to deploy the resource to the us-west-2 AWS region?

Suggested Answer: A Vote an answer

* Rationale for Correct answer:When multiple provider configurations are defined using an alias, Terraform requires the provider meta-argument inside the resource block to explicitly reference the aliased provider.In this case, the provider is defined as aws with alias = "west", so resources targeting us-west-2 must specify:
provider = aws.west
This tells Terraform exactly which provider configuration to use.
* Analysis of Incorrect Options (Distractors):
* B. alias = aws.west: Incorrect - alias is only used inside the provider block, not in resources.
* C. provider = west: Incorrect - Terraform requires the full provider name (aws.west), not just the alias.
* D. alias = west: Incorrect - resources do not support an alias meta-argument.
* Key Concept:Using aliased provider configurations and the provider meta-argument to deploy resources across multiple regions or accounts.
Reference:Terraform Exam Objective - Manage Terraform Resources and Providers

by Jerry at Apr 10, 2026, 08:28 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.