CCPenX-Az practice question 10 of 10

Using the managed identity principal ID discovered in the previous task, identify which Azure RBAC role is assigned to it.

Full set: 31 questions
Answer options
A: Reader
B: Storage Blob Data Reader
C: Key Vault Secrets User Correct answer
D: Contributor
Correct Answer:
C. Key Vault Secrets User
Explanation

Detailed Solution: Query role assignments for the managed identity principal:
az role assignment list \
--assignee b72a4c19-92f6-47f3-b3dd-9db5a31831d1 \ --all \ --output table Expected output: Principal Role Scope ------------------------------------ ---------------------- ---------------------------------------------- b72a4c19-92f6-47f3-b3dd-9db5a31831d1 Key Vault Secrets User /subscriptions/.../resourceGroups/rg-prod-apps-eastus The assigned role is: Key Vault Secrets User Azure RBAC role assignments can be granted to users, groups, service principals, and managed identities. ================

Scroll to Top