Soru

Zorluk: OrtaAzure Subscription Management and Cost Control

An organization's Azure environment features a management group named `MG-Global` that contains two subscriptions: `Sub-APAC` and `Sub-EMEA`. A storage account named `stglobalcosts` is located in a resource group named `rg-reporting` inside the `Sub-APAC` subscription.

You need to configure a daily export of the combined cost data for both subscriptions to the `stglobalcosts` storage account.

What should you do?

  1. Configure a single cost export at the `MG-Global` management group scope, and select `stglobalcosts` as the destination.Cevap
  2. B
    Configure two separate cost exports, one at the `Sub-APAC` subscription scope and one at the `Sub-EMEA` subscription scope, because cost exports cannot be configured at the management group scope.
  3. C
    Create a new resource group directly under the `MG-Global` management group, move `stglobalcosts` to it, and configure the cost export at the management group scope.
  4. D
    Apply a `ReadOnly` resource lock to the `Sub-APAC` subscription to secure the reporting configuration, and configure the cost export at the `MG-Global` scope.

Cevap

Configure a single cost export at the `MG-Global` management group scope, and select `stglobalcosts` as the destination.
Azure Cost Management exports can be configured at the management group scope. This allows combined cost data from all subscriptions under the management group to be exported to a single storage account within the same Microsoft Entra tenant.

Adım Adım Çözüm

1
Identify the target scope to aggregate cost data from both subscriptions.
The target scope must be the parent management group, `MG-Global`, which encompasses both `Sub-APAC` and `Sub-EMEA` subscriptions.
Creating exports at the individual subscription level would require managing multiple export schedules and manually merging separate output datasets.
2
Select the destination storage account for the export.
Choose the `stglobalcosts` storage account located within `Sub-APAC`.
Azure Cost Management exports configured at the management group scope can write to any storage account in the same tenant, regardless of which subscription hosts the storage account.
3
Evaluate the impact of subscription-level configurations such as locks.
Ensure no `ReadOnly` resource locks are applied to the subscription containing the destination storage account.
A `ReadOnly` lock would inherit down to the storage account, preventing the Cost Management export service from writing new data files to it.

Anahtar Kavram

Azure Cost Management Export scopes and storage destinations
Bu soruyu puanla