Let’s Get Certified
Module 02 / 14 · Monitoring and performance

Measure availability where customers experience it

Configure metrics, alarm evaluation and notifications around a measurable service objective.

Measure availability where customers experience it

Begin with a numerator, denominator and time window. The same count of errors can mean a small problem in a busy region or near-total failure in a small zone. Compare dimensions such as target group, operation and deployment cohort. CloudWatch dashboards can show multiple Regions and accounts when the appropriate sharing and observation permissions are in place.

CloudWatch collects many service metrics automatically. Install and authorize the CloudWatch agent for guest memory, application logs or other host details. A metric filter turns matching log events into a numerical signal. An alarm evaluates its statistic over periods and can notify an SNS topic when it changes state. Check missing-data behavior, action configuration and subscription confirmation before relying on delivery.

Worked case 1

A workload’s host CPU metric is present, but its guest memory chart has no observations. What would distinguish a collection issue from healthy memory?

Check your reasoning

Inspect the agent configuration, running status, instance role, destination Region and resulting metric dimensions. Absence of samples is a telemetry gap until verified.

Worked case 2

A dashboard shows 99.6% availability while one zone’s users cannot check out. Which comparison should the operator make?

Check your reasoning

Compare successful and failed requests with total requests per zone and interval. The local lab shows exactly how traffic from a healthy zone can conceal a smaller failure.

Find the unhealthy availability zone

Run with Python 3. The fixture records request and failure counts for two zones over the same interval. Predict whether the aggregate clears a 99% availability target.

zones = {"zone-a": (9900, 10), "zone-b": (100, 25)}
for name, (requests, failures) in zones.items():
    print(f"{name}: {100 * (1 - failures / requests):.2f}%")
total = sum(row[0] for row in zones.values())
failed = sum(row[1] for row in zones.values())
print(f"regional: {100 * (1 - failed / total):.2f}%")
Check your output
zone-a: 99.90%
zone-b: 75.00%
regional: 99.65%

Zone B misses the target even though the region clears it. Trace target health in that zone. Compare both availability and request counts after remediation.

CloudWatch alarm evaluation · Official SOA-C03 objectives for this domain

Related lesson in AWS Certified Developer – Associate. Instrument the service boundary.

Tracing an alarm to its action

Separate the raw CloudWatch metric, the evaluated threshold and the action attached to the alarm. When several components should page one operator, evaluate a composite alarm and verify its supported actions. Use an EventBridge alarm-state-change event for a separate automation path and test delivery independently.

Practice with the recording

A host stops publishing a heartbeat. What determines whether an alarm opens an incident?

Check your reasoning

Inspect the period, evaluation periods, datapoints required and treatment of missing data. Model a stopped publisher separately from a published zero. A missing heartbeat and a zero error count have different operational meanings.

sthithapragna · SOA-C03 full course · 25:00

Practice the individual exam skills
  • 1.1.1–1.1.5 Follow a guest-memory metric from the CloudWatch agent to a cross-account dashboard. Generate a test breach and trace the alarm or composite condition through SNS or EventBridge. Use workload metrics and CloudTrail for their respective performance and API-audit questions.
Knowledge check

Measure availability where customers experience it quiz

Answer 3 questions. Check each answer for an explanation.

Worked example · Availability evidence