To support a new analytics project, a junior database administrator must be given the ability to deploy and delete Azure SQL databases within an Azure resource group named Analytics-RG. However, to ensure security compliance, the junior administrator must be prevented from delegating access rights or assigning roles to other team members.
Which action should you perform to meet these requirements using the principle of least privilege?
- AAssign the Owner role to the junior administrator for the Analytics-RG resource group.
- Assign the Contributor role to the junior administrator for the Analytics-RG resource group.Cevap
- CAssign the User Access Administrator role to the junior administrator for the Analytics-RG resource group.
- DAssign the Reader role to the junior administrator for the Analytics-RG resource group and apply an Azure Policy that permits database creation.
Cevap
Assign the Contributor role to the junior administrator for the Analytics-RG resource group.
The Contributor role permits full management of Azure resources (including deploying and deleting SQL databases) within the assigned scope, but it does not allow the assignment of roles in Azure RBAC. Assigning this role at the Analytics-RG resource group level fulfills all requirements while adhering to the principle of least privilege.
Adım Adım Çözüm
Anahtar Kavram
Azure Role-Based Access Control (RBAC)