Home › Studies › SC-500 › Identity & Governance › RBAC & Backup Security

RBAC & Backup Security

Azure role assignments · custom roles (Azure and Microsoft Entra) · overprivileged access · Azure Backup soft delete, immutability, multi-user authorization, encryption and roles

By the tools4free.dev team · Last reviewed November 13, 2026

Practice questions for this topic →

Manage Azure built-in role assignments

A role assignment ties a security principal to a role definition at a scope. Azure RBAC is additive: your effective permissions are the sum of your role assignments.

Assignment typeMeaning
Active permanentThe user can always use the role without any action.
Active time-boundThe user can use the role without action only between start and end dates.
Eligible permanentThe user can always activate the role.
Eligible time-boundThe user can activate the role only between start and end dates.

The Assignment type tab appears at management group, subscription and resource group scopes when you have a Microsoft Entra ID P2 or Microsoft Entra ID Governance license. Eligible means the user must do something to use the role, such as an MFA check, a business justification or an approval. You cannot create eligible assignments for applications, service principals or managed identities, because they cannot perform activation steps. To skip PIM, pick Active and Permanent.

Custom roles: Azure and Microsoft Entra

Azure custom roles

Create a custom role when no built-in role fits. Typically start from an existing built-in role and modify it. Tools: Azure portal, PowerShell, CLI or REST API.

PropertyNotes
Actions / NotActionsControl plane actions allowed / excluded from the allowed actions.
DataActions / NotDataActionsData plane actions. A custom role with DataActions cannot be assigned at management group scope.
AssignableScopesWhere the role can be assigned. It also decides who can create, update, delete or view the role.

Microsoft Entra custom roles

Evaluate and remediate overprivileged access

  1. List privileged administrator role assignments: on the Role assignments tab of Access control (IAM) you see their count at the current scope. Open Manage privileged role assignments to add a condition or remove an assignment.
  2. Check owners: keep a maximum of 3 subscription owners; Defender for Cloud can monitor this.
  3. Remove unnecessary privileged assignments. Use a job function role instead of a privileged administrator role when one fits.
  4. Narrow the scope: if a privileged role is required, assign it at resource group or resource, not management group or subscription.
  5. Constrain delegation: to let someone assign roles, give Role Based Access Control Administrator with a condition instead of Owner or User Access Administrator.
  6. Reduce standing access: use PIM eligible assignments, and run PIM access reviews so stale role assignments are removed.
RoleCan assign roles?
OwnerYes (and full access to all resources).
ContributorNo. Full access to manage all resources.
User Access AdministratorYes; can give themselves or others Owner.
Role Based Access Control AdministratorYes; can give themselves or others Owner. A condition can constrain what they assign.

Azure Backup security features

Vaulted backup data sits in a Microsoft-managed subscription and tenant, separate from production. It is not a physical or offline air gap and does not replace controls over the identities that manage the vault.

ControlWhat it doesKey facts
Azure RBAC rolesSeparate duties.Backup Contributor: create and manage backups, except deleting the Recovery Services vault or granting access. Backup Operator: backup operations except removing backups and managing policies. Backup Reader: view only.
Soft deleteKeeps deleted backup data recoverable.Default retention 14 days, extendable to 180. First 14 days at no charge. Microsoft's pages differ on enforcement: the secure-by-default page says default enforcement is currently in preview for Recovery Services vaults but also describes GA behaviour, and the security overview says enforcement varies by vault type, workload and region. Treat the status as unsettled. A deleted vault moves to a soft-deleted state.
Immutable vaultBlocks operations that lose recovery points.States: Disabled, Enabled (can be disabled), Enabled and locked (irreversible, WORM). Reducing policy retention is blocked.
Multi-user authorization (MUA)A second person approves critical operations.Uses a Resource Guard owned by a different user. Disabling soft delete and removing MUA protection cannot be excluded.
EncryptionProtects data at rest and in transit.Microsoft-managed keys by default; customer-managed keys from Key Vault optional. HTTPS and TLS 1.2 or later in transit.

Immutability details

Set up MUA with a Resource Guard

  1. The Security admin creates the Resource Guard in the same region as the vault, ideally in a different subscription or tenant.
  2. Give the Backup admin the Reader role on the Resource Guard.
  3. The Backup admin enables MUA on the vault by selecting the Resource Guard.
  4. For a protected operation, the Backup admin needs the Backup MUA Operator role on the Resource Guard, ideally as a PIM eligible assignment with approvers.

CLI and PowerShell

