An organization is implementing a cloud-based event-driven architecture using Azure Event Grid. You are tasked with creating an event subscription for a custom Event Grid topic that forwards events to an external, third-party REST API via a Webhook.
The architecture has the following constraints and requirements:
1. Endpoint Validation: The third-party API processes incoming requests asynchronously. Upon receiving a request, it immediately returns an HTTP status code of 202 Accepted and does not support returning a JSON response body synchronously.
2. Dead-Lettering: Any events that fail to deliver must be stored in a secure Azure Blob Storage container named 'deadletters'. You must avoid storing any static credentials or SAS tokens in the subscription configuration.
Which of the following configuration strategies should you implement to satisfy these requirements?
- AConfigure the webhook to parse the synchronous validation handshake request and return the validationCode in the response headers of the HTTP 202 Accepted response, and configure dead-lettering using the custom topic's system-assigned managed identity with the Storage Blob Data Contributor role on the storage account.
- Capture the SubscriptionValidationEvent sent to the webhook, extract the validationUrl, send an HTTP GET request to that URL within 10 minutes, and configure dead-lettering by enabling a system-assigned managed identity on the custom topic and granting it the Storage Blob Data Contributor role on the storage account.Cevap
- CCapture the SubscriptionValidationEvent sent to the webhook, extract the validationUrl, send an HTTP GET request to that URL within 10 minutes, and configure dead-lettering by enabling a system-assigned managed identity on the destination storage account and granting the custom topic Reader permissions to it.
- DCapture the SubscriptionValidationEvent sent to the webhook, extract the validationUrl, send an HTTP GET request to that URL within 10 minutes, and configure dead-lettering by appending an account-level SAS token with full Read, Write, Delete, and List permissions valid for 10 years to the storage container URI.