Domain: Connect to and Consume Azure Services
20–25% of the AI-200 exam. Service Bus & Event Grid, Azure Functions.
About this domain
Connecting to and consuming Azure services is worth 20-25% of AI-200. It covers the plumbing between components: Service Bus for reliable work queues, Event Grid for event routing, and Azure Functions for serverless code that reacts to both. The questions test whether you can choose the right messaging model and read triggers and bindings correctly.
What is measured
The objectives ask you to queue and process back-end operations with Azure Service Bus, including messages, topics, subscriptions and dead-letter queue handling. You implement event-driven workflows with Event Grid, including filters, custom events and retries. You build serverless APIs with triggers and bindings, and you configure and deploy function apps.
Suggested reading order
- Service Bus & Event Grid: queues versus topics, settlement and dead-lettering, then event routing.
- Azure Functions: triggers, bindings, schedules, hosting plans and timeouts.
Messaging comes first because most function triggers read from a queue, topic or event.
Trouble spots
- A queue gives each message to one consumer. A topic copies every message to each subscription, and consumers read from subscriptions.
- Peek lock lets you complete or abandon a message; receive and delete loses it if the consumer crashes.
- Abandon for failures that retries may fix; dead-letter for those they will not. The max delivery count defaults to 10 and reaching it dead-letters the message.
- The dead-letter queue belongs to the subscription, and failed auto-forwards go to the transfer dead-letter queue.
- A function has exactly one trigger. Extra data comes through bindings.
- NCRONTAB has six fields with seconds first, so
0 30 9 * * 1-5is 9:30 on weekdays. - HTTP calls end with a 502 after 230 seconds whatever the plan timeout.
How to use this hub
Read each topic, tick the tips, take the topic quiz, then use the flashcards. Messaging settlement states and cron expressions are well suited to the flashcards. Test scenario choices in the practice bank, and check the exam guide before your sitting. If time is short, prioritise the dead-letter and trigger material.
Domain Progress
Topics
| Topic | Covers | Tips | Practice |
|---|---|---|---|
| Service Bus & Event Grid | Queue and process back-end operations by using Azure Service Bus, including dead-letter queue handling, messages, topics, and subscriptions · Implement event-driven workflows by using Azure Event Grid, including filters, custom events, and retries | Quiz | |
| Azure Functions | Build serverless APIs, including implementing triggers and bindings · Configure and deploy function apps | Quiz |
Progress is saved in this browser only (localStorage). Clearing site data resets it.
Original study notes based on the public Microsoft skills outline and Microsoft Learn documentation. Not affiliated with Microsoft; not actual exam content.