TaskAzure CLIPowerShell
Assign an Azure roleaz role assignment create --assignee "{assignee}" --role "{roleNameOrId}" --scope "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}"New-AzRoleAssignment -SignInName <emailOrUserprincipalname> -RoleDefinitionName <roleName> -ResourceGroupName <resourceGroupName>
Create or update an Azure custom role from JSONaz role definition create --role-definition {roleDefinition}-
Create a Resource Guard for MUAaz dataprotection resource-guard create --location "Location" --tags key1="val1" --resource-group "RgName" --resource-guard-name "ResourceGuardName"New-AzDataProtectionResourceGuard -Location “Location” -Name “ResourceGuardName” -ResourceGroupName “rgName”

Exam Tips

Tick each tip once you can answer it without looking.

“A user cannot see Add role assignment enabled in Access control (IAM)” → Missing Microsoft.Authorization/roleAssignments/write; Role Based Access Control Administrator or User Access Administrator supplies it. Trap: Contributor can manage all resources but cannot assign roles.

“Script assigns a role by name and breaks after the role is renamed” → Use the unique role ID; the ID does not change when a role is renamed. Trap: Role names can change, for example a preview role losing its (Preview) label.

“RoleAssignmentLimitExceeded on a subscription” → 5000 per subscription, fixed. Assign to groups and consolidate. Eligible and future-scheduled assignments do not count; management group assignments do not count. Trap: Asking for a limit increase: it cannot be increased.

“Make a user eligible, not permanently active, for an Azure role” → Active or eligible assignment type (needs Entra ID P2 or Governance); user activates with MFA, justification or approval. Trap: Eligible assignments cannot be created for applications, service principals or managed identities.

“A custom role's NotActions removes an action, but the user can still do it” → NotActions is not a deny; another role that grants the action allows it. Trap: NotActions only subtracts from the allowed set of that one role.

“Custom role with DataActions must be used in many subscriptions” → Name one management group in AssignableScopes and assign it at each subscription; it cannot be assigned at the management group itself. Trap: DataActions roles cannot be assigned at management group scope.

“Custom role cannot be deleted: RoleDefinitionHasAssignments” → Remove all assignments of the role (including PIM eligible ones) first, then delete it. Trap: Deleting the role definition directly.

“Create a custom Microsoft Entra role” → Entra ID P1 or P2 plus Privileged Role Administrator; use the Entra admin center or Microsoft Graph. Users with the role need P1. Trap: Azure CLI does not manage Entra role assignments; Entra permissions cannot be used in Azure custom roles.

“Let a helpdesk lead assign only the Reader role, only to users” → Role Based Access Control Administrator with a condition. Trap: Owner or User Access Administrator lets the delegate assign any role, including to themselves and to Owner.

“Reduce overprivileged access on a subscription” → Max 3 owners, remove unneeded privileged assignments, job function roles, narrow scopes, PIM eligibility and access reviews. Trap: Assigning Contributor at subscription scope for convenience.

“Global Administrator cannot see any subscriptions” → Turn on elevate access: gets User Access Administrator at root scope; remove it afterwards. Trap: Entra roles do not grant access to Azure resources.

“Backup operator must start backups and restores but never delete or change policies” → Backup Operator role: everything a contributor does except removing backup and managing backup policies. Trap: Backup Contributor can also stop backup and delete data; Backup Reader is view-only.

“Prevent one compromised admin from disabling soft delete on a vault” → MUA with a Resource Guard owned by a different user, preferably in another subscription or tenant. Trap: Giving the vault admin Contributor on the Resource Guard defeats MUA. Disabling soft delete and removing MUA cannot be excluded.

“Deleted backup data must be recoverable for 30 days” → Soft delete retention is 14 days by default, extendable up to 180; days beyond 14 can incur charges. Trap: Soft delete does not give indefinite retention.

“Make backups irreversibly undeletable before retention ends” → Immutable vault set to Enabled and locked (WORM). Trap: Plain Enabled can be disabled; locking cannot be undone. Immutability does not cover operational backups of blobs, files or disks.

“Customer-managed key encryption for a vault that already has backup items” → Not supported: only new Recovery Services vaults; Key Vault in the same region with soft delete and purge protection enabled; no way back to Microsoft-managed keys. Trap: Assuming CMK can be switched on any time or reverted.

“Approvals for a protected backup operation go through automatically” → No approver configured in PIM for the Backup MUA Operator role. Trap: Assuming Resource Guard alone forces a review.

Sources

Checked against Microsoft Learn on November 13, 2026.

← Policy & ComplianceIdentity & Governance overview →