Which statement correctly describes the main difference between Access Policies and Role-Based Access Control (RBAC) in Azure?
Think about the scope and resource types each method controls.
Access Policies are resource-specific permission settings, such as those used in Azure Key Vault to control access to secrets. RBAC is a broader system that manages permissions across many Azure resources by assigning roles.
You need to secure an Azure Key Vault so that only specific users can read secrets. Which access control method should you use?
Consider which method directly controls secret permissions inside Key Vault.
Access Policies in Azure Key Vault specifically control permissions like secret read or write. While RBAC can be used for some Key Vault operations, Access Policies are the traditional way to grant secret access.
If a user is assigned the 'Storage Blob Data Contributor' role via RBAC on a storage account, what access do they have?
Think about what the 'Storage Blob Data Contributor' role allows.
The 'Storage Blob Data Contributor' role grants permissions to read, write, and delete blob data within the storage account containers, but does not allow managing account settings or keys.
Which approach is best to manage user permissions across multiple Azure resources efficiently?
Consider how to reduce repetitive permission assignments.
Assigning RBAC roles at the resource group level allows permissions to apply to all resources inside, simplifying management and following the principle of least privilege better than broad subscription Owner roles or individual access policies.
In Azure Key Vault, if a user has an Access Policy denying secret read but is assigned an RBAC role allowing secret read, what is the effective access?
Think about which access control method takes precedence in Key Vault.
In Azure Key Vault, Access Policies are the primary control for secret permissions. If an Access Policy denies secret read, RBAC permissions do not grant access. Access Policies take precedence over RBAC for Key Vault data plane operations.