Your company has an Azure environment with the following hierarchy:
* Management Group: MG-Compliance
* Subscription: Sub-Audit
* Resource Group: RG-Security
* Key Vault: kv-secrets
User1 is assigned the Contributor role at the MG-Compliance scope.
User2 is assigned the Reader role at the Sub-Audit scope.
Which two statements correctly describe the inherited permissions of User1 and User2 on kv-secrets? (Select two.)
- User1 inherits Contributor permissions on kv-secrets because role assignments at a parent management group scope inherit down to all child scopes.Cevap
- User2 inherits Reader permissions on kv-secrets because role assignments at the subscription scope inherit down to all child resource groups and resources.Cevap
- CUser1 has no permissions on kv-secrets because role assignments at the management group level do not inherit to resources inside a resource group.
- DUser2 is automatically granted Owner permissions on kv-secrets if User2 is also a Global Administrator in Microsoft Entra ID.
Cevap
User1 inherits Contributor permissions on kv-secrets due to downward inheritance from the management group scope, and User2 inherits Reader permissions on kv-secrets due to inheritance from the subscription scope.
The correct statements are that the Contributor role assigned to the first user at the management group scope inherits all the way down to the Key Vault, and the Reader role assigned to the second user at the subscription scope also inherits down to the Key Vault. This is because Azure RBAC uses a strict hierarchical inheritance model where permissions propagate downward from parent scopes to child resources.
Adım Adım Çözüm
Anahtar Kavram
Azure RBAC inheritance and scope hierarchy