Question

Difficulty: MediumAzure Resources, Resource Groups, Subscriptions, and Management Groups

An administrator is configuring the Azure resource hierarchy for a new project. The project requires deploying virtual machines in the East US region and database instances in the West US region, while grouping them logically for lifecycle management.

Which of the following statements regarding Azure Resource Groups and resources are correct? (Select two.)

  1. A single resource group can contain resources deployed in different Azure regions.Answer
  2. A resource can only belong to one resource group at any given time.Answer
  3. C
    To organize resources by tier, resource groups can be nested inside other resource groups.
  4. D
    All resources deployed inside a resource group must inherit and use the same Azure region as the resource group's location.

Answer

A single resource group can contain resources deployed in different Azure regions, and a resource can only belong to one resource group at any given time.
The correct statements are that a single resource group can contain resources deployed in different Azure regions, and a resource can only belong to one resource group at any given time. Resource groups serve as logical containers for resources, allowing you to group resources with similar lifecycles regardless of their physical Azure regions. The resource group's location specifies where metadata is stored for compliance purposes, but does not restrict resource placement. Furthermore, every resource is assigned to exactly one resource group.

Step-by-Step Solution

1
Evaluate the relationship between resource group location and resource location.
Resource groups require a location to store their deployment metadata, but the resources placed inside them can reside in any Azure region.
This confirms that a resource group can group resources from different regions, making the statement about containing resources in different regions correct.
2
Evaluate the resource membership rules within resource groups.
Every Azure resource must belong to exactly one resource group. It cannot belong to multiple resource groups.
This confirms that the statement about a resource only belonging to one resource group at a time is correct.
3
Evaluate the nesting capabilities of resource groups.
Resource groups cannot contain other resource groups (no nesting).
This rules out the option regarding nesting resource groups.
4
Evaluate location inheritance for resources from resource groups.
Resources do not inherit their region from the resource group; their region is specified independently at deployment.
This rules out the option requiring all resources to inherit and share the resource group's location.

Key Concept

Azure Resource Group scope, boundary, and location independence rules.
Rate this question