Courseiva

AZ-204 Practice Question: Connect to and consume Azure services and third-party services

You need to send notifications to mobile devices when a new file is uploaded to Azure Blob Storage. Which Azure service should you use to route the event to a notification hub?

⚠ Common exam trap

A common mix-up: candidates confuse event-driven routing (Event Grid) with message queuing (Service Bus or Queue Storage) or data streaming (Event Hubs), leading candidates to pick a wrong option that handles different workloads like ordered processing or high-throughput ingestion.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Azure Event Grid

Azure Event Grid is the correct choice because it provides a fully managed event routing service that can react to Blob Storage events (such as 'BlobCreated') and deliver them directly to Azure Notification Hubs. This enables push notifications to mobile devices without polling or custom middleware, using a publish-subscribe model with low latency.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Azure Service Bus

    Why it's wrong here

    Azure Service Bus is a robust enterprise messaging broker that provides reliable asynchronous messaging capabilities, including queues and topics. While it supports publish-subscribe patterns, its primary strength lies in durable messaging, complex routing, and transactional support for decoupled application components. It is not optimized for the immediate, fan-out distribution of discrete events to numerous diverse subscribers, such as mobile devices, making it less suitable for reactive notification scenarios.

  • Azure Queue Storage

    Why it's wrong here

    Azure Queue Storage offers a simple, scalable, and durable message queuing service, primarily used for storing large numbers of messages that can be retrieved by worker processes. Its design focuses on asynchronous task processing where consumers poll the queue for messages. It lacks the inherent event-driven push model and sophisticated event routing capabilities required to efficiently fan out notifications to multiple mobile devices in response to a new event.

  • Azure Event Grid

    Why this is correct

    Azure Event Grid is the correct choice because it is a fully managed event routing service designed for building reactive, event-driven architectures. It enables you to easily publish events from various sources and deliver them to multiple subscribers, including Azure Functions or Logic Apps, which can then trigger mobile notifications. Its publish-subscribe model and ability to filter events make it ideal for efficiently fanning out discrete events to diverse endpoints for real-time alerts.

  • Azure Event Hubs

    Why it's wrong here

    Azure Event Hubs is a highly scalable data streaming platform and event ingestion service optimized for capturing, retaining, and processing millions of events per second from numerous sources. It excels at scenarios involving big data streaming, telemetry, and log ingestion for analytics. While it can ingest events, it is not primarily designed for the immediate, fan-out distribution of discrete events to multiple, diverse subscribers for direct notification purposes, unlike Event Grid.

Quick reference

Azure Blob Storage Tier Comparison

TierStorage CostRetrieval CostLatencyUse Case
HotHighestLowestImmediateActive data, frequent reads
CoolLowerHigherImmediateData accessed < once / month
ColdLower stillHigherImmediateData accessed < once / quarter
ArchiveLowestHighest + rehydration delayHoursLong-term compliance retention

About these practice questions

Courseiva writes every AZ-204 question from scratch — 881 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This AZ-204 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-204 exam.