AZ-104 Microsoft Azure Administrator Training

    15# RG1 You apply a ReadOnly lock to resource group

    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?

    • 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:

    As an administrator, you may need to lock a subscription, resource group, or resource to prevent other users in your organization from accidentally deleting or modifying critical resources. ReadOnly means authorized users can read a resource, but they can't delete or update the resource. Applying this lock is similar to restricting all authorized users to the permissions granted by the Reader role.

    Incorrect Answers:

    C: A ReadOnly lock on a resource group that contains a virtual machine prevents all users from starting or restarting the virtual machine. These operations require a POST request.

    References:

    Go back to the homepage
    © 2020, Built with Jamstack Technology