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 questionsDetailed 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. ================
Keep practicing
Take the free CCPenX-Az practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other CCPenX-Az practice questions
- Question 6After authenticating as the service principal, enumerate its assigned Azure RBAC role. Wh…
- Question 7Using the previously retrieved credentials, authenticate as the App Registration within t…
- Question 8You are reviewing Azure Activity Logs after a lab compromise. Which operation indicates t…
- Question 9A virtual machine has a system-assigned managed identity. From the VM shell, which Azure …
