You have an Azure subscription that includes the resources listed in the following table.
| Name | Type | Description |
|---|---|---|
| RG1 | Resource Group | Used to store virtual machines |
| RG2 | Resource Group | Used to store virtual networks |
| ServerAdmins | Security Group | Used to manage virtual machines |
You need to allow ServerAdmins to perform the following task: Create a virtual machine in the existing virtual network located in RG2 only. The solution must adhere to the principle of least privilege.
Which two role-based access control (RBAC) roles should you assign to the ServerAdmins group? Each correct answer is part of the needed solution.
NOTE: Each correct selection is worth one point.
Select all that apply, then click Submit answer.
- ○ the Contributor role for the subscription
- ○ the Network Contributor role for RG2
- ○ A custom RBAC role for the subscription
- ○ a custom RBAC role for RG2
- ○ the Network Contributor role for RG1.
-
○
the Virtual Machine Contributor role for RG1.