Prove the system can detect, limit, and recover
Start with a business success signal, use telemetry to locate failure, control unsafe demand, and prove recovery capacity with a timed game day.
LESSON GOALS
By the end, you can
- Start from a business service indicator, then choose the metrics, logs, and traces needed to locate a failing dependency.
- Prove quota readiness, admission control, immutable recovery, and restore behavior under realistic load.
01
Measure the business operation first
Start with what the user needs: successful checkout rate, p95 response time, accepted-order rate, or oldest message age. This is the service-level indicator. Component signals such as CPU, healthy targets, errors, and database connections help explain it.
Metrics summarise numbers over time. Logs preserve events. Traces connect a sampled request across services and show where time or errors appear. Tracing can locate a failing payment call; it cannot create a healthy payment service.
Amazon CloudWatch supplies monitoring capabilities. AWS CloudTrail records supported API activity. AWS Config records and evaluates resource configuration. Use each for its actual question, and give every alarm an owner and action.
Put deployment and configuration changes on the same timeline as the business signal. A failure beginning immediately after a rollout is useful evidence, but rollback still needs a measured result. Correlation narrows the search; it does not replace verification.
02
Prepare capacity before the incident
Inventory service quotas in every active and standby account and Region. Check instances, network interfaces, IP addresses, targets, function concurrency, API throughput, database connections, snapshots, keys, and external dependencies.
A quota is a ceiling, not a reservation of physical capacity. Raise adjustable quotas early and load-test the recovery scale. An Auto Scaling maximum or infrastructure template cannot override a lower quota.
Use infrastructure as code and immutable artifacts to recreate a known version instead of repairing servers during an incident. Preserve templates, images, code, configuration, certificates, and secrets. Infrastructure code does not replace business-data backups.
Recovery dependencies need the same preparation. A standby can have enough Lambda concurrency yet fail because its subnets lack IP addresses or a third-party payment account has a lower limit. Test the smallest external ceiling as part of full-load readiness.
03
Separate detection, admission, and recovery proof
A game day starts with a measurable hypothesis: after losing AZ-a at peak, checkout remains above a stated rate and an alarm fires within two minutes. Inject the controlled failure and record detection, traffic, capacity, data loss, recovery time, and failback.
Quota readiness allows recovery resources to be created. Admission control decides how much work enters a fragile dependency. API Gateway throttling can reject excess synchronous requests with observable 429 responses; a queue or concurrency cap can pace work allowed to finish later.
Run the test under realistic load. A trace can identify the payment hop, but only failover or repair restores it. A successful backup job does not prove restore time. Keep identity, encryption, and audit controls active during the exercise, then fix findings and repeat.
Use authenticated client classes when allocating protected capacity. A caller-supplied priority label is not a trustworthy admission boundary. Measure accepted, rejected, queued, and completed work so throttling protects the dependency without silently breaking the business objective.
Repeat the exercise after each repair. One passing run is evidence for that tested version, load, dependency set, and failure—not a permanent guarantee.
DECISION TABLE
Compare the architecture constraints
| requirement | choose | because | reject |
|---|---|---|---|
| Measure service availability | Business SLI plus component telemetry | Measures user success | CPU alone can miss dependency failure |
| Find distributed failing dependency | Traces with metrics and logs | Shows path and timing | Replicas do not diagnose |
| Standby must scale | Pre-raise quotas and full-load game day | Proves limits | IaC cannot exceed quota |
| Recover known version | Immutable artifact and IaC | Repeatable replacement | In-place repair creates drift |
GUIDED WORKED SCENARIO
Reason from the stated constraints
This is a guided example, not a question to memorise. The knowledge check uses new situations to test the same reasoning.
Checkout errors rise from 0.2% to 8%; CPU is normal but payment calls time out. Warm standby scales only to 10% because of ENI and Lambda limits.
Requirements
- Locate failing path
- Correlate metrics logs and traces
- Prove 1,000 checkouts/s in standby
- Use immutable secure recovery
- Throttle excess synchronous checkout before payment saturation
Reasoning path
- Use business error SLI and trace correlation.
- Do not claim visibility supplies HA.
- Raise per-Region quotas and validate IP capacity.
- Run timed full-load game day and rollback.
- Set authenticated admission targets, return observable 429 responses, and queue only work allowed to finish later.
Why it wins
- It diagnoses and separately repairs readiness.
- Recovery is backed by measured load and time.
- Quota readiness enables recovery capacity while admission control protects the live dependency.
Why the alternatives lose
It does not raise quota or fail over payment.
Becomes correct when: Only diagnosis is required.CPU is not constrained and payment still fails.
Becomes correct when: API capacity is measured bottleneck.Approval timing violates RTO.
Becomes correct when: RTO is relaxed and capacity is available.More capacity can still drive payment beyond its safe request ceiling.
Becomes correct when: The quota is the only measured bottleneck and every downstream dependency is proven at the higher rate.INTERACTIVE ARCHITECTURE VISUAL
Do not confuse seeing, limiting, and recovering
Select the required outcome, then test whether the proposed control actually proves it.
× Claim remains unprovenThe control is useful, but it cannot prove this outcome by itself.
Read the diagram as text
Timeline: business alarm, trace to payment timeout, standby scale attempt, quota denial, authenticated 429 admission, immutable rollback, and full-load success. Label each step as detection, admission, capacity readiness, or recovery proof.
KNOWLEDGE CHECK
Answer one question at a time
Pass every question to complete this lesson. Each answer includes reasoning before you continue.
KEY TERMS
Glossary
- Service-level indicator (SLI)
- A measured signal of user-facing service behavior, such as successful checkout rate or p95 latency.
- Service-level objective (SLO)
- The target range or threshold an SLI should meet.
- Metric
- A numeric measurement collected over time.
- Log
- A timestamped event record emitted by an application, service, or system.
- Trace
- A correlated view of a sampled request as it crosses services and dependencies.
- Service quota
- A service-specific limit; some quotas can be adjusted and others are fixed.
- Admission control
- A rule that limits which or how much work may enter a dependency.
- Throttling
- Limiting request rate or concurrency, often returning a visible rejection such as HTTP 429.
- Infrastructure as code (IaC)
- Versioned definitions used to create infrastructure repeatably.
- Immutable artifact
- A tested image or package replaced as a unit instead of repaired in place.
- Game day
- A controlled exercise that tests a failure and measures detection, response, recovery, and failback.
PRIMARY SOURCES
Verify the claims
- primaryWhat is Amazon CloudWatch?aws-obs-cloudwatch · retrieved 2026-07-29
- primaryAWS CloudTrail User Guideaws-gov-cloudtrail · retrieved 2026-07-29
- primaryWhat is AWS Config?aws-gov-config · retrieved 2026-07-29
- primaryWhat is AWS Systems Manager?aws-ops-ssm · retrieved 2026-07-29
- primaryReliability Pillar – AWS Well-Architected Frameworkaws-wa-reliability-pillar · retrieved 2026-07-29
- primaryDisaster Recovery of Workloads on AWS: Recovery in the Cloudaws-dr-whitepaper · retrieved 2026-07-29
- primaryContent Domain 2: Design Resilient Architecturesaws-cert-saa-c03-domain-2 · retrieved 2026-07-30
- primaryApi Gateway Throttlingaws-api-gateway-throttling · retrieved 2026-07-30