Reasoning with the Azure Well-Architected Framework
This lesson uses the five pillars to explain the trade-offs behind design decisions.
Learning outcomes
After completing this lesson, you will be able to:
- Identify the pillar behind common exam wording.
- Explain typical trade-offs between pillars.
- Calculate composite availability from service level agreements.
The five pillars
The Azure Well-Architected Framework is Microsoft's guidance for assessing the quality of a workload. It is organized into five pillars. Each pillar is a concern that a design must balance against the others, and exam qualifiers usually map to one of them.
Reliability
Reliability is the ability of a workload to recover from failure and to continue functioning. Reliability design starts from targets, such as a recovery time objective, and uses techniques such as redundancy across availability zones, replication to another region, and health-based failover. A requirement such as the application must remain available if a datacenter fails is a reliability requirement.
Security
Security protects the confidentiality, integrity and availability of a workload and its data. Its design principles include verifying identity explicitly, granting least privilege and assuming breach. In practice, these principles lead to recommendations such as managed identities instead of stored credentials, and private endpoints instead of public access.
Cost Optimization
Cost Optimization means delivering the required value at the lowest appropriate cost, not simply choosing the cheapest service. It involves selecting appropriate tiers, scaling to demand, and using commitment discounts such as reservations and savings plans for predictable workloads. An oversized database tier is a cost problem, but an undersized tier that fails its recovery objective is a reliability failure, which is why hard requirements come first.
Operational Excellence
Operational Excellence covers the processes that keep a workload running: infrastructure as code, automated deployment, monitoring and safe release practices. A qualifier such as minimize administrative effort usually belongs to this pillar, as it favours managed services and automation over manual procedures.
Performance Efficiency
Performance Efficiency is the ability of a workload to adapt to changing demand. Its typical tools are horizontal scaling, caching, content delivery and the choice of an appropriate data store. A requirement such as handle a tenfold increase in traffic during sales events is a performance efficiency requirement, and it often points to autoscaling rather than to a permanently larger deployment.
The following table summarizes how exam wording maps to the pillars, which helps when a scenario does not state the pillar by name.
| Pillar | Typical wording | Typical design response |
|---|---|---|
| Reliability | Remain available, survive a zone or regional outage, meet an RPO | Zone redundancy, geo-replication, backup, failover automation |
| Security | Least privilege, no stored credentials, private access only | Managed identities, private endpoints, Conditional Access |
| Cost Optimization | Minimize cost, infrequently accessed, predictable usage | Lower tiers, lifecycle policies, reservations, serverless |
| Operational Excellence | Minimize administrative effort, consistent deployments | Managed services, infrastructure as code, Azure Policy |
| Performance Efficiency | Sudden bursts, low latency, global users | Autoscale, caching, read replicas, Front Door |
Which pillar?
Trade-offs between pillars
Design decisions are rarely free, because improving one pillar often costs something in another. Adding a second region improves reliability but increases cost and operational complexity. Encrypting and inspecting all traffic improves security but can add latency. Using a very low consistency level in a globally distributed database improves performance but may return stale data. Recognizing these trade-offs is the core of the architect's role, and exam questions test them by stating which pillar matters most for the scenario.
Requirements should also be proportionate. A common error is to design every workload as though it were mission critical. An internal reporting application that can be restored within a day does not need a multi-region active-active deployment. Microsoft's guidance therefore starts by identifying the criticality of each workload and the business impact of its failure, and only then sets reliability targets. On the exam, an option that exceeds the requirements at a much greater cost is usually wrong when the scenario asks for the lowest cost that still meets them.
Proportionate design
From a service level agreement to a design
A service level agreement (SLA) is Microsoft's financially backed commitment to the availability of a service, expressed as a percentage over a month. An architect uses SLAs to estimate the availability of a whole workload. When a workload depends on several services in sequence, and any of them failing stops the workload, the composite availability is the product of the individual figures, so it is always lower than the weakest component.
For example, a web tier with a 99.95% SLA that depends on a database with a 99.99% SLA has a composite figure of 0.9995 multiplied by 0.9999, or approximately 99.94%. Redundancy works in the other direction: two independent instances of a component fail together only rarely, so a second region increases the composite availability, at additional cost. This calculation assumes that failures are independent, and a real design must also consider shared dependencies such as DNS and identity.
The next table converts common availability percentages to the monthly downtime they permit, using a 30-day month. The conversion helps when a scenario states a downtime allowance in minutes rather than a percentage.
| Availability | Downtime per 30-day month |
|---|---|
| 99% | 7.2 hours |
| 99.9% | 43.2 minutes |
| 99.95% | 21.6 minutes |
| 99.99% | 4.32 minutes |
| 99.999% | 26 seconds |
Weighing a trade-off
A company hosts a customer portal in one Azure region, using App Service and Azure SQL Database. Management requires that the portal survive the loss of a single datacenter, with the lowest additional cost. Loss of an entire region is an accepted risk. What should you recommend?
The requirement is resilience to a datacenter failure, which is the failure domain of an availability zone, not of a region. The qualifier is lowest additional cost, and the scenario explicitly accepts regional risk.
The recommendation is to enable zone redundancy on the App Service plan and on the database within the existing region. A second region with Front Door and a failover group would also survive a datacenter loss, but it pays for protection that management has explicitly declined. Backups alone would not meet the requirement, because restoring from backup is recovery after an outage rather than continued operation through one.
A web tier with a 99.95% SLA depends on a database with a 99.99% SLA. Is the workload more or less available than the web tier?
Show answer
Less. The composite is the product of the two figures, about 99.94%, because a failure of either stops the workload.
Exam Tips
Remember for the exam
- The five pillars are Reliability, Security, Cost Optimization, Operational Excellence and Performance Efficiency.
- Hard requirements come first; cost is optimized only among options that meet them.
- Composite availability of dependent services is the product of their SLAs, so it falls below the weakest one.
- Match the protection to the failure domain the scenario names: zone or region.