You are developing a C# console application that will run in an Azure Container Instance (ACI). The application is designed to consume telemetry data from an Azure Event Hub using the EventProcessorClient from the Azure.Messaging.EventHubs NuGet package. Checkpointing and partition ownership must be tracked using Azure Blob Storage, and the application must authenticate using a user-assigned managed identity.
Which of the following Azure role-based access control (RBAC) roles must you assign to the managed identity to ensure the application can both read events and manage checkpoints? (Select TWO.)
- Storage Blob Data Contributor on the Azure Storage containerCevap
- Azure Event Hubs Data Receiver on the Azure Event HubCevap
- CStorage Blob Data Reader on the Azure Storage container
- DAzure Event Hubs Data Sender on the Azure Event Hub
Cevap
Storage Blob Data Contributor on the Azure Storage container and Azure Event Hubs Data Receiver on the Azure Event Hub
To consume events and track progress, the managed identity requires both the Azure Event Hubs Data Receiver role to read events from the partitions, and the Storage Blob Data Contributor role on the storage container to create, modify, and delete lease/checkpoint blobs.
Adım Adım Çözüm
Anahtar Kavram
Azure Event Hubs consumer permissions and Blob Storage checkpointing role requirements