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

11 Comments on “How should you assign permissions?

  1. VR says:

    it asks, ” The user must not be allowed to
    create and manage availability sets for the Vms.”

    Virtual Machine Contributor role can do that
    Microsoft.Compute/availabilitySets/* Create and manage compute availability sets




    0



    0
  2. diljith_nair says:

    It specifies that the user should not be able to create and manage availability sets. Virtual Machine Contributor can do manage availability sets whereas Classic Virtual Machine Contributor cannot. Hence, the answer A is correct.




    0



    0
  3. dron says:

    Classic VM Contributor can manage Microsoft.ClassicCompute. Does the question ask about CLASSIC VM? – no!

    VM Contributor can manage Microsoft.Compute/virtualMachines and virtualMachineScaleSets. This fits except of virtualMachineScaleSets. So, either B or C. The questions states ‘all actions … except virtualMachineScaleSets’. There bunch of actions related to vm, not only Microsoft.Compute/virtualMachines, so it’s easier to remove virtualMachines rather than adding all of them. B it is.




    0



    0

Leave a Reply