PrepAway - Latest Free Exam Questions & Answers

How should you assign permissions?

You are an administrator of an Azure subscription for your company.
Management asks you to configure Azure permissions for a user in your Azure Active Directory (Azure AD).
The user must be able to perform all actions on the virtual machines (VMs). The user must not be allowed to
create and manage availability sets for the Vms.
You need to implement the required permissions with the least administrative effort.
How should you assign permissions?

PrepAway - Latest Free Exam Questions & Answers

A.
Use Windows PowerShell to assign the Classic Virtual Machine Contributor role to the user.

B.
Use Windows PowerShell to create a custom role from the Virtual Machine Contributor role and then use
NotActions to customize the role permissions.

C.
Implement a custom role through the Azure Portal and customize the role by adding the appropriate
permissions.

D.
Assign the Virtual Machine Contributor role to the user.

Explanation:
https://docs.microsoft.com/en-us/azure/active-directory/role-based-access-built-in-roles#classic-virtualmachine-contributor

9 Comments on “How should you assign permissions?

  1. fracks says:

    I think answer is wrong.
    Classic Virtual Machine Contributor can manage Classic virtual machines, but not the virtual network or storage account to which they are connected
    Virtual Machine Contributor can manage virtual machines, but not the virtual network or storage account to which they are connected.
    The question does not mention classic VMs so my answer is D.




    1



    0
  2. Jack says:

    I would go with B.

    A is for Classic VMs, the exam is based on ARM VMs and it does not state on the question that the VMs are classic.

    C. Custom role is more work.

    D. Will give permissions to Microsoft.Compute/availabilitySets/* Create and manage compute availability sets which is not what the question ask for. The “The user must not be allowed to
    create and manage availability sets for the Vms.”




    1



    0
  3. goldenking385 says:

    Unless there’s an error in the question it seems to be correct
    according to this link, virtual contributor role can access availability sets.

    https ocs.microsoft.com/en-us/azure/role-based-access-control/built-in-roles#virtual-machine-contributor




    0



    0

Leave a Reply