An enterprise operates a multi-subscription Azure environment managed under a single root management group. You are designing a security and governance solution for a team of database administrators (DBAs) and a compliance auditing team.
The DBAs must be able to create and modify Azure SQL databases, but they must be prevented from deleting databases or altering SQL Server firewall rules. Their access must be limited to their 8-hour shifts, require manager approval, and scale automatically without manual role assignments when new DBAs join the team.
The compliance auditing team requires that all SQL servers automatically configure diagnostic logging to a centralized storage account without blocking database creation operations.
Which governance and access control configuration should you recommend?
- Assign a custom Azure RBAC role with `Microsoft.Sql/servers/databases/*` in Actions and `Microsoft.Sql/servers/databases/delete` in NotActions to a Microsoft Entra security group. In Microsoft Entra Privileged Identity Management (PIM), make the group eligible for the role with a maximum activation duration of 8 hours and approval requirements. Assign an Azure Policy with the DeployIfNotExists effect at the root management group scope.Cevap
- BAssign a custom Azure RBAC role with `Microsoft.Sql/servers/databases/*` in Actions and `Microsoft.Sql/servers/databases/delete` in NotActions directly to each DBA's Microsoft Entra user account. In Microsoft Entra Privileged Identity Management (PIM), make the user accounts permanently active in the role. Assign an Azure Policy with the Deny effect to block any SQL server deployments that lack diagnostic settings.
- CAssign a custom Azure RBAC role with `Microsoft.Sql/servers/databases/*` in Actions and `Microsoft.Sql/servers/databases/delete` in NotActions to a Microsoft Entra security group. In Microsoft Entra Privileged Identity Management (PIM), make the group eligible for the role with a maximum activation duration of 8 hours and approval requirements. Assign an Azure Policy with the Deny effect at the root management group scope.
- DAssign the built-in SQL DB Contributor role directly to each DBA's Microsoft Entra user account. In Microsoft Entra Privileged Identity Management (PIM), make the users active in the role with a maximum duration of 8 hours and approval requirements. Assign an Azure Policy with the DeployIfNotExists effect at the root management group scope.