← AWS DevOps Engineer Professional: operations and delivery
06 / 24 · 115 MIN

Telemetry and useful alarms

Distinguish absence, value, and operational-action delivery.

Concept and mechanism

A dashboard is useful only if its signal represents the intended resource and condition. For guest metrics such as memory, configure an appropriate collector, permissions, and destination. Having EC2 CPU does not establish that operating-system collection is ready.

Namespace, name, and dimensions identify the series: Environment=prod and Environment=production are not equivalent through intent. Before changing thresholds, confirm points reach the queried series. Then check unit, period, and aggregation.

Zero can be a legitimate observation; absence means the expected observation was not received. Confusing them can hide collection failures.

Guided application

Missing-data policy should follow semantics. For a continuous heartbeat, treating absence as notBreaching can hide interruption. For a counter emitting only errors, silence may be normal if emitter health has a separate control.

Do not choose the same rule for everything. For M out of N with complete points, count those exceeding the threshold: two of three above 80 triggers with 75, 85, and 90. Composite alarms help combine states and reduce noise but do not directly support Auto Scaling or EC2 actions.

Finally, test action delivery. An alarm in ALARM does not prove the recipient received notification or escalation started.

Export metrics with a verifiable contract

A fictional team sends CloudWatch metrics to an external observability tool. Draw the path from producer to consumer: publication, metric-stream selection, Firehose receipt, final delivery, and interpretation. At each hop, identify available evidence and what it does not prove.

MetricUpdate alone does not demonstrate persistence at the last destination. If Firehose receives data and the destination is empty, investigate that hop’s permissions, configuration, and errors. Also define which accounts and namespaces enter the stream.

Central OAM querying does not force export of every linked source. Use supported selection: one stream does not combine include and exclude filters. Verify selection against the service inventory before accepting coverage.

Handle gaps and format transitions

Running describes current stream state but guarantees neither eligible metrics nor complete destination history. When stopping and resuming, points published during the pause are not automatically resent. An already sent point is also not resent merely because that metric and timestamp’s value changed.

Record these limits in the reconciliation contract. Changing format on the same Firehose can leave old and new records in flight; prepare parser compatibility or temporarily separate transport. Do not delete objects that fail parsing to improve a success indicator.

Preserve them with appropriate access and assign an owner to recovery or explicit gap reporting. A current green dashboard cannot certify an unobserved historical interval.

Observe a path without real traffic

Before a fictional service opens, a synthetic check can authenticate, query a test object, and validate the result. Define identities, data, and permitted effects; avoid creating real instructions as an accidental consequence of monitoring.

The endpoint can be available while the canary fails because of its own dependencies. In a private VPC, API access does not replace paths required to publish CloudWatch metrics and S3 artifacts. Review DNS, routes, endpoints, and permissions according to the design.

Failed identifies canary execution failures; do not directly convert it into failed customer transactions. That distinction keeps the incident evidence-driven and makes lost coverage visible to the operations team.

Update the monitor and protect artifacts

Monitoring code also changes and can fail after a runtime update. On a supported runtime, use safe updates to perform a dry run, inspect results, and apply the validated configuration. That rehearsal does not test Schedule changes, which need separate verification.

Also review what the canary records. HTTPS protects transport but does not prevent tokens appearing in captured URLs, headers, or bodies. Keep secrets outside code, apply appropriate redaction, and restrict artifact access.

At RUN handover, provide monitor version, tested functional scope, verified schedule, and the procedure for distinguishing test failure from application failure. Evidence should remain usable without disclosing unnecessary information to those investigating the service.

Choose the SLO denominator

A period-based SLO asks how many short intervals were healthy. A request-based SLO asks how many requests achieved the intended outcome. With variable traffic, those percentages can diverge.

Agree the population with the business and define the SLI explicitly. Standard Application Signals Availability treats non-5xx responses as technical success; a path returning business-relevant 4xx responses may need another indicator. To interpret error budget, separate the tolerable maximum, observed consumption, and balance.

Burn rate compares bad-event rate with the rate allowed by the goal. It is neither the error percentage itself nor an unconditional prediction of time until the budget is exhausted. Every report should retain the chosen interval and population.

Exercise: budget and operating decision

The local model calculates budget for one-minute periods and burn rate over a complete population. Run the examples and explain why 1,000 periods at 99% permit ten bad periods and leave three after seven are consumed. Then calculate the ratio between observed 0.6% and allowed 0.1%.

The model does not reproduce AWS evaluation, exclusions, publication delays, or missing data. Those cases must be addressed before using real numbers in sign-off. Write a manager update stating signal, population, interval, consumption, and next action.

If a customer still cannot work, an indicator that does not measure that path is insufficient for incident closure.


# Original local SLO arithmetic; not an Application Signals evaluator.
from fractions import Fraction

def remaining_periods(total, bad, goal_percent):
    goal = Fraction(str(goal_percent)) / 100
    if type(total) is not int or type(bad) is not int or total <= 0 or not 0 <= bad <= total or not 0 < goal < 1:
        raise ValueError("invalid complete-population inputs")
    return total * (1 - goal) - bad

def burn_rate(error_percent, goal_percent):
    error, goal = Fraction(str(error_percent)), Fraction(str(goal_percent))
    if not 0 <= error <= 100 or not 0 < goal < 100:
        raise ValueError("invalid percentages")
    return error / (100 - goal)

assert remaining_periods(1000, 7, 99) == 3
assert remaining_periods(1000, 12, 99) == -2
assert burn_rate(0.6, 99.9) == 6
assert burn_rate(0, 99.9) == 0
for args in [(0, 0, 99), (10, 11, 99), (10, 0, 100)]:
    try:
        remaining_periods(*args)
    except ValueError:
        pass
    else:
        raise AssertionError("invalid population accepted")
IN PRACTICE

After changing the agent, points disappear but the dashboard stays green. Check collection and service before claiming improvement.

Common pitfalls

Absence as zero; approximate dimension; composite with every action; alarm state as message receipt.

Related topics: Events, incidents, and replay · Security and operational evidence

Take this idea with you

Validate collection, interpretation, and delivery through to the responsible team.

Create account

References

AWS is a trademark of Amazon.com, Inc. or its affiliates. bigsavant.com is an independent preparation platform and is not affiliated with, associated with, sponsored, authorised or endorsed by AWS. Content and questions are original, are not official exam questions, and completing our tests does not award or guarantee any certification. Names are used only to identify the subject. All other trademarks belong to their respective owners.