Courseiva
Provider ManagementmediumMultiple ChoiceObjective-mapped

AWS provider Provider Management Practice Question

You need to manage resources in two different AWS regions using the same provider configuration. How do you achieve this?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Use an alias in the provider block and reference it in the resource using the provider meta-argument.

Using alias in the provider block allows you to define multiple configurations for the same provider.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Define the region twice in a single provider block.

    Why it's wrong here

    A provider block only accepts one region per instance.

  • Define two separate aws providers in the same file without aliases.

    Why it's wrong here

    Terraform requires aliases if multiple instances of the same provider are used.

  • Create two separate Terraform projects.

    Why it's wrong here

    While possible, it is not the standard way to handle multi-region within one configuration.

  • Use an alias in the provider block and reference it in the resource using the provider meta-argument.

    Why this is correct

    The provider meta-argument links a resource to a specific aliased provider instance.

About these practice questions

This AWS provider question is part of Courseiva's 193-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed August 2026 · checked against the official HashiCorp exam blueprint

This AWS provider practice question is part of Courseiva's free HashiCorp certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AWS provider exam.