Azure Administrator AZ-104 · Manage Azure Identities and Governance · hard

A resource group named RG-Prod-DB has a ReadOnly resource lock applied at the resource group level. Inside RG-Prod-DB, there is an Azure Storage Account (stproddb01) that uses account access keys. Which two operations will fail while the ReadOnly lock remains active? (Select two.)

Published · Last updated · checked before publication — how we verify questions

Options

  • AReading existing subscription tags using Get-AzResourceGroup
  • BListing the storage account access keys via listKeys (POST)Correct answer
  • CViewing Azure Monitor platform metrics in the Azure portal dashboard
  • DDeleting an unused virtual network subnet inside RG-Prod-DBCorrect answer

Answers: B. Listing the storage account access keys via listKeys (POST); D. Deleting an unused virtual network subnet inside RG-Prod-DB

A ReadOnly lock blocks all Azure Resource Manager (Microsoft.Storage/...) write (PUT/PATCH), delete (DELETE), and state-modifying POST operations. Calling listKeys on a storage account is a POST action in ARM (Microsoft.Storage/storageAccounts/listKeys/action) because someone with those keys can modify data, so ReadOnly locks block listKeys (B) as well as deleting or creating resources in the resource group (D).

Why the other options are wrong

  • A. Reading existing subscription tags using Get-AzResourceGroup — ARM GET operations remain permitted under a ReadOnly lock.
  • C. Viewing Azure Monitor platform metrics in the Azure portal dashboard — Viewing platform metrics is a read-only GET operation and is not blocked.

All Manage Azure Identities and Governance questions and the topic overview →

Microsoft and Azure are trademarks of Microsoft Corporation. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Microsoft Corporation.