Microsoft Azure Administrator (AZ104) Practice Exam 2026 - Free Azure Practice Questions and Study Guide

Session length

1 / 20

What action is permitted when a ReadOnly lock is applied to a resource group in Azure?

Generate an automation script for the resource group

When a ReadOnly lock is applied to a resource group in Azure, tasks that only involve reading information about the resources are permitted, while modifications or deletions are restricted. Generating an automation script for the resource group falls within the permitted actions as it does not alter the state of the resources. The automation script primarily retrieves information about the current configuration and deployments in the resource group.

In contrast, options involving modifications or actions that change resource states, such as uploading a blob to the storage account or starting a virtual machine, would be disallowed under a ReadOnly lock. Additionally, viewing sensitive information like storage account keys is generally not permitted in a ReadOnly context due to the potential security implications. Thus, generating an automation script represents the only action that aligns with the constraints imposed by a ReadOnly lock.

Get further explanation with Examzify DeepDiveBeta

View the storage account keys

Upload a blob to the storage account

Start the virtual machine

Next Question
Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy