Soru

Zorluk: OrtaAzure Resources, Resource Groups, Subscriptions, and Management Groups

An administrator is setting up an Azure environment for a new sales application. The administrator creates a resource group named rg-sales-data and sets its location to North Europe. The database for the application must be deployed in West Europe to meet local compliance requirements, while the virtual machine can be deployed in North Europe. Which configuration option should the administrator use to deploy these resources?

  1. Deploy both the database in West Europe and the virtual machine in North Europe directly within the rg-sales-data resource group.Cevap
  2. B
    Create a nested resource group named rg-nested-db inside rg-sales-data, set its location to West Europe, and deploy the database there.
  3. C
    Deploy both resources in North Europe, because all resources in a resource group must reside in the same geographical region as the resource group itself.
  4. D
    Deploy the database in West Europe under rg-sales-data only after modifying the resource group's location to West Europe, as resources cannot reside in a different location than their parent resource group.

Cevap

Deploy both the database in West Europe and the virtual machine in North Europe directly within the rg-sales-data resource group.
The correct configuration is to deploy both the database in West Europe and the virtual machine in North Europe directly within the rg-sales-data resource group. Azure resource groups do not restrict the location of the resources they contain. A resource group's location is only used to store its metadata, allowing you to group resources that share a lifecycle even if they are deployed in different regions.

Adım Adım Çözüm

1
Analyze the relationship between resource group location and resource location.
The resource group location determines where its metadata is stored, but it does not restrict the geographic region of the resources placed inside it.
This allows resources from different regions to share the same lifecycle management within a single resource group.
2
Evaluate the possibility of nesting resource groups.
Azure does not support nesting resource groups within other resource groups.
Resource groups are flat containers immediately under an Azure subscription.
3
Select the configuration that successfully deploys the database in West Europe and the virtual machine in North Europe under the single rg-sales-data resource group.
The correct option is to deploy both resources directly inside rg-sales-data, despite them residing in different regions.
This is fully supported in Azure and aligns with resource group architecture rules.

Anahtar Kavram

Azure resource groups act as logical containers for resources, and resources inside a resource group can reside in different regions than the resource group itself. Additionally, resource groups cannot be nested.
Bu soruyu puanla