Cert Notes/ Commute Study Notes
Roadmap
KOEN
CLF-C02 · FoundationalCloud Practitioner - Foundational
DVA-C02 · AssociateDeveloper - Associate
SAA-C03 · AssociateSolutions Architect - Associate
SOA-C02 · AssociateCloudOps Engineer - Associate
SAP-C02 · ProfessionalSolutions Architect - Professional
DOP-C02 · ProfessionalDevOps Engineer - Professional
  • Week 1
    • 1.DevOps as an Operating Model: The Five Axes of CALMS and the Truth DORA Proved Through Measurement
    • 2.Well-Architected Framework: Rereading It Through the Six Lenses of DevOps
    • 3.The AWS DevOps Tool Map: The Code* Series and the Real Picture Beyond It
    • 4.Multi-Account Strategy: The Real Picture of Organizations, Control Tower, and IAM Identity Center
    • 5.Week 1 Wrap-Up: Cementing the DevOps Thinking Frame with Scenarios
  • Week 2
    • 1.CodeCommit Deep Dive: What Changes When Git Hosting is Integrated with IAM
    • 2.GitHub Actions ↔ AWS OIDC: Eliminating Static Keys Permanently Through Federation
    • 3.CodeArtifact and Supply Chain Security: When Dependencies Become Attack Surface
    • 4.DevSecOps Shift Left: Automated Security Gates Built with Code Signing, CodeGuru, and Inspector
    • 5.Week 2 Synthesis: DevSecOps Thinking Framework From Source Control to Code Signing
  • Week 3
    • 1.The Real Meaning of buildspec.yml: The Moment a Pipeline Specification Becomes Code
    • 2.The Physics of Build Speed: Trade-offs Among Cache, Parallelism, and Compute
    • 3.Design Principles of Secret Management: The Criteria That Separate Secrets Manager from Parameter Store
    • 4.VPC CodeBuild, Custom Images, ARM/Graviton: Expanding the Boundary of the Build Environment
    • 5.Week 3 Review: Integrated CodeBuild Scenarios and Practical Judgment
  • Week 4
    • 1.In-place vs Blue/Green, AppSpec: The Physics of Deployment Strategies
    • 2.EC2/On-Prem Deployment + Auto Scaling Integration: The Intersection of Instance Lifecycle and Deployment
    • 3.Lambda Deployment: Linear/Canary/AllAtOnce and the Math of Aliases
    • 4.ECS Blue/Green + CodeDeploy Traffic Shift: The Logic of Two Target Groups
    • 5.Week 4 Review: Integrated Scenarios in CodeDeploy Deployment Strategies
  • Week 5
    • 1.CodePipeline Architecture: Understanding Why Stage, Action, and Artifact Were Designed This Way
    • 2.Multi-Account Pipeline: Why Cross-Account IAM Is Required
    • 3.Action Providers: How Lambda, Step Functions, and Manual Approval Extend the Pipeline
    • 4.Dynamic Pipeline: V2 Variable System, Trigger Filters, and Execution Mode Design
    • 5.Week 5 Review: CodePipeline Integration Scenarios
  • Week 6
    • 1.ECR: Solving the Problems that Container Image Registries Must Solve
    • 2.ECS Automatic Deployment: From Task Definition Update to Auto Scaling
    • 3.EKS CI/CD: Why GitOps Was Born, and How ArgoCD and Flux Changed Kubernetes
    • 4.App Runner and ECS Copilot: The Spectrum of Container Operations Abstraction
    • 5.Week 6 Review + 12 Scenario Practice Problems
  • Week 7
    • 1.Serverless CI/CD: Lambda, SAM, and Canary Deployments
    • 2.Lambda Permissions, Layers, and Container Images
    • 3.API Gateway and Serverless Integrations
    • 4.X-Ray and CloudWatch for Serverless Observability
    • 5.Week 7 Review: Serverless CI/CD Summary
  • Week 8
    • 1.CloudFormation Advanced: Nested·Cross-Stack and the Deep Story of Modularization
    • 2.StackSets: The Deep Story of Deploying IaC to Thousands of Accounts
    • 3.Custom Resource·Hooks·Change Set: CloudFormation's Extension and Validation Mechanisms
    • 4.CDK·CDK Pipelines·Terraform: Deep Comparison of Modern IaC Tools and Self-Evolving Pipelines
    • 5.Week 8 Integrated Scenario: IaC Tools Meeting Within One Incident
  • Week 9
    • 1.Systems Manager: Run Command·Session Manager·Patch Manager's Deep Story
    • 2.State Manager·Inventory·Compliance: The Abstraction of Desired State
    • 3.AppConfig: Feature Flags and Progressive Deployment
    • 4.Secrets Manager and Parameter Store: Lifecycle and Rotation
    • 5.Week 9 Integrated Scenario: Configuration Management Across Fleet Scale
  • Week 10
    • 1.CloudWatch Metrics: Time Series, Dimensions, and Alarm Evaluation Model Deep Dive
    • 2.CloudWatch Logs: Groups, Streams, Subscriptions, and Insights Deep Dive
    • 3.Container Insights·Lambda Insights·EMF: Workload-Specific Observability Deep Dive
    • 4.Synthetics·RUM·Evidently: Three Lenses Measuring User Experience
    • 5.Week 10 Synthesis: Tying Observability into Incidents
  • Week 11
    • 1.X-Ray: Causal Graphs of Distributed Tracing and the Deep Story of the Trace Model
    • 2.X-Ray Sampling: Reservoir Algorithm and the Economics of Tracing at Operational Scale
    • 3.ADOT: The Deep Story of OpenTelemetry Ending the Tracing Tool Wars
    • 4.OpenSearch · AMP · AMG: The Two Worlds of Inverted Indices and Time-Series Databases
    • 5.Week 11 Synthesis: Real-World Decision-Making in Tracing and Telemetry Observability
  • Week 12
    • 1.EventBridge: Event Bus Routing Model and the Nervous System of Asynchronous Automation
    • 2.Systems Manager Automation: Codifying Runbooks and the Operator's Disappearance
    • 3.Auto-Healing and Control Theory: When Systems Repair Themselves
    • 4.ChatOps and Incident Manager: The Coordination Layer
    • 5.Week 12 Synthesis: The Five-Stage Pipeline and Decision Trees
  • Week 13
    • 1.Multi-AZ High Availability: Distributed Principles Underlying Replication Consistency, Quorum, and Failover
    • 2.Multi-Region Resilience: Distributed Principles of DNS Routing, Global Replication, and Encryption Boundaries
    • 3.Four DR Strategies: Tradeoffs of RTO, RPO, Cost and Their Economics
    • 4.Validating Resilience: Chaos Engineering with Resilience Hub and FIS
    • 5.Week 13 Comprehensive Review: Tying Together High Availability, Multi-Region, DR, and Resilience Validation
  • Week 14
    • 1.GuardDuty and Automatic Isolation: Signal Processing, Statistics, and Auto-Response Principles
    • 2.Security Hub: SIEM Principles of Normalization, Aggregation, and Auto-Remediation
    • 3.AWS Config: Closed-Loop Control Principles for State Recording, Drift Detection, and Automated Remediation
    • 4.Audit Manager, Macie, Inspector: Evidence Automation, Data Classification, Vulnerability Scanning Principles
    • 5.Week 14 Comprehensive Review: The Big Picture of Security Automation Stack and Practical Scenarios
  • Week 15
    • 1.Multi-Account Enterprise CI/CD: Governance and Platform Engineering Principles for 50+ Accounts
    • 2.Hybrid CI/CD: Bridging On-Premises and AWS into One Deployment Model
    • 3.Large-Scale ECS/EKS Operations: Scheduling, GitOps, Cost Principles for 100+ Microservices
    • 4.Serverless Large-Scale Incident Auto-Response: Recovery Without People, Safety Rails
    • 5.Week 15 Synthesis: Reading Signals and Trade-Off Judgment
  • Week 16
    • 1.Domain 1+2 Integrated Review: SDLC Automation and IaC as One Thread
    • 2.Domain 3+4 Integrated: Resilience and Observability as Failure Prevention
    • 3.Incident Response and Security Compliance Woven Through Everything
    • 4.Full Exam Scenarios (Domains 1-6 Integrated)
    • 5.D-Day Exam Prep: Mental State, Time Management, Last-Minute Do's and Don'ts
