StudyToCert

All certifications / AI-200 / Lessons

Microsoft Certified: Azure AI Cloud Developer Associate AI-200 (replaced AZ-204) · Domain 3: Connect to and consume Azure services

Picking Service Bus, Event Grid or Event Hubs for a scenario

▶ Watch the overview video

Last reviewed October 6, 2026 · Leer en español

Explain it simpler

Azure has three services for passing information between programs, and they solve different problems. Service Bus is for important instructions that must be done reliably, like a to-do list where nothing can be skipped: create this order, charge this card. Event Grid is for quick announcements that something happened, like a doorbell: a file was uploaded, a setting changed. Event Hubs is for huge, nonstop streams of readings, like a firehose of sensor data that many teams want to study and even rewind. To choose, ask: is this a task someone must finish, a single announcement, or a constant stream?

It is design review day at Meridian Wind Energy. On the whiteboard are three requirements: turbines send vibration readings every second for analytics, a maintenance function must run whenever an inspection photo is uploaded, and each completed repair must create exactly one invoice, in order per customer. Ava, the architect, has drawn a single Service Bus queue under all three. Leo argues for Event Grid everywhere because it is serverless. Someone else says Event Hubs can do it all. They turn to you. Which service actually fits each requirement, and how do you explain it in one sentence each?

Azure has three messaging services that sound similar, and the exam regularly describes a scenario and asks which one fits. The key is to separate messages from events, and then discrete events from streams. Once you can classify what is flowing between the systems, the service choice usually follows directly.

Free account

Keep reading for free

Create a free StudyToCert account to read the rest of this lesson: 7 more sections, 6 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.

Sign up free Log in

Study AI-200 for free
A week-by-week plan with every lesson, quizzes, checkpoint tests, a practice exam and hands-on labs.
Open the AI-200 study plan