An Azure administrator assigns a user named Alex the Reader role at the subscription level. The subscription contains a resource group named Security-RG. The administrator needs to grant Alex the ability to manage all resources within Security-RG, while also enforcing a rule that prevents any user from deploying resources outside of the East US region within Security-RG. Which configuration should the administrator implement to meet these requirements?
- Assign Alex the Contributor role at the Security-RG level, and assign an Azure policy at the Security-RG level to restrict the allowed deployment regions.Cevap
- BAssign Alex the Contributor role at the Security-RG level, and assign an Azure RBAC role at the Security-RG level to restrict the allowed deployment regions.
- CAssign Alex the User Access Administrator role at the subscription level, and apply a ReadOnly resource lock to Security-RG to restrict the allowed deployment regions.
- DAssign Alex the Owner role at the Security-RG level, and use the Owner role properties to define the allowed deployment regions.
Cevap
Assign Alex the Contributor role at the Security-RG level, and assign an Azure policy at the Security-RG level to restrict the allowed deployment regions.
Assigning Alex the Contributor role at the Security-RG level grants write, read, and delete permissions for all resources within that resource group. Since RBAC permissions are additive, this extends his Reader role from the subscription level for this specific resource group. Additionally, enforcing a resource compliance rule like limiting deployment regions requires Azure Policy, which governs resource properties.
Adım Adım Çözüm
Anahtar Kavram
Azure RBAC controls authorization (who can do what), while Azure Policy controls resource compliance (what properties resources can have).
Tahmini Süre:1m 30s