A startup is deploying a web application that requires resources in both the East US and West Europe regions. The team needs to manage the lifecycle of these resources together as a single logical unit and track their costs using metadata tags. Which approach should the team use to organize and tag these resources?
- ACreate a parent resource group in East US, nest a child resource group inside it for the West Europe resources, and apply tags only to the parent resource group.
- Deploy all resources to a single resource group, specifying the appropriate region (East US or West Europe) for each resource, and apply tags individually to both the resource group and each resource.Cevap
- CCreate two separate resource groups, because Azure resources must reside in the same region as their containing resource group, and apply tags to both groups.
- DDeploy all resources to a single resource group, apply the required tags to that resource group, and rely on the containing resources to automatically inherit these tags.
Cevap
Deploying all resources to a single resource group across different regions and applying tags directly to both the resource group and the individual resources is the correct approach.
The correct approach is to place all resources in a single resource group and apply tags to individual resources. A resource group acts as a logical container that can hold resources deployed in different geographical regions. However, because resources do not automatically inherit tags from their resource group, tags must be applied to each resource individually to ensure accurate cost tracking.
Adım Adım Çözüm
Anahtar Kavram
Azure Resource Group regional flexibility, nesting limits, and resource tag non-inheritance.