Soru

Zorluk: OrtaImplement Azure Event Grid Solutions

A manufacturing company is implementing an Azure Event Grid custom topic to process telemetry reports from IoT sensors. Individual telemetry payloads can reach up to 100 KB100\text{ KB} in size. You plan to configure an Event Grid subscription that routes these events directly to an Azure Queue Storage queue for processing by a background service. Which statement correctly identifies the limitation of this design and the appropriate solution?

  1. Queue Storage has a maximum message size limit of 64 KB64\text{ KB}. You must store the telemetry payload in Azure Blob Storage and route only the blob URL reference via Event Grid.Cevap
  2. B
    Queue Storage endpoints require a manual webhook validation handshake. You must implement endpoint validation on the queue using a dedicated Event Grid validation endpoint URL.
  3. C
    Queue Storage requires a Shared Access Signature (SAS) token configured with write permissions scoped strictly to a single queue message. You must configure a SAS token with message-level scope.
  4. D
    Queue Storage endpoints only support user-assigned managed identities for authorization. You must replace the system-assigned managed identity on the Event Grid topic with a user-assigned identity.

Cevap

Queue Storage has a maximum message size limit of 64 KB64\text{ KB}. You must store the telemetry payload in Azure Blob Storage and route only the blob URL reference via Event Grid.
The correct answer states that Queue Storage has a maximum message size limit of 64 KB64\text{ KB}, and that the telemetry payload must be stored in Azure Blob Storage while routing only the blob URL reference. This correctly addresses the physical constraints of Azure Queue Storage and follows the Azure integration architecture guidelines.

Adım Adım Çözüm

1
Analyze the size of the payloads compared to the destination limits.
The payloads are up to 100 KB100\text{ KB}, which exceeds the 64 KB64\text{ KB} maximum message size limit of Azure Queue Storage.
Azure Queue Storage has a hard limit of 64 KB64\text{ KB} per message. Any attempt to write a larger message directly will fail.
2
Determine the appropriate pattern for handling large message payloads in Event Grid.
Use the Claim-Check pattern by storing the large payload in Azure Blob Storage.
Instead of sending the raw payload directly through the message queue, the payload is stored in a data store, and the event notification contains only the reference link.
3
Route the reference metadata through Event Grid.
The Event Grid subscriber reads the blob URL, fetches the payload, and processes it.
This keeps the event payload well below the 64 KB64\text{ KB} limit, ensuring successful delivery to Queue Storage.

Anahtar Kavram

Handling large message payloads in Event Grid subscriptions using the Claim-Check pattern.
Tahmini Süre:1m 30s
Bu soruyu puanla