An administrator is planning the deployment of a new multi-tier application in Azure and proposes the following resource configuration:
1. Create a parent resource group named RG-Prod in the North Europe region.
2. Create a child resource group named RG-DB nested inside RG-Prod to isolate database resources.
3. Deploy an Azure SQL Database to the West Europe region, but place it within the RG-DB resource group.
4. Apply cost-center tags to RG-DB and rely on the database to automatically inherit these tags.
Which statement correctly identifies the validity of this proposed configuration?
- AOnly the tag inheritance is invalid; resource groups can be nested, and resources can be deployed to a different region than their resource group.
- BOnly the deployment of the SQL database to a different region is invalid because resources must reside in the same region as their resource group; nesting and tag inheritance are fully supported.
- Only the deployment of the SQL database to a different region than its resource group is valid; resource groups cannot be nested, and resources do not inherit tags from their resource group.Answer
- DOnly the nesting of resource groups is invalid; the database can reside in a different region than its resource group and it will automatically inherit the tags applied to the resource group.
Answer
Only the deployment of the SQL database to a different region than its resource group is valid; resource groups cannot be nested, and resources do not inherit tags from their resource group.
The correct option is valid because Azure allows resources to reside in a different region than their resource group. Resource group nesting is not supported, and resources do not automatically inherit tags applied to their resource group.
Step-by-Step Solution
Key Concept
Azure resource groups are flat, non-nested logical containers that can hold resources from different regions, and they do not automatically propagate tags to the resources they contain.