Soru

Zorluk: OrtaResource Governance: Resource Groups, Tags, and Resource Locks

An administrator manages an Azure subscription. A resource group named `rg-analytics-prod` has a tag named `CostCenter: Finance` and a `ReadOnly` resource lock. Inside `rg-analytics-prod`, there is an Azure Storage account named `sa-analytics`.

The administrator needs to perform the following actions:
1. Verify the tags currently applied to the `sa-analytics` storage account.
2. Modify the configuration of `sa-analytics` to enable public network access.

Which of the following describes the outcome of these actions?

  1. The storage account does not inherit the tag, and the configuration modification is blocked.Cevap
  2. B
    The storage account automatically inherits the tag, and the configuration modification is blocked.
  3. C
    The storage account does not inherit the tag, and the configuration modification succeeds.
  4. D
    The storage account automatically inherits the tag, and the configuration modification succeeds.

Cevap

The storage account does not inherit the tag, and the configuration modification is blocked.
The correct answer is correct because Azure tags applied to a resource group are not inherited by resources within that group. Meanwhile, resource locks are inherited by all child resources, and a ReadOnly lock blocks write and update operations, including changing the configuration of a storage account.

Adım Adım Çözüm

1
Analyze the tag inheritance behavior for the storage account.
The storage account does not automatically inherit the 'CostCenter: Finance' tag applied to its parent resource group.
Azure Resource Manager does not automatically propagate tags from a resource group to the resources inside it.
2
Analyze the lock inheritance behavior and its impact on the configuration modification.
The storage account inherits the 'ReadOnly' lock, and the attempt to enable public network access is blocked.
Resource locks are inherited by child resources, and a 'ReadOnly' lock prevents any updates or modifications to the resource configuration.

Anahtar Kavram

Resource lock and tag inheritance behavior in Azure Resource Manager
Tahmini Süre:1m 15s
Bu soruyu puanla