An administrator needs to configure secure data plane access to an Azure Storage Queue named incoming-orders-queue for an application registered as a service principal named OrderProcessorSP. The application must be able to read, peek, and delete messages from the queue during execution, but it must not be able to send new messages or manage the queue structure. Following the principle of least privilege, which Azure role-based access control (RBAC) role should the administrator assign to OrderProcessorSP?
- AReader
- BStorage Queue Data Reader
- Storage Queue Data Message ProcessorCevap
- DStorage Queue Data Contributor
Cevap
Storage Queue Data Message Processor
The correct role is Storage Queue Data Message Processor. This built-in Azure RBAC role allows an identity to read, peek, and delete messages from a queue, which is exactly the set of permissions required for a message processor application. It adheres to the principle of least privilege by not permitting message generation (sending) or queue management operations.
Adım Adım Çözüm
Anahtar Kavram
Selecting the least-privilege Azure built-in RBAC role for data plane operations in Azure Storage queues.
Tahmini Süre:1m 30s