An enterprise administrator is designing access controls for an Azure environment. A system auditor, User1, needs to inspect all resources across an Azure subscription named 'Subscription1'. Additionally, User1 must be able to perform management operations (such as starting, stopping, and restarting) on virtual machines within a specific resource group named 'RG-Prod'. However, User1 must not be allowed to modify permissions or assign roles to other users in any scope.
Which of the following configurations correctly implements these requirements?
- AAssign User1 the Reader role at the Subscription1 scope, and apply a ReadOnly resource lock to RG-Prod to ensure User1 cannot modify other resource types.
- Assign User1 the Reader role at the Subscription1 scope, and assign User1 the Virtual Machine Contributor role at the RG-Prod scope.Cevap
- CAssign User1 the Reader role at the Subscription1 scope, and assign an Azure Policy to RG-Prod that grants User1 virtual machine management permissions.
- DAssign User1 the Contributor role at the Subscription1 scope, and assign an Azure Policy to Subscription1 that blocks User1 from delegating permissions.
Cevap
Assign User1 the Reader role at the Subscription1 scope, and assign User1 the Virtual Machine Contributor role at the RG-Prod scope.
Assigning the Reader role at the Subscription1 scope and the Virtual Machine Contributor role at the RG-Prod scope correctly grants the ability to view all resources in the subscription, while also allowing virtual machine management within the specific resource group. Since neither role includes permissions to write role assignments, the security requirement of not allowing delegation is fully satisfied.
Adım Adım Çözüm
Anahtar Kavram
Azure Role-Based Access Control (RBAC) role assignment, inheritance, and separation from Azure Policy and Resource Locks.
Tahmini Süre:3m 0s