The AWS Well-Architected Framework is the AWS guidance that brings together best practices for designing and operating workloads in the cloud. Put another way, it is a list of good habits for checking whether an application is well built. This framework helps you review the decisions you made in an architecture and see what you gain and what you give up with each one, and the CLF-C02 exam guide asks you to understand its pillars and, above all, to identify the differences between them.
The decisions the framework reviews matter even if the application works. For example, an application can work on the day you launch it and still run on a single server, have a cost nobody knows and let anyone on the team delete the database. AWS describes reviewing an architecture with the framework as a conversation about those decisions, and to hold it there is the AWS Well-Architected Tool, a tool in the console that has no additional cost, because you pay only for the resources you use.
What are the six pillars?

The framework is organized into six pillars, and each pillar covers a different part of a workload. What each one covers is what you use to decide which pillar a scenario belongs to:
- Operational excellence, which is the commitment to build software correctly and consistently deliver a great customer experience. It includes how you organize your team, design your workload, operate it at scale and evolve it over time, so it covers how the team deploys changes, monitors the application and responds to an incident and learns from it.
- Security, which is the ability to protect data, systems and assets, taking advantage of the cloud to improve your security.
- Reliability, which is the ability of a workload to perform its intended function correctly and consistently when it is expected to, and includes recovering from a failure.
- Performance efficiency, which consists of using cloud resources efficiently to meet performance requirements, and of staying efficient as demand changes and technologies evolve.
- Cost optimization, which consists of delivering business value at the lowest price point.
- Sustainability, which is about the environmental impact of the workload, especially how much energy it consumes and how efficiently it uses it, with the goal of using fewer resources.
For example, in an online store, operational excellence is how the team publishes a new version of the site and what it does if something goes wrong, and security is making sure no outsider can see the customers' cards. Reliability is the site still selling if a server goes down, and performance efficiency is using servers of the right size for the visits that arrive. Cost optimization is not paying for servers nobody uses, and sustainability is using less energy to serve the same customers.
Reliability or performance efficiency?
Reliability and performance efficiency are the pillars that get mixed up the most, because both are about the application "holding up". To separate them, ask yourself what threatens the application. If the threat is a failure, such as a server or an Availability Zone going down, and the application has to keep working or recover, the pillar is reliability. If it is about choosing the right type and size of resources for the demand, such as a server's instance type, or about changing them when demand changes, the pillar is performance efficiency.
For example, if the online store keeps selling even when one of its servers shuts down, that is reliability. On the other hand, if the store switches to bigger servers because its visits doubled, that is performance efficiency.
Cost optimization or sustainability?
Cost optimization and sustainability also overlap, because turning off what isn't used saves money and energy at the same time. In these cases, what decides the pillar is the goal the question states: if the goal is about money or budget, the pillar is cost optimization, and if it is about environmental impact or energy, the pillar is sustainability. For example, if the online store deletes old photos nobody looks at to pay less each month, the pillar is cost optimization, and if it deletes them so its equipment uses less energy, the pillar is sustainability.
How do they appear on the exam?
On the exam, you are commonly given a practice or a goal and asked which pillar it belongs to. To choose, look in the question for these words:
- "Recover from failures" or "keep working if a component fails", which point to reliability.
- "Choose the right instance type" or "meet demand with the right resources", which point to performance efficiency.
- "Lowest cost" or "pay only for what you use", which point to cost optimization.
- "Protect data", "permissions" or "encryption", which point to security.
- "Automate deployments", "monitor" or "learn from incidents", which point to operational excellence.
- "Environmental impact" or "energy", which point to sustainability.
For example, if the question says a company wants to encrypt its customers' data, that is, turn it into a code that can only be read with a key, the practice belongs to the security pillar.