SCS-C03 · SpecialtySecurity - Specialty
MLA-C01 · AssociateMachine Learning Engineer - Associate
AIF-C01 · FoundationalAI Practitioner - Foundational
DEA-C01 · AssociateData Engineer - Associate
MLS-C01 · SpecialtyMachine Learning - Specialty
← DOP-C02/Week 1/Day 2
DOP-C02· ProWeek 1 · Day 2~38 min read

Day 2 - Well-Architected Framework: Rereading It Through the Six Lenses of DevOps

Many people have seen the Well-Architected Framework once for the SAA exam, but viewed through Professional DevOps eyes it becomes an entirely different tool. Today's topic is how to use the 6 Pillars not as "items to memorize" but as "a thinking framework that instantly classifies any scenario."

The reason DOP-C02 scenario questions are hard is that 2-3 of the answer options all technically work. To find "the most suitable one" among them, you must first pin down which Pillar the scenario is asking about. This classification ability is precisely the passing threshold.

The History of the W-AF — From Internal Document to Industry Standard

In 2012, AWS solutions architects began compiling "the same questions customers keep asking." Giving a different answer every time to "how should we design this well?" was inefficient, so they consolidated it into an internal best-practice document. It was published externally in 2015, the 5 Pillars were established in 2016, and Sustainability was added in 2021, completing the 6 Pillars. This evolution itself reflects shifting priorities in cloud design — at first only stability and performance mattered, Cost Optimization was strengthened as cost pressure arrived, and Sustainability entered with the ESG era.

What makes the W-AF special from a DevOps perspective is that DevOps Guidance was published separately as one of the W-AF's lenses (2023). In other words, AWS views "DevOps as a cross-cutting concern spanning every Pillar of the W-AF." It is not a matter of Operational Excellence alone.

💡 Related theory: The W-AF is close to a cloud version of ISO 9126 (the software quality model). ISO 9126 classified software quality along 6 axes — functionality, reliability, usability, efficiency, maintainability, portability — and the W-AF is its cloud version. It also interlocks with ITIL v4's "Service Value System" — ITIL's Continual Improvement principle is reflected in the W-AF's review cycle.

Reinterpreting the 6 Pillars From a DevOps Perspective

1. Operational Excellence — The Home Turf of DevOps

"Run and monitor systems to deliver business value, and continually improve processes and procedures." This is almost identical to the definition of DevOps itself.

Key design principles:

  • Perform operations as code (Pipeline-as-Code, IaC, Runbook as code)
  • Make frequent, small, reversible changes (reducing DORA's Lead Time)
  • Refine operations procedures frequently (game days, chaos engineering)
  • Anticipate failure (Fault Injection Simulator, Chaos Monkey)
  • Learn from all operational failures (Correction of Errors, blameless postmortem)

AWS tool mapping:

  • Prepare phase: CloudFormation, CDK, AWS Config (compliance baseline)
  • Operate phase: CloudWatch, X-Ray, ADOT, Systems Manager
  • Evolve phase: AWS DevOps Guru, Compute Optimizer

🔍 Going deeper: "Operations as code" is not just IaC. It includes Runbook as code as well. An SSM Automation Document is defined in YAML/JSON and lives in git, so procedures a human would click through in the console are expressed as code. As a result, when the same incident recurs, the identical recovery procedure runs automatically. This is the decisive mechanism behind "MTTR from 1 hour → 5 minutes."

2. Security — The Starting Point of DevSecOps

Traditional security was "the security team inspects after deployment," but DevSecOps is "shift left" — pull security to the left of the pipeline (the development stage). SAST (static analysis) becomes a phase in CodeBuild, DAST (dynamic analysis) runs automatically in the staging environment, and container image scanning (ECR Scan, Inspector) runs at build time.

AWS tool mapping:

  • Identity & Access: IAM, IAM Identity Center (formerly SSO), Permissions Boundary
  • Detective controls: GuardDuty, Security Hub, Macie, CloudTrail
  • Infrastructure protection: VPC, WAF, Shield, Network Firewall
  • Data protection: KMS, ACM, Secrets Manager
  • Incident response: Detective, Security Lake, IR Runbook

📚 Case study: The 2019 Capital One incident (data breach affecting 106 million customers) shows what happens when security's shift left is absent. A WAF with an SSRF vulnerability + IMDSv1 + overly broad IAM permissions combined to cause the incident — and every one of these elements could have been automatically detected in the CI/CD stage. AWS released IMDSv2 right after this incident and added automatic IMDSv1 detection rules to Inspector v2 (2021).

💡 Related theory: The 5 functions of the NIST CSF (Cybersecurity Framework) — Identify, Protect, Detect, Respond, Recover — map almost 1:1 to the best practices of the W-AF Security Pillar. DOP-C02 doesn't ask about NIST terminology directly, but classifications like "Detective control vs Preventive control" appear frequently.

3. Reliability — DR and Automatic Recovery

"Workload performs its intended function correctly and consistently when expected." The core is twofold — prevent failures from happening (prevention) and recover automatically even when they do (self-healing).

Key design principles:

  • Automatically recover from failure (Auto Scaling, Lambda retry, Step Functions)
  • Test recovery procedures (Resilience Hub, Fault Injection Simulator)
  • Scale horizontally (not one giant instance — many small instances)
  • Stop guessing capacity (Auto Scaling + predictive scaling)
  • Manage change in automation (IaC + CI/CD)

AWS tool mapping:

  • Foundations: Service Quotas, Trusted Advisor
  • Workload architecture: Multi-AZ, Multi-Region (Aurora Global DB, DynamoDB Global Tables)
  • Change management: the Code* series, CloudFormation drift
  • Failure management: CloudWatch Alarms, SSM Automation, Route 53 health checks

🔍 Going deeper: AWS's Reliability philosophy is evolving toward "cell-based architecture." A region is divided into multiple independent cells, and a failure in one cell is isolated so it doesn't propagate to others. AWS has been applying this gradually internally since the 2017 S3 us-east-1 outage. It doesn't appear directly on the exam, but the same concept shows up under the keyword "minimizing blast radius."

4. Performance Efficiency

"Use computing resources efficiently to meet system requirements." The core is not simply "fast" but "only as much as needed, efficiently."

Key design principles:

  • Democratize advanced technologies (delegate complexity to managed services)
  • Go global in minutes (CloudFront, Global Accelerator)
  • Use serverless architectures (remove operational burden with Lambda, Fargate, S3)
  • Experiment more often (AppConfig feature flags, Evidently A/B tests)
  • Mechanical sympathy (choose tools that fit workload characteristics — GPU, Graviton)

What matters from a DevOps perspective is "experimentation infrastructure." Define A/B tests as code with AWS Evidently, do gradual rollouts with AppConfig, and measure real-user performance with CloudWatch RUM.

💡 Related theory: "Mechanical sympathy" is a term coined by Martin Thompson in 2011, meaning "understand hardware characteristics and write code that fits them." On AWS, choosing an instance family per workload (C5: compute-intensive, R5: memory, M5: balanced, X1: in-memory DB) is exactly this concept. With the arrival of Graviton (ARM), the price-performance trade-off re-emerged.

5. Cost Optimization

"Run systems to deliver business value at the lowest price point." The part directly connected to DevOps is "automated cost governance."

Key design principles:

  • Implement cloud financial management (FinOps, AWS Budgets)
  • Adopt a consumption model (pay only for what you use)
  • Measure overall efficiency (cost per transaction, not just total cost)
  • Stop spending money on undifferentiated heavy lifting (prefer managed services)
  • Analyze and attribute expenditure (Cost Allocation Tags, Cost Categories)

AWS tool mapping:

  • Awareness: Cost Explorer, Budgets, AWS Cost Anomaly Detection
  • Optimization: Compute Optimizer, Trusted Advisor, Savings Plans, Spot
  • Lifecycle: S3 Intelligent-Tiering, Lifecycle Policy

🎯 Scenario: If a company presents a scenario like "an analytics workload used only at night," the answer lies on the Cost Optimization side. The pattern: ① switch EC2 → Spot instances ② turn it on only at night with Scheduled Scaling ③ move cold data S3 → IA/Glacier ④ eliminate idle cost with Lambda or Fargate.

6. Sustainability — Added in 2021

Minimizing carbon footprint. From a DevOps perspective:

  • Region selection (regions with a high share of renewable energy — Stockholm, Dublin, Oregon)
  • Workload efficiency (remove idle instances, use Spot/Graviton)
  • Data lifecycle management (remove unnecessary logs and backups)

AWS has committed to 100% renewable energy by 2025 and net-zero carbon by 2040. Its direct weight on the exam is low, but options like "which region is the most eco-friendly" occasionally appear.

Trade-offs Between the 6 Pillars — The Real Depth of the Exam

The truly hard part of the W-AF is that the 6 Pillars conflict with each other. Strengthening one weakens another.

ConflictDescriptionExample
Reliability ↔ CostMulti-AZ/Region increases stability but costs 2-3xRDS Multi-AZ vs Single-AZ
Security ↔ Operational ExcellenceStrong security makes automation harderCross-account automated deployment vs IAM separation
Performance ↔ CostHigh-performance instances are expensiveC5n vs C5
Reliability ↔ PerformanceSynchronous replication increases stability but also latencyRDS Multi-AZ sync replication
Sustainability ↔ PerformanceEco-friendly regions can be far from usersStockholm region vs users in Seoul

This trade-off is the essence of exam scenarios. For example, when "RTO of 5 minutes AND cost minimization" are demanded simultaneously, the Pilot Light DR pattern (minimal resources normally, rapid expansion during an incident) is the correct answer. Take either one to the extreme and you ruin both.

⚠️ Pitfall: If an option on the exam claims to be "a solution that satisfies all Pillars simultaneously," it's almost always a trap. No such thing exists in reality. Identify the priority stated in the scenario (e.g., "stability over cost") and pick the answer that matches that priority.

DevOps Guidance — The W-AF Lens Published in 2023

In 2023, AWS published DevOps Guidance as one of the W-AF's lenses. It is not a new addition to the 6 Pillars, but guidance added from a DevOps perspective across all 6 Pillars.

The 4 areas of DevOps Guidance:

  1. Organizational Adoption — team structure, responsibility sharing, cultural change
  2. Development Lifecycle — Source, Build, Test, Release, Deploy
  3. Quality Assurance — automated testing, observability, chaos engineering
  4. Automated Governance — Policy as Code, AWS Config, Service Control Policy

The significance of this lens's appearance is large — AWS has officially acknowledged that "DevOps is a cross-cutting concern important enough to need its own lens within the W-AF." The DOP-C02 exam doesn't ask about this lens's content directly, but it underlies the background thinking of its scenarios.

📚 Case study: When a global fintech ran a self-assessment with the DevOps Guidance lens, its lowest score came in the "Organizational Adoption" area. All the tools were there (CodePipeline, X-Ray, GuardDuty), but team responsibilities weren't clear, so every incident wasted time on "whose turn is it to answer." The solution: unify SLO + Error Budget + Incident Manager runbooks. Six months later, MTTR dropped from 4 hours → 30 minutes.

Trusted Advisor — The Tool for Automated W-AF Diagnosis

The tool that automatically diagnoses the 6 Pillars from the console is Trusted Advisor. Its 250+ checks are classified into 5 categories (Cost, Performance, Security, Fault Tolerance, Service Limits).

CategoryW-AF Pillar mappingExample checks
Cost OptimizationCost OptimizationUnused EIPs, low-utilization EC2
PerformancePerformance EfficiencyHigh-CPU instances, EBS utilization
SecuritySecurityRoot without MFA, 0.0.0.0/0 SGs
Fault ToleranceReliabilitySingle-AZ RDS, missing ASG
Service LimitsReliability + CostApproaching API rate limits

The full set of checks is enabled on Business/Enterprise Support plans; the Developer plan provides only the basic 7. Through EventBridge integration, check results can be wired into automation workflows (e.g., on discovering a 0.0.0.0/0 SG, send a Slack alert + auto-fix via Lambda).

🔍 Going deeper: AWS Trusted Advisor and AWS Config Rules look similar but differ. Trusted Advisor checks 250+ best practices defined by AWS; Config Rules check arbitrary rules defined by the customer. On the exam, if the keyword is "AWS-managed best practice check," it's Trusted Advisor; if it's "custom compliance rule," it's Config.

The W-AF Tool — Automated Reviews

The AWS Well-Architected Tool in the console lets you register a workload, answer the 6 Pillars' questions, and get a risk score. It's also available via CLI:

# Create a workload
aws wellarchitected create-workload \
  --workload-name "prod-payment-api" \
  --description "Payment processing API" \
  --environment PRODUCTION \
  --aws-regions ap-northeast-2 us-east-1 \
  --lenses wellarchitected serverless devops
 
# Proceed with the review
aws wellarchitected list-answers \
  --workload-id $WORKLOAD_ID \
  --lens-alias wellarchitected
 
# Automation: extract the improvement plan
aws wellarchitected get-workload --workload-id $WORKLOAD_ID \
  | jq '.Workload.RiskCounts'
# Example output: {"UNANSWERED": 0, "HIGH": 3, "MEDIUM": 7, "NONE": 21, "NOT_APPLICABLE": 5}

Here the 3 HIGH risks are the priority. Clicking each HIGH in the AWS Console shows a concrete improvement plan (e.g., "Enable Multi-AZ for RDS").

Wrapping Up — The 6-Pillar Mapping Method for Scenario Solving

When you receive a scenario in the exam room, classify it like this:

  1. Keyword scan: "cost minimization" → Cost / "RTO/RPO" → Reliability / "latency" → Performance / "audit trail" → Security / "automation" → Operational Excellence / "carbon" → Sustainability
  2. Recognize the trade-off: when two Pillars are mentioned together, confirm the priority
  3. Narrow down AWS tool candidates: pick candidates from the per-Pillar tool map
  4. Compare the 2-3 remaining options: choose the most suitable one from a trade-off perspective

Once these 4 steps become familiar, scenario questions become a simple pattern-recognition task.

In the next article, we lay out the full map of AWS's DevOps tools — the Code* series, CDK, SSM, CloudWatch, X-Ray, and more — at a glance, to get a feel for which tool is used where.

📝 Practice Questions

Click a choice to reveal the answer and explanation.

Question 1

A company demands "guarantee user response times of 50ms or less, while simultaneously minimizing cost." Which is the most accurate analysis of the W-AF Pillar trade-off in this scenario?

Question 2

Which is the most accurate difference between Trusted Advisor and AWS Config Rules?

Question 3

Which of the W-AF's 6 Pillars explicitly lists "Make frequent, small, reversible changes" as a design principle?

Question 4

A company ran the W-AF Tool on its environment and got 5 HIGH risks and 12 MEDIUM risks. What is the most appropriate order of prioritization?

Question 5

Which is the most accurate description of the significance of the DevOps Guidance lens being added to the W-AF in 2023?

Question 6

A company operates a service for EU users where both GDPR compliance and response-time reduction matter. Which is the most suitable design?

Question 7

Which AWS tool combination best fits the Cost Optimization Pillar's "Adopt a consumption model" principle?

PreviousDevOps as an Operating Model: The Five Axes of CALMS and the Truth DORA Proved Through MeasurementWeek 1 · Day 1Next The AWS DevOps Tool Map: The Code* Series and the Real Picture Beyond ItWeek 1 · Day 3

On this page

  • The History of the W-AF — From Internal Document to Industry Standard
  • Reinterpreting the 6 Pillars From a DevOps Perspective
  • 1. Operational Excellence — The Home Turf of DevOps
  • 2. Security — The Starting Point of DevSecOps
  • 3. Reliability — DR and Automatic Recovery
  • 4. Performance Efficiency
  • 5. Cost Optimization
  • 6. Sustainability — Added in 2021
  • Trade-offs Between the 6 Pillars — The Real Depth of the Exam
  • DevOps Guidance — The W-AF Lens Published in 2023
  • Trusted Advisor — The Tool for Automated W-AF Diagnosis
  • The W-AF Tool — Automated Reviews
  • Wrapping Up — The 6-Pillar Mapping Method for Scenario Solving
  • Practice Questions