Choose messaging, caching and configuration contracts
Distinguish a business command, a notification and a replayable event stream.
Choose messaging, caching and configuration contracts
A command assigns work and may need durable queues, competing consumers, dead-letter handling or per-session ordering. Service Bus supports these brokered messaging patterns. Event Grid distributes notifications to subscribers that react to events. Event Hubs ingests partitioned streams and enables independent consumers to replay retained events from offsets. Design consumers for duplicate delivery and identify which operations require ordering.
API Management provides an API facade with policies and versioning. Externalize non-secret runtime settings or feature flags in App Configuration, and keep secret material under Key Vault controls. Cache data only when its allowed staleness and invalidation strategy are understood. For automated deployment, promote the tested build, shift a bounded portion of traffic and verify user-facing health before expansion.
Worked case 1
A warehouse worker must process order commands, recover failed messages and preserve order for each customer. Which broker behavior matters?
Check your reasoning
Evaluate Service Bus queues with sessions for related commands, dead-letter handling and idempotent consumers. A notification alone does not establish ordered work processing.
Worked case 2
Two analytical consumers need to read the same sensor stream independently and replay yesterday’s retained events. What should the producer expose?
Check your reasoning
Use a partitioned ingestion stream with independent consumer groups and checkpoints. Verify retention and partition key choices against the replay requirement.
Compare Azure messaging services
Official AZ-305 skills for this topic
Related lesson in Azure Administrator Associate. Configure App Service plans, slots and connectivity.
Replacing a shared cache
For a new design, evaluate Azure Managed Redis. For an existing Azure Cache for Redis deployment, identify the tier and cloud before setting a deadline. Test the client’s TLS settings, endpoint switch, warm-up behavior and acceptable cache-miss load during migration.
Current AZ-305 recording · 1:20:59 · Azure Cache for Redis retirement by tier
Practice with the recording
An order event has three independent subscribers and one must retry for a day. How should the architecture isolate their failures?
Check your reasoning
Give each consumer its own durable subscription or queue and its own retry policy. Keep a stable order identifier so consumers can process redelivery safely. One consumer’s backlog should be measurable without delaying the other two.
Current AZ-305 course · 1:18:24 · John Savill · AZ-305 Study Cram · 2:27:15
Choose messaging, caching and configuration contracts quiz
Answer 3 questions. Check each answer for an explanation.