Your organization's Azure environment is structured with the following resource hierarchy:
- Tenant Root Group (Management Group)
- Corp-MG (Management Group)
- Corp-Sub (Subscription)
- Dev-RG (Resource Group)
- VM1 (Virtual Machine)
- Storage1 (Storage Account)
You need to assign Azure Role-Based Access Control (RBAC) roles to a developer named User1 at the Dev-RG scope. User1 must be able to start, stop, and restart VM1, and view the configuration settings of Storage1. User1 must not be able to delete or modify any other resources in the resource group.
Which two built-in Azure RBAC roles should you assign to User1 to meet the requirements while adhering to the principle of least privilege? Select two.
- Virtual Machine ContributorCevap
- ReaderCevap
- CContributor
- DGlobal Administrator
Cevap
Assign the Virtual Machine Contributor role and the Reader role to the developer.
To meet the requirements, the user must be assigned the Virtual Machine Contributor role, which allows managing virtual machine power states (start, stop, restart), and the Reader role, which allows viewing resource configurations (such as the storage account) without making any modifications. Together, these roles grant the exact permissions needed without exceeding the scope of the developer's tasks.
Adım Adım Çözüm
Anahtar Kavram
Azure Role-Based Access Control (RBAC) Built-in Roles and Least Privilege