Microsoft Azure Administrator (legacy) — Question 14
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?
Answer options
- A. Generate an automation script for RG1.
- B. View the keys of storageaccount1.
- C. Start VM1.
- D. Upload a blob to storageaccount1.
Correct answer: B
Explanation
The correct answer is B because the ReadOnly lock allows you to view existing resources and their keys, but it prevents any modifications or deletions. Options A, C, and D involve modifying resources or their states, which is not permitted under a ReadOnly lock.