A canal-authority night shift must restart only the virtual machine that opens Lock 7, but last week an operator received rights on the entire subscription. Which Azure RBAC assignment scope still lets that operator restart the VM while following least privilege?
Select an answer to reveal the explanation.
Short Explanation
Think of the canal as nested boxes: management group, subscription, resource group, then the single lock VM. Hand the night shift the key to that one VM box—Virtual Machine Contributor on the Lock 7 resource—so they can restart it without opening every other lock on the waterway.
Full Explanation
Azure RBAC scopes nest from management group to subscription to resource group to resource. Assigning a job-function role at the individual virtual machine grants restart and related compute actions on that resource only. Broader scopes inherit downward and expand blast radius; Azure Policy is not a substitute for choosing the correct assignment scope.