Soru

Zorluk: KolayImplement Azure Event Hubs Solutions

Your company is developing a background service to process telemetry from an Azure Event Hub. The service is written in C# using the .NET SDK, and it utilizes the `EventProcessorClient` class. To coordinate partition ownership and perform checkpointing, the service uses an Azure Blob Storage container as its checkpoint store.

Which configuration or permission is required to ensure that the `EventProcessorClient` can successfully coordinate partition ownership between multiple running instances of the service?

  1. The service's identity must have permissions to read, write, and manage leases on the blobs within the specified Azure Blob Storage container.Cevap
  2. B
    The service must be configured with code that explicitly deletes the active blob leases in the container before each partition checkpoint operation.
  3. C
    The service must be configured to use a single, shared user-assigned managed identity across development, test, and production environments.
  4. D
    The service must be granted a Key Vault Access Policy with cryptographic decrypt permissions to access the metadata files in the container.

Cevap

The service's identity must have permissions to read, write, and manage leases on the blobs within the specified Azure Blob Storage container.
The correct answer is correct because the EventProcessorClient coordinates partition ownership by creating metadata blobs in the checkpoint store and acquiring leases on them. Thus, the client requires read, write, and lease management permissions on the container.

Adım Adım Çözüm

1
Analyze how EventProcessorClient coordinates partition distribution.
The EventProcessorClient uses Azure Blob Storage as a checkpoint store, where each partition is represented by a blob.
Understanding the backend mechanism helps identify the required permissions and actions.
2
Determine the role of blob leases in partition coordination.
The processor instances acquire leases on these blobs to claim ownership of specific partitions.
This establishes that lease management permissions are essential for proper load balancing and ownership tracking.
3
Select the option that matches the required permissions.
Permissions to read, write, and manage leases are required on the target container.
Without these permissions, the client cannot check state, update checkpoints, or hold partition leases.

Anahtar Kavram

Azure Event Hubs EventProcessorClient checkpointing and partition coordination with Azure Blob Storage
Tahmini Süre:45s
Bu soruyu puanla