Operational excellence for an existing workload is the discipline of measuring how the system behaves in production, recording where humans intervene, and replacing each intervention with code. At Professional level the question is rarely "should we automate?" but "in what order, with which AWS service, and at what blast radius?" The architect inherits a system that already runs, has accumulated tribal knowledge in runbooks, on-call notes, and Slack threads, and must convert that knowledge into AWS-native automation without breaking the running service. The framing tools are the AWS Well-Architected Framework Operational Excellence pillar, the operational readiness review, and the post-incident analysis loop that feeds a backlog of remediation work items.
A practical evaluation starts with the operations data plane: AWS CloudTrail for who did what, Amazon CloudWatch metrics and alarms for symptoms, CloudWatch Logs for evidence, AWS Health for service events, and AWS Systems Manager OpsCenter for the operational item backlog. The architect inspects this plane to find recurring incidents, manual fix steps, and undocumented dependencies. Each finding becomes one of three improvement classes: a metric and alarm to add, a runbook to write, or a structural change to remove the failure mode entirely. The third class is preferred when feasible because it removes the operational burden rather than instrumenting it.
The Professional exam treats automation, security operations, patching, metrics, scaling, and cost reporting as a single integrated theme under Task 3.1 because the same change ticket that improves one usually touches the others. A patching fleet that is rolled with Systems Manager Patch Manager also produces compliance data ingested by AWS Config, raises CloudWatch metrics on patch lag, and informs whether the instance Auto Scaling group can be replaced with managed compute. The sections below take each of these threads in turn.
Prioritizing opportunities for automation within a solution stack
Automation candidates are ranked by frequency, blast radius, and reversibility. A nightly backup that already runs in AWS Backup is fully automated and contributes zero toil; a quarterly manual certificate rotation handled by hand is high toil but low frequency; a daily disk-full incident remediated by a human is high toil and high frequency. The ranking exercise produces an automation backlog with three layers: detective controls (CloudWatch alarms, Config rules, GuardDuty findings), responsive controls (Systems Manager Automation runbooks invoked by EventBridge), and preventative controls (Service Control Policies, IAM permissions boundaries, AWS Control Tower guardrails).
The AWS-native primitives for the responsive layer are Systems Manager Automation runbooks, Lambda functions invoked by EventBridge rules, and AWS Step Functions state machines for multi-step recoveries. Runbooks are the default because they are versioned in JSON or YAML, executed under an IAM role with auditable parameters, and have built-in approval steps for sensitive operations. Lambda functions are appropriate when the logic is custom or needs to call APIs outside AWS. Step Functions are appropriate when the remediation must span several services, wait for human approval, or recover from partial failure with retry and catch handlers.
💡 Exam Trap: The exam often pits an EventBridge to Lambda pattern against an EventBridge to Systems Manager Automation pattern. If the remediation is a fixed sequence of AWS API calls and the customer asks to "reduce custom code", Automation runbooks are the right answer. Lambda becomes the right answer when the runbook needs to call a non-AWS endpoint or run logic that is not expressible as a sequence of API calls.
⚠️ Anti-Pattern: Wrapping a manual procedure in a single Lambda function with broad IAM permissions and no rollback path. The fast-to-write solution becomes the slowest to audit. Split the procedure into Automation document steps, each with its own IAM role and approval gate, before the first incident relies on it.
Security-specific AWS solutions
Operational excellence and security overlap at the response plane. Amazon GuardDuty produces findings, AWS Security Hub aggregates them, and AWS Config evaluates compliance against rules. The operational decision is how each finding becomes a ticket or an automatic action. The default flow is Security Hub aggregating findings from GuardDuty, Inspector, IAM Access Analyzer, and Macie, then EventBridge routing high-severity findings to a Systems Manager Automation runbook or to a Slack channel through AWS Chatbot. For multi-account environments the aggregation account is the Security Tooling account, with delegated administration for each detector.
AWS Systems Manager Incident Manager closes the loop by turning a CloudWatch alarm or Security Hub finding into a response plan with on-call schedules, escalation paths, and an incident timeline. The architect evaluates whether the existing on-call tool can be replaced or fed by Incident Manager based on integration cost, audit needs, and the response plan SLA.
Designing and implementing a patch and update process
A patch process is a contract between three groups: the workload owner who decides the maintenance window, the security team that defines the patch baseline, and the operations team that runs the rollout. AWS Systems Manager Patch Manager packages these as named objects: a patch baseline holds the approval rules for a given operating system, a patch group is a tag applied to managed instances to associate them with a baseline, and a maintenance window schedules the patching task. Auto-approval rules accept patches a defined number of days after release per classification and severity, so the security team can demand "approve Critical and Important security patches after seven days" without manual review.
The rollout step uses the AWS-RunPatchBaseline document executed in a maintenance window with a percentage-based concurrency and an error threshold. A 20% concurrency with a 10% error threshold limits blast radius on a 100-instance fleet to 20 in-flight reboots and stops the rollout if more than 10 fail. For workloads on container or serverless platforms the patch surface shrinks: AWS Fargate, AWS Lambda, and managed Amazon RDS engines remove the responsibility entirely, while Amazon EKS managed node groups handle worker patching with rolling node replacement.
schemaVersion: '2.2'
description: Patch a tagged fleet during a quarterly maintenance window
mainSteps:
- action: aws:runShellScript
name: applyPatches
precondition:
StringEquals:
- platformType
- Linux
inputs:
runCommand:
- sudo dnf clean all
- sudo dnf update -y --security
- sudo needs-restarting -r || sudo systemctl reboot
📊 Limit: A single AWS Systems Manager maintenance window supports up to 10 registered tasks and 50 registered targets per task. Large fleets are typically partitioned into multiple windows by region, environment, or tier to stay within these registration limits and to spread reboot risk.
🎯 Scenario: A retail platform runs 4,000 EC2 instances behind an Application Load Balancer across three Availability Zones. The audit shows critical kernel patches are 90 days behind. The architect tags instances by tier (web, app, data) and AZ, then creates three maintenance windows staggered by tier with a 25% concurrency and 5% error threshold. The web tier patches first because failures are masked by the load balancer, the app tier next, and the data tier last with a manual approval step.
Translating business requirements to measurable metrics
A business requirement is rarely a metric on its own. "Customers must check out without errors" becomes a 5xx error rate on the checkout API below 0.1% measured over a 5-minute window, with a p95 latency below 600 ms, and an availability SLO of 99.95% over a 30-day rolling window. The translation step is the architect's job. The output is a small set of service level indicators (SLIs) and service level objectives (SLOs) that drive CloudWatch alarms, dashboards, and budgets.
CloudWatch supports this translation through metric math, anomaly detection, and composite alarms. Metric math computes a derived SLI from raw counters, anomaly detection establishes a moving baseline that adapts to seasonality, and composite alarms combine several alarms into a single state to reduce noise. The architect publishes business-relevant metrics from application code with the embedded metric format so CloudWatch parses dimensions from structured log lines without needing custom metric API calls.
Scaling methodologies (for example, load balancing, auto scaling)
Scaling for an existing workload is rarely "add EC2 Auto Scaling": that decision was usually already made. The improvement question is whether the current scaling responds to the right signal, has the right warm-up time, and avoids oscillation. Target tracking scaling is the default for steady traffic with a known SLI such as average CPU or request count per target. Step scaling is appropriate for spiky traffic where the response needs to differ by alarm severity. Predictive scaling is appropriate when traffic has a daily or weekly pattern that is large enough to amortize the cost of provisioning ahead of the curve.
Elastic Load Balancing complements scaling by spreading the load across instances and Availability Zones. Application Load Balancer adds path-based and host-based routing; Network Load Balancer keeps source IP and handles millions of connections per second; Gateway Load Balancer fronts third-party security appliances. The exam frequently tests when to swap one for another based on protocol, source IP visibility, or static IP requirements.
💡 Exam Trap: When a workload needs static IPs in front of an HTTPS service, the test expects either Network Load Balancer with TLS listeners or AWS Global Accelerator pointing to an Application Load Balancer, not an Application Load Balancer alone. ALB IPs change over time and break clients that pin allow lists.
Task 3.5: Identify opportunities for cost optimizations.
Cost optimization in an existing system is an analysis-and-commit loop, not a refactor. The architect inspects AWS Cost Explorer for the spending shape, identifies the top three services by spend, then asks for each whether the workload can be rightsized, moved to a cheaper tier, covered by a Compute Savings Plan or EC2 Instance Savings Plan, or restructured to use Spot Instances. AWS Compute Optimizer for EC2, Auto Scaling groups, EBS volumes, and Lambda functions returns concrete downsize recommendations; S3 Storage Lens highlights buckets with cold data that should move to S3 Intelligent-Tiering or S3 Glacier classes; and AWS Trusted Advisor flags idle load balancers, unattached EBS volumes, and underutilized RDS instances.
The order of operations matters. Rightsize first so the commitment covers the smaller footprint. Commit second so the discounted footprint is locked in. Optimize the architecture last because architectural change has the longest lead time. Skipping the order leads to over-committed Savings Plans on instance families that will be retired.
⚠️ Anti-Pattern: Buying a three-year All Upfront EC2 Instance Savings Plan before running Compute Optimizer. The plan locks the customer to an instance family that may be replaced by a newer generation within months, leading to either continued use of older hardware or a stranded commitment.
Investigating AWS Cost and Usage Reports at a granular level
AWS Cost Explorer is the executive view; AWS Cost and Usage Reports (CUR) are the forensic view. CUR is delivered to an Amazon S3 bucket in Parquet or compressed CSV, partitioned by month, and integrated with Amazon Athena through an AWS Glue crawler or AWS CloudFormation template. The CUR contains line-item granularity: each EC2 instance hour, each S3 API call, each Lambda invocation, each VPC endpoint hour, each NAT gateway data processing byte, with the resource ID, the tags assigned at the time, and the cost allocation tag values.
A typical CUR Athena query identifies the top 20 untagged resources by cost over the last 30 days, which is the first step in a tagging-driven cost allocation effort. Another typical query attributes inter-AZ data transfer charges back to the workload tag to find chatty microservices. A third pattern uses Athena with QuickSight to publish per-team weekly spend dashboards that pull from CUR and the AWS Organizations master payer view.
SELECT
line_item_product_code AS service,
line_item_resource_id AS resource_id,
SUM(line_item_unblended_cost) AS total_cost
FROM cur_report
WHERE line_item_usage_start_date >= date '2026-04-01'
AND resource_tags_user_costcenter IS NULL
GROUP BY 1, 2
ORDER BY total_cost DESC
LIMIT 20;
📊 Limit: AWS Cost and Usage Reports can include up to one row per resource per hour. A single month for a large account can produce hundreds of millions of rows. Always partition the Athena table by the billing period and the line item type, and prefer Parquet over CSV to reduce scan cost.
Decision Anchor: Choose AWS Cost Explorer when stakeholders need monthly trend charts and savings recommendations through a console UI. Choose AWS Cost and Usage Reports with Athena when the question is "which resource, in which account, with which tag, drove this charge" and the answer needs to be written into a report.
