azureblog.co.uk
← AZ-305 study plan
AZ-305 · Design infrastructure solutions

Design an application architecture

Messaging and event-driven architectures, API integration, caching, configuration management and automated deployment.

  • 18 min
  • 6 concepts
  • Try it yourself
  • 4-question check

Learn

Modern apps are built from loosely coupled parts that talk through messages, events and APIs. The trick on the exam is telling messages (someone must act on this) from events (something happened).

  1. 1

    Recommend a messaging architecture

    Azure Service Bus: enterprise messaging with queues and topics, ordering (sessions), duplicate detection, transactions and dead-lettering. Azure Queue Storage: simple, cheap, very large queues without those features. Use messaging when the sender expects the message to be processed.

    Remember: Orders that must be processed exactly once in order: Service Bus.

  2. 2

    Recommend an event-driven architecture

    Azure Event Grid: routes discrete events (a blob was created, a resource changed) to handlers with push delivery and filtering; also supports MQTT. Azure Event Hubs: ingests millions of events per second for streaming and telemetry, with partitions, retention and a Kafka endpoint. Events report something happened; the publisher doesn't care what consumers do.

    Remember: Reactive notification: Event Grid. Big data stream: Event Hubs.

  3. 3

    Recommend a solution for API integration

    Azure API Management publishes APIs through a gateway with policies (rate limiting, caching, JWT validation, transformation), a developer portal, versioning, products and subscriptions. Tiers range from Consumption to Premium (multi-region, VNet). It can also front AI model APIs as an AI gateway.

    Remember: Throttle, secure and publish APIs: API Management.

  4. 4

    Recommend a caching solution for applications

    Azure Managed Redis (and Azure Cache for Redis) caches data and session state in memory to cut database load and latency. Azure Front Door and CDN cache static content at the edge. API Management can cache responses.

    Remember: Hot data in memory: Redis.

  5. 5

    Recommend an application configuration management solution

    Azure App Configuration stores settings and feature flags centrally, with labels per environment and dynamic refresh. Keep secrets in Key Vault and reference them from App Configuration. Apps reach both with managed identities.

    Remember: Feature flags and central settings: App Configuration.

  6. 6

    Recommend an automated deployment solution for applications

    Use GitHub Actions or Azure Pipelines for CI/CD, infrastructure as code with Bicep or Terraform, workload identity federation for pipeline authentication, and deployment slots or blue-green/canary releases. Azure Deployment Environments gives developers self-service, governed environments from templates.

    Remember: Pipelines + IaC + federation, no stored secrets.

Messages or events?

ServicePatternUse for
Service BusMessages (queues, topics)Business transactions needing guaranteed processing
Queue StorageSimple messagesLarge, simple work queues
Event GridDiscrete events, pushReacting to changes
Event HubsEvent streamsTelemetry and big data ingestion

Try it

Which service fits?

This interactive part needs JavaScript.

In the portal

  • Service BusAzure portal: Service Bus > Create
  • Event GridAzure portal: Event Grid > Create
  • API ManagementAzure portal: API Management services > Create
  • App ConfigurationAzure portal: App Configuration > Create

Key terms

Click a card to see the definition.

Check your understanding

4 questions. Score 80% or more and these skills are marked as confident in your AZ-305 study plan.

  1. Which supports ordered, transactional messages with duplicate detection?

  2. Which is designed for millions of telemetry events per second?

  3. Where should feature flags live?

  4. Which reduces database load by caching session data in memory?

Sources

Facts in this lesson are from Microsoft Learn. This site isn't affiliated with Microsoft.