AZ-104 · Question #179
You have a resource group named RG1. RG1 contains an Azure Storage account named storageaccount1 and a virtual machine named VM1 that runs Windows Server 2016. Storageaccount1 contains the disk files
The correct answer is A. Generate an automation script for RG1.. https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/lock-resources Applying ReadOnly can lead to unexpected results because some operations that don't seem to modify the resource actually require actions that are blocked by the lock. The ReadOnly lock can be
Question
Options
- AGenerate an automation script for RG1.
- BView the keys of storageaccount1.
- CUpload a blob to storageaccount1.
- DStart VM1.
How the community answered
(36 responses)- A75% (27)
- B3% (1)
- C14% (5)
- D8% (3)
Explanation
https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/lock-resources Applying ReadOnly can lead to unexpected results because some operations that don't seem to modify the resource actually require actions that are blocked by the lock. The ReadOnly lock can be applied to the resource or to the resource group containing the resource. Some common examples of the operations that are blocked by a ReadOnly lock are: A ReadOnly lock on a storage account prevents all users from listing the keys. The list keys operation is handled through a POST request because the returned keys are available for write
Community Discussion
No community discussion yet for this question.