Microsoft Azure Developer Associate AZ-204 Practice Question

Your company uses Azure Event Grid to route events from multiple services to Azure Storage queues. You must ensure that a queue subscription receives only events whose data.version field is either v2 or v3. Failed deliveries should be stored for later inspection in a storage account named dlstore. What should you do when creating the Event Grid subscription?

  • Create an event subscription for the queue endpoint that uses a StringIn advanced filter on data.version with the values v2 and v3, and configure a blob dead-letter destination in the dlstore storage account.

  • Publish the events to a new custom topic that emits only v2 and v3 versions, then deliver the topic directly to the queue with no additional filters.

  • Create an event subscription that uses a subject prefix of v2 and a suffix of v3, and set the maximum retry attempts to 30.

  • Enable default filtering and add an Azure Function subscriber that discards events whose data.version is not v2 or v3 before writing the rest to the queue.

Microsoft Azure Developer Associate AZ-204
Connect to and consume Azure services and third-party services
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot