Question

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

A retail company is preparing to deploy an online inventory system in Azure. To organize their resources, the administrator attempts to create a resource group named `rg-retail-inventory` and plans to create a sub-resource group named `rg-inventory-database` inside it to isolate the database resources. What will be the outcome of this deployment plan?

  1. The deployment plan will fail because Azure resource groups cannot contain other resource groups.Answer
  2. B
    The sub-resource group will be created successfully because Azure allows nesting resource groups up to three levels deep.
  3. C
    The deployment will succeed only if the sub-resource group is created in the same Azure region as the parent resource group.
  4. D
    The deployment will succeed, and the sub-resource group will automatically inherit all resource tags from the parent resource group.

Answer

The deployment plan will fail because Azure resource groups cannot contain other resource groups.
The correct answer is that the deployment plan will fail because Azure resource groups cannot contain other resource groups. All resource groups in an Azure subscription exist at the same level and cannot be nested.

Step-by-Step Solution

1
Analyze the proposed resource organization structure involving nested resource groups.
The plan attempts to create a resource group inside another resource group.
To check if this hierarchy is supported by Azure Resource Manager.
2
Recall the rules governing Azure resource groups.
Azure resource groups cannot be nested inside other resource groups.
To determine the final outcome of the deployment configuration.

Key Concept

Azure resource groups are flat logical containers and cannot be nested.
Rate this question