0
0
Azurecloud~20 mins

Role-Based Access Control (RBAC) in Azure - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
RBAC Mastery Badge
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding RBAC Role Assignments

In Azure RBAC, what does a role assignment link together?

AA subscription, a resource group, and a policy
BA user, a role definition, and a scope
CA service principal, a key vault, and a certificate
DA virtual machine, a network, and a storage account
Attempts:
2 left
💡 Hint

Think about what three things must be connected to grant permissions.

security
intermediate
2:00remaining
Least Privilege Principle in RBAC

You want to follow the least privilege principle in Azure RBAC. Which approach best supports this principle?

AAssign users the Reader role at the management group level
BAssign users the Owner role at the subscription level
CAssign users the Contributor role at the resource group level
DAssign users custom roles with only necessary permissions at the resource level
Attempts:
2 left
💡 Hint

Least privilege means giving only the permissions needed, no more.

service_behavior
advanced
2:00remaining
Effect of Multiple Role Assignments on Permissions

If a user has two role assignments on the same resource: Reader and Contributor, what effective permissions does the user have?

AOnly Reader permissions, because it is the most restrictive
BOnly Contributor permissions, because it is the least restrictive
CBoth Reader and Contributor permissions combined, effectively Contributor
DNo permissions due to conflict between roles
Attempts:
2 left
💡 Hint

Think about how Azure combines permissions from multiple roles.

service_behavior
advanced
2:00remaining
Role Assignment Scope Impact

You assign a user the Reader role at the resource group level. Which resources can the user read?

AAll resources inside the resource group and the resource group itself
BOnly the resource group itself, not the resources inside it
CAll resources in the subscription, including other resource groups
DOnly resources explicitly assigned to the user
Attempts:
2 left
💡 Hint

Consider what 'scope' means in Azure RBAC.

Architecture
expert
3:00remaining
Designing RBAC for Multi-Tenant Azure Environment

You manage an Azure environment hosting multiple tenants. Each tenant has its own subscription and resource groups. You want to allow tenant admins to manage only their subscription resources without affecting others. Which RBAC design best achieves this?

AAssign tenant admins Owner role at their respective subscription level only
BAssign tenant admins Owner role at the management group level containing all subscriptions
CAssign tenant admins Contributor role at the resource group level across all subscriptions
DAssign tenant admins Reader role at the subscription level and Owner role at resource group level
Attempts:
2 left
💡 Hint

Think about isolating permissions per tenant subscription.