📡 Azure Event Grid - AZ-204 Practice Questions

Implement event-based solutions using Azure Event Grid including custom topics, event schemas, and filtering.

16Questions Available
1Exam Domains

Practice Event Grid Questions Now

Start a timed practice session focusing on Azure Event Grid topics from the AZ-204 question bank.

Start AZ-204 Practice Quiz →

AZ-204 Event Grid Question Bank (16 Questions)

Browse all 16 practice questions covering Azure Event Grid for the AZ-204 certification exam. Answers are intentionally hidden on this page so you can self-test first before checking results in quiz mode.

  1. Question 1Connect to and consume Azure services and third-party services

    A developer is building a webhook receiver for Azure Event Grid. What must the endpoint implement to pass Event Grid's subscription validation?

    AReturn a 201 Created response
    BHandle the SubscriptionValidationEvent by returning the validationCode from the event payload in a JSON response, or implement the handshake mechanism
    CImplement OAuth 2.0 for Event Grid authentication
    DReturn HTTP 204 No Content for all events

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start AZ-204 Quiz
  2. Question 2Connect to and consume Azure services and third-party services

    An Azure Event Grid subscription must filter events so that only events where 'data.status' equals 'completed' are delivered. How is this configured?

    AUsing a dead-letter destination for non-matching events
    BUsing advanced filtering on the Event Grid subscription with StringIn or StringBeginsWith operators
    CUsing an APIM policy on the Event Grid endpoint
    DUsing Service Bus message filtering

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start AZ-204 Quiz
  3. Question 3Connect to and consume Azure services and third-party services

    A developer creates an Event Grid subscription but notices duplicate event deliveries. What is the correct approach to handle this?

    AIncrease the Event Grid retry count to reduce duplicates
    BImplement idempotent event handlers that use the event ID to detect and ignore duplicates
    CSwitch to Service Bus to eliminate duplicates
    DDisable Event Grid retry policy

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start AZ-204 Quiz
  4. Question 4Connect to and consume Azure services and third-party services

    An Azure Function uses an Event Grid trigger. The developer needs to validate the webhook endpoint with Event Grid during subscription creation. How does the Function handle the validation handshake?

    AThe developer must write custom validation code
    BThe EventGridTrigger binding in Azure Functions handles the CloudEvents or Event Grid validation handshake automatically
    CThe Function must return a 200 OK with the validationCode
    DBoth B and C are correct depending on the event schema used

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start AZ-204 Quiz
  5. Question 5Connect to and consume Azure services and third-party services

    An Event Grid topic receives events, but the subscriber's endpoint is temporarily unavailable. What does Event Grid do with undelivered events by default?

    ADrops them immediately
    BRetries delivery using exponential backoff for up to 24 hours (or up to 30 retry attempts)
    CMoves them to a dead-letter queue immediately
    DBuffers them for 7 days without retrying

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start AZ-204 Quiz
  6. Question 6Connect to and consume Azure services and third-party services

    Which Azure messaging service provides AMQP-based messaging with topics and subscriptions for publish-subscribe patterns?

    AAzure Queue Storage
    BAzure Event Hubs
    CAzure Service Bus
    DAzure Relay

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start AZ-204 Quiz
  7. Question 7Connect to and consume Azure services and third-party services

    What is the difference between Azure Event Hub 'consumer groups' and Azure Service Bus 'subscriptions'?

    AThey are identical concepts
    BEvent Hub consumer groups provide independent read cursors (offsets) for different consumers reading the same event stream; Service Bus subscriptions receive independent copies of messages from a topic
    CConsumer groups are for partitioned data; subscriptions are not
    DService Bus subscriptions are older technology replaced by consumer groups

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start AZ-204 Quiz
  8. Question 8Connect to and consume Azure services and third-party services

    Which Azure Event Grid event schema property identifies the source service that published the event?

    AEventType
    BSource
    CSubject combined with EventType and Topic (which identifies the source Azure resource)
    DPublisherName

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start AZ-204 Quiz
  9. Question 9Connect to and consume Azure services and third-party services

    What is 'Azure Event Grid Domains' used for?

    ADomain-based routing in Azure DNS
    BA management structure for publishing events to a large number of topics (up to 100,000) under one endpoint, ideal for SaaS providers or IoT scenarios with per-tenant event isolation
    CActive Directory domain integration with Event Grid
    DMulti-region Event Grid deployment

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start AZ-204 Quiz
  10. Question 10Connect to and consume Azure services and third-party services

    What is the difference between Azure Event Grid and Azure Event Hubs from a developer's perspective?

    AThey are the same service
    BEvent Grid is reactive/event-driven (push model, each subscriber gets each event, low latency) for discrete events; Event Hubs is streaming/telemetry (pull model, ordered log, high-throughput, event replay)
    CEvent Hubs is for IoT only; Event Grid is for all services
    DEvent Grid is for async messaging; Event Hubs is for synchronous calls

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start AZ-204 Quiz
  11. Question 11Connect to and consume Azure services and third-party services

    What is the Azure Event Grid 'retry policy' for undelivered events?

    AEvents are discarded if the first delivery fails
    BEvent Grid retries delivery with exponential backoff for up to 24 hours (or 30 attempts); undelivered events can be sent to a dead-letter storage blob if configured
    CEvents are stored for 7 days without retry
    DEvents are immediately replayed upon failure

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start AZ-204 Quiz
  12. Question 12Connect to and consume Azure services and third-party services

    What is the Azure Event Grid 'CloudEvents schema' and why might a developer choose it over the Event Grid schema?

    AA proprietary Microsoft event schema
    BAn open standard (CNCF CloudEvents specification) for event schemas; using it enables interoperability with non-Azure event systems and tools, and may be required when publishing to Event Grid from non-Azure sources
    CA schema with larger event size limits
    DA schema optimized for high-throughput scenarios

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start AZ-204 Quiz
  13. Question 13Connect to and consume Azure services and third-party services

    An Azure Service Bus topic has three subscriptions. A message is published to the topic. How many times is the message delivered?

    AOnce, to one subscription chosen by round-robin
    BOnce per subscription — three deliveries total
    CTo the subscription that reads it first
    DThree times to each subscription (nine total)

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start AZ-204 Quiz
  14. Question 14Connect to and consume Azure services and third-party services

    A developer needs to send events to Azure Event Grid from a custom application. Which HTTP request format must be used?

    ACloudEvents 1.0 schema or Event Grid schema sent to the topic endpoint
    BAMQP 1.0 protocol
    CAzure Service Bus REST API
    DJSON posted to the Azure Monitor REST API

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start AZ-204 Quiz
  15. Question 15Connect to and consume Azure services and third-party services

    A developer needs to invoke an Azure Logic App workflow from an Event Grid event. Which Logic App trigger should be used?

    AHTTP Request trigger
    BAzure Event Grid trigger (built-in connector)
    CSchedule trigger
    DService Bus trigger

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start AZ-204 Quiz
  16. Question 16Connect to and consume Azure services and third-party services

    A developer needs to route a subset of Azure Service Bus messages on a topic to a specific subscription based on a message property. Which feature enables this?

    AService Bus queue sessions
    BTopic subscription filters (SQL filter or correlation filter)
    CMessage scheduling
    DDead-letter forwarding

    Answer hidden for practice.

    Use the interactive quiz to reveal the correct answer and explanation.

    Start AZ-204 Quiz

Key Event Grid Concepts for AZ-204

event grideventtopicsubscriptionevent handlercustom topicsystem topicdead lettercloud events

AZ-204 Event Grid Exam Tips

Azure Event Grid questions in AZ-204 are typically scenario-based. Focus on Azure application development, integration services, authentication, and runtime reliability. Priority concepts: event grid, event, topic, subscription, event handler, custom topic.

What AZ-204 Expects

  • Anchor your answer in choose managed developer services that simplify secure integration and deployment.
  • Event Grid scenarios for AZ-204 are frequently mapped to Domain 5 (15-20%), so read the objective carefully before picking controls or architecture.
  • Expect multi-topic scenarios where Event Grid interacts with identity, networking, governance, or monitoring patterns rather than appearing as an isolated question.
  • When two options are both technically valid, prefer the choice that best aligns with the exam's operational scope (Associate) and vendor best practices.

High-Value Event Grid Concepts

  • Know the core Event Grid building blocks cold: event grid, event, topic, subscription.
  • Review the edge-case features and limits for event handler, custom topic; these details are commonly used to differentiate answer choices.
  • Practice service-integration reasoning: how Event Grid pairs with Service Bus, Azure Functions in real deployment patterns.
  • For AZ-204, explain why the chosen Event Grid design meets reliability, security, and cost expectations better than the alternatives.

Common AZ-204 Traps

  • Watch for using infrastructure-heavy answers for app-level requirements.
  • Questions in Connect to and Consume Azure Services often include distractors that look correct for Event Grid but violate least-privilege, compliance, or availability requirements.
  • Avoid picking options purely by feature name; validate data path, failure handling, and governance impact before answering.
  • If the prompt hints at automation or repeatability, eliminate manual-only operational answers first.

Fast Review Checklist

  • Can you compare at least two Event Grid implementation paths and justify which one best fits the scenario?
  • Can you map the chosen answer back to Connect to and Consume Azure Services (15-20%) outcomes for AZ-204?
  • Can you explain security and access boundaries for Event Grid without relying on default-open assumptions?
  • Can you describe how Event Grid integrates with Service Bus and Azure Functions during failure, scaling, and monitoring events?

Exam Domains Covering Event Grid

Related Resources

More AZ-204 Study Resources