Microsoft AZ-305: Well-Architected Framework and Design Principles — Study Guide

Part of the Microsoft Azure Solutions Architect Expert AZ-305 — Study Guide. Practice with verified answers in the Microsoft exam hub, or take timed practice tests on ExamRoll.io.

Overview

The Azure Well-Architected Framework (WAF) is a set of prescriptive principles that guide the design, build, and operation of reliable, secure, cost-efficient, operationally excellent, and performant workloads on Azure. Aligning solutions to the five pillars—reliability, security, cost optimization, operational excellence, and performance efficiency—ensures that architecture decisions are explicit trade-offs informed by business priorities, risk tolerance, and constraints such as data sovereignty and budget. Achieving consistency at scale requires landing zones, policy-driven governance, and automation as the default. Modern designs emphasize decoupling, event-driven communication, and patterns like CQRS, Strangler Fig, and microservices, implemented with Azure-native services and integrated observability, to accommodate both rapid change and stringent compliance.

The Five Pillars: Reliability, Security, Cost, Ops Excellence, Performance

Reliability ensures workloads continue to meet business SLAs under failure and during change. Design for fault domains and update domains by deploying across Availability Zones or region pairs, choosing managed services with built-in HA, and implementing resilience patterns. Test recoverability with chaos engineering and disaster recovery drills. For stateful data, choose services with RPO/RTO features—e.g., Azure SQL Database Active Geo-Replication or Cosmos DB multi-region writes—paired with automated backups and tested runbooks.

Security is layered defense in depth, anchored in Zero Trust. Enforce least privilege with Azure RBAC, Privileged Identity Management (PIM), and access reviews for ongoing entitlement hygiene. Isolate network blast radius using private endpoints, NSGs, and Azure Firewall; integrate Web Application Firewall (WAF) on Azure Front Door or Application Gateway. Assume breach with continuous monitoring via Defender for Cloud, threat detection in Sentinel, and rigorous identity protection (MFA, Conditional Access).

Cost optimization balances business value and total cost of ownership. Right-size compute and tiers based on telemetry; use scaling to match demand and power down non-production. Commit with reservations and savings plans for steady workloads, leverage Spot VMs for interruptible compute, tier storage and data retention, and prefer serverless where it aligns with workload profiles. Enforce tagging and budgets, and use Azure Policy to standardize cost controls.

Operational excellence emphasizes automation, repeatability, and learning loops. Treat environments as code with Bicep/ARM or Terraform, enforce drift remediation, and implement consistent CI/CD. Operational insights come from structured logs, metrics, traces, and synthetic tests, all wired into alerting and SLO dashboards, to shorten MTTR and inform proactive improvements.

Performance efficiency ensures the workload meets throughput and latency goals under varying load. Design for scale-out, cache aggressively, push content to the edge, and choose data partitions and read replicas suited to the access patterns. Validate with realistic load tests and tune based on evidence.

Reliability and Performance Patterns in Azure

Resilience patterns reduce the probability and impact of failures while keeping latency predictable.

Performance patterns complement resilience:

Operational Excellence, Cost Optimization, and Security Design Principles

Infrastructure as code: Standardize on Bicep/ARM or Terraform modules, versioned in Git and validated with pre-deployment tests and policy-as-code. Use template specs or Terraform registries for reuse. Parameterize per environment and enforce consistent tags, resource locks, and diagnostic settings. Integrate with Azure DevOps or GitHub Actions; use staged deployments and approvals for controlled promotion.

Deployment automation: Favor deployment slots, blue-green, and canary strategies supported by App Service, AKS (progressive rollouts with Deployment strategies), and Traffic Manager/Front Door for weighted routing. Automate database schema changes with migration pipelines and backward-compatible contracts. Gate rollouts using health probes and business KPIs.

Observability: Instrument applications with OpenTelemetry, export to Application Insights for distributed tracing, metrics, and dependency maps. Enable Azure Monitor for platform metrics, deploy Log Analytics workspaces, and create Workbooks and dashboards for SLOs and capacity. Define alert rules with dynamic thresholds, integrate with ITSM, and store Activity Logs and diagnostic logs centrally for audit and forensics.

Right-sizing and cost controls: Use Azure Advisor, Azure Monitor usage metrics, and Application Insights profiling to identify waste (idle cores, overprovisioned vCores, over-allocated RU/s). Apply Reservations/Savings Plans to steady workloads (VMs, SQL, Synapse), reserved capacity for Storage, and Cosmos DB commitment tiers. Choose Spot VMs for build agents, batch, and ML training with checkpointing. Balance architectural trade-offs: managed PaaS can reduce ops cost and improve reliability at higher unit costs; caching lowers data egress and RU costs at the expense of cache invalidation complexity; multi-region HA increases spend but may be required by RTO/RPO.

Security principles in practice:

Azure Landing Zones and Modern Architecture Patterns

Azure Landing Zones operationalize the framework at scale. Organize a management group hierarchy (root → platform → business units) to scope Azure Policy, RBAC, and budgets. Platform landing zones provide shared services—identity (Azure AD), connectivity (hub with Azure Firewall, DDoS, DNS), management (Log Analytics, Automation, Update Management), and security (Defender for Cloud). Application landing zones host workloads, segmented by environment and compliance boundaries, with inherited policies that enforce tagging, diagnostics, and allowed resource types. Adopt the Cloud Adoption Framework (CAF) Enterprise-Scale design or the Terraform/Bicep-based landing zone accelerators to bootstrap quickly and consistently.

Microservices on Azure emphasize decoupled teams and independently deployable services:

CQRS and Event Sourcing separate write and read models for performance and complexity isolation. Persist append-only events in an event store (Cosmos DB, Azure SQL, or Event Hubs with compaction via downstream storage), replay to rebuild state, and project into read models optimized for queries such as Azure SQL Database, Cosmos DB containers, or Azure Cognitive Search. Cosmos DB change feed is the linchpin for projections: Azure Functions or Azure Stream Analytics can process changes to update read stores in near-real time. Event Hubs buffers high-volume event streams, with consumers scaling independently. Embrace eventual consistency with clear SLAs and user experience patterns (e.g., command acknowledgement followed by read-model convergence).

Strangler Fig pattern enables incremental modernization. Put Azure API Management in front of the monolith to route specific endpoints to new microservices while the rest continue to the legacy backend. Use policies for header-based routing, response transformation, and authentication. Synchronize data with change data capture (e.g., Azure Data Factory or Database CDC to Event Hubs) and build new read models with Cosmos DB + change feed, gradually retiring monolith capabilities. Manage risk with feature flags, canary routing at Front Door, and comprehensive observability to compare behavior.

Practical Problem Scenario

Starbucks is modernizing its global ordering platform, currently a monolith hosted on VMs in a single region. They must improve reliability across regions, reduce latency for mobile clients, enforce least privilege and Zero Trust, and migrate incrementally without business disruption.

  1. Establish enterprise landing zones
  1. Put an edge and API facade in front of the monolith
  1. Implement the Strangler Fig migration
  1. Build microservices with resilient, performant patterns
  1. Adopt event-driven communication and CQRS
  1. Strengthen security and identity
  1. Engineer for reliability and observability
  1. Optimize cost continuously

Migration and Modernization · All domains

Practice these questions → · Timed practice on ExamRoll.io →

Pass the whole exam — not just this question

You found this answer. Get every verified question and explanation in one place, and save hours of prep. Free to start.

Pass your exam →

Browse Microsoft →

Related guides

All-in-one access

One subscription. Every exam.

Every plan unlocks unlimited answer search, practice tests, AI explanations, and the full resource library — in 20+ languages.

Monthly
24.87
Just €0.83/day
Everything included:
  • Unlimited answer search
  • Unlimited practice tests
  • AI-powered explanations
  • Full resource library
  • 20+ languages
  • Weekly content updates
  • Rewards & referrals
  • Priority support
Start free trial

No credit card required*

Best value
12 months
179.87
Just €0.49/daySave 40%
Everything included:
  • Unlimited answer search
  • Unlimited practice tests
  • AI-powered explanations
  • Full resource library
  • 20+ languages
  • Weekly content updates
  • Rewards & referrals
  • Priority support
Start free trial

No credit card required*

✓ Free plan included · ✓ Cancel anytime · ✓ All plans unlock the full product