πŸ”’ Guided

Pre-launch preview. Authorised access only.

Incorrect code

Guided by A Guide to Cloud
Explore AB-900 AI-901
Guided AZ-305 Domain 4
Domain 4 β€” Module 5 of 12 42%
23 of 30 overall

AZ-305 Study Guide

Domain 1: Design Identity, Governance, and Monitoring Solutions

  • Monitoring & Logging Design
  • Choosing Authentication Methods
  • Designing Identity Management
  • Authorizing Access to Resources
  • Secrets, Keys & Certificates
  • Governance at Scale
  • Compliance & Identity Governance

Domain 2: Design Data Storage Solutions

  • Relational Data: Choosing Your SQL Platform
  • Database Performance & Scalability
  • Database Security & Compliance
  • Cosmos DB & Semi-Structured Data
  • Blob, Data Lake & Azure Files
  • Data Integration & Analytics

Domain 3: Design Business Continuity Solutions

  • Recovery Objectives: RPO, RTO & SLA Free
  • Backup & Recovery for Compute Free
  • Backup for Databases & Unstructured Data Free
  • High Availability for Compute Free
  • High Availability for Data Free

Domain 4: Design Infrastructure Solutions

  • Compute Design: VMs & When to Use Them
  • Container Solutions: AKS, ACI & Container Apps
  • Serverless & Batch Processing
  • Messaging Architecture
  • Event-Driven Architecture
  • API Integration & Caching
  • App Configuration & Automated Deployment
  • Migration Strategy & Assessment
  • Executing Migrations
  • Network Connectivity: Internet & Hybrid
  • Network Security & Performance
  • Load Balancing & Routing

AZ-305 Study Guide

Domain 1: Design Identity, Governance, and Monitoring Solutions

  • Monitoring & Logging Design
  • Choosing Authentication Methods
  • Designing Identity Management
  • Authorizing Access to Resources
  • Secrets, Keys & Certificates
  • Governance at Scale
  • Compliance & Identity Governance

Domain 2: Design Data Storage Solutions

  • Relational Data: Choosing Your SQL Platform
  • Database Performance & Scalability
  • Database Security & Compliance
  • Cosmos DB & Semi-Structured Data
  • Blob, Data Lake & Azure Files
  • Data Integration & Analytics

Domain 3: Design Business Continuity Solutions

  • Recovery Objectives: RPO, RTO & SLA Free
  • Backup & Recovery for Compute Free
  • Backup for Databases & Unstructured Data Free
  • High Availability for Compute Free
  • High Availability for Data Free

Domain 4: Design Infrastructure Solutions

  • Compute Design: VMs & When to Use Them
  • Container Solutions: AKS, ACI & Container Apps
  • Serverless & Batch Processing
  • Messaging Architecture
  • Event-Driven Architecture
  • API Integration & Caching
  • App Configuration & Automated Deployment
  • Migration Strategy & Assessment
  • Executing Migrations
  • Network Connectivity: Internet & Hybrid
  • Network Security & Performance
  • Load Balancing & Routing
Domain 4: Design Infrastructure Solutions Premium ⏱ ~15 min read

Event-Driven Architecture

Azure Event Grid, Event Hubs, and reactive patterns β€” design systems that respond to events in real-time with fan-out, filtering, and massive throughput.

Event-driven design

β˜• Simple explanation

Events are notifications that something happened. β€œA file was uploaded.” β€œA user signed in.” β€œA temperature sensor reading exceeded 100Β°C.” Unlike messages (commands), events don’t tell anyone what to do β€” they just announce what happened.

Event Grid: Routes events from Azure services to handlers. Low latency, per-event pricing. Like a postal service for notifications.

Event Hubs: Ingests millions of events per second for streaming analytics. Like a firehose for telemetry data.

The distinction matters for AZ-305: Event Grid for reactive event routing, Event Hubs for high-throughput streaming.

Event-driven architecture separates producers from consumers through events:

  • Event Grid: Fully managed event routing service β€” pub/sub with filtering, dead-lettering, and retry
  • Event Hubs: Big data streaming platform β€” partition-based, consumer groups, capture to storage
  • Key difference: Event Grid routes discrete events (push model). Event Hubs ingests continuous streams (pull model with consumer groups).

Event Grid vs Event Hubs

Azure Event Grid vs Event Hubs
FactorEvent GridEvent Hubs
PatternReactive event routing (push)Big data streaming (pull)
Throughput10M events/sec per topicMillions of events/sec per namespace
LatencySub-second (real-time push)Low (consumer pulls at own pace)
Delivery modelPush to subscribers (webhook, Functions, queues)Pull by consumer groups (partition-based)
Event retention24 hours (retry window)Standard: up to 7 days; Premium/Dedicated: up to 90 days (use Capture for long-term archive)
FilteringYes β€” subject prefix, suffix, advanced filtersNo β€” consumers read all events in partition
OrderingNot guaranteedGuaranteed within partition
Replay/reprocessNo β€” events pushed once (with retry)Yes β€” consumers can rewind and replay
Cost modelPer-event ($0.60/million)Throughput units + storage
Best forAzure service events, webhooks, reactive automationIoT telemetry, clickstream, log aggregation, SIEM ingestion

The exam distinction: Event Grid = β€œsomething happened, react to it” (push). Event Hubs = β€œcapture everything for processing” (pull). If the scenario says β€œrespond when a blob is created” β†’ Event Grid. If it says β€œingest 1 million sensor readings per second” β†’ Event Hubs.

Event Grid use cases

Event SourceEventHandlerScenario
Blob StorageBlob createdAzure FunctionProcess uploaded images (resize, thumbnail)
Resource GroupResource modifiedLogic AppNotify team when resource config changes
Entra IDUser provisionedFunctionAuto-assign licenses to new users
Custom appOrder placedService Bus queueFan-out to fulfilment, billing, notification

Event Hubs use cases

Event SourceVolumeConsumerScenario
IoT devices1M events/secStream AnalyticsReal-time temperature monitoring
Web clickstream100K events/secDatabricksUser behaviour analytics
Application logs500K events/secAzure SentinelSecurity event correlation
Financial trades50K events/secCustom consumerReal-time risk calculation

🏦 Elena’s event architecture:

  • Event Grid triggers a Function when audit logs arrive in Blob Storage β†’ parses and indexes for compliance search
  • Event Hubs ingests card transactions at 10M/hour β†’ Stream Analytics detects fraud patterns β†’ alerts via Functions

The full messaging/event landscape

When to Use Each Service
ServicePatternKey Signal
Queue StorageSimple queuingHigh volume, low cost, no ordering needed
Service BusEnterprise messagingFIFO ordering, transactions, dead-letter, pub-sub
Event GridReactive event routingPush events to handlers, filtering, Azure service integration
Event HubsStreaming ingestionMillions of events/sec, replay, analytics pipeline

Knowledge check

Question

What's the key difference between Event Grid and Event Hubs?

Click or press Enter to reveal answer

Answer

Event Grid pushes discrete events to subscribers (reactive routing) β€” sub-second, per-event pricing. Event Hubs ingests continuous streams that consumers pull (big data streaming) β€” partition-based, replay capability. Event Grid for reactions, Event Hubs for telemetry/analytics.

Click to flip back

Question

Which four Azure services handle messaging and events?

Click or press Enter to reveal answer

Answer

(1) Queue Storage β€” simple queuing, (2) Service Bus β€” enterprise messaging with ordering/transactions, (3) Event Grid β€” reactive event routing with push delivery, (4) Event Hubs β€” high-throughput streaming ingestion. Each serves a different pattern β€” the exam tests whether you choose correctly.

Click to flip back

Question

When should you use Event Grid system topics vs custom topics?

Click or press Enter to reveal answer

Answer

System topics: automatically available for Azure resource events (blob created, VM deleted, resource group changes) β€” subscribe to react to platform events. Custom topics: for your own application events that you publish explicitly. Use system topics for infrastructure automation (e.g., process uploaded files) and custom topics for domain events (e.g., order placed, payment processed).

Click to flip back

Knowledge Check

🏦 Elena needs to detect fraudulent card transactions in real-time. The system ingests 10 million transactions per hour, and fraud detection rules must process the stream continuously. Suspicious transactions need to be stored for investigation with the ability to replay and reprocess. Which service should Elena recommend for event ingestion?

Knowledge Check

πŸ—οΈ GlobalTech uploads thousands of invoices daily to Azure Blob Storage. Each invoice must be automatically processed by an Azure Function that extracts data using Form Recognizer, then stores results in Cosmos DB. The solution must handle processing failures with retry. Which event-driven pattern should Priya recommend?

🎬 Video coming soon


Next up: How services expose their functionality β€” API Integration & Caching.

← Previous

Messaging Architecture

Next β†’

API Integration & Caching

Guided

I learn, I simplify, I share.

A Guide to Cloud YouTube Feedback

© 2026 Sutheesh. All rights reserved.

Guided is an independent study resource and is not affiliated with, endorsed by, or officially connected to Microsoft. Microsoft, Azure, and related trademarks are property of Microsoft Corporation. Always verify information against Microsoft Learn.