AZ-104 · Question #179
AZ-104 Question #179: Real Exam Question with Answer & Explanation
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
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 for VM1. You apply a ReadOnly lock to RG1. What can you do from the Azure portal?
Options
- AGenerate an automation script for RG1.
- BView the keys of storageaccount1.
- CUpload a blob to storageaccount1.
- DStart VM1.
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.