Azure Solutions Architect Expert (AZ-305) · Section 4 · 33% of the exam
Recommend a messaging architecture
One of the objectives of the Exam AZ-305: Designing Microsoft Azure Infrastructure Solutions exam, in the section “Design infrastructure solutions”. Here is what it covers, the points to remember and a question to try.
What it covers
Azure has four ways to move data between components: Service Bus for commands, Event Grid for discrete events, Event Hubs for streams and Storage queues for simple queues. This lesson teaches how to tell a command from an event from a stream, and how API Management and Logic Apps expose and integrate APIs.
Points to remember
- Command (do this) goes to Service Bus; discrete event (this happened) to Event Grid; stream of events to Event Hubs.
- Service Bus features: sessions (FIFO), dead-letter queue, duplicate detection, scheduled delivery, transactions, topics.
- Service Bus Premium: dedicated capacity, 100 MB messages, private endpoints, geo-DR. Basic has no topics.
- Event Grid is push (and pull on namespaces), at least once, no ordering guarantee; enable dead-lettering to Blob Storage.
- Event Grid standard tier (namespaces) adds MQTT and pull delivery; basic tier has system, custom and partner topics.
Try a question
A new image file uploaded to a storage account must trigger a thumbnail-generating function within seconds. Which service should deliver the notification?
- AAzure Event Hubs
- BAzure API Management
- CAzure Service Bus topics
- DAzure Event Grid
Show the answer
D. A blob being created is a discrete event. Azure services publish such events to Event Grid, which pushes them to handlers.
Written for practice in the style of the exam: never a question from the real exam.
In the course
The lesson Messaging, event-driven architecture and API integration teaches this objective (about 55 minutes), and 20 practice questions test it. The course has lessons, exam-style questions, timed practice exams and an AI tutor for every objective, and a pass prediction that tells you when you're ready to book.
More in this section
- Specify components of a compute solution based on workload requirements
- Recommend a virtual machine-based solution
- Recommend a container-based solution
- Recommend a serverless-based solution
- Recommend a compute solution for batch processing
- Recommend an event-driven architecture
- Recommend a solution for API integration
- Recommend a caching solution for applications
- Recommend an application configuration management solution
- Recommend an automated deployment solution for applications
- Evaluate a migration solution that leverages the Microsoft Cloud Adoption Framework for Azure
- Evaluate on-premises servers, data, and applications for migration