D4: Custom Metrics & Embedded Metric Format
AWS Associate AWS Certified Developer – Associate exam practice questions · 10 flashcards
Question
PutMetricData?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Custom Metrics & Embedded Metric Format practice questions and answers
- PutMetricData?API to publish custom metrics with dimensions and units.
- CloudWatch embedded metric format (EMF)?Structured JSON log format that CloudWatch automatically extracts as metrics — no API calls needed.
- Why EMF in Lambda?Asynchronous metric creation via logs; lower latency and cost than PutMetricData.
- Powertools Metrics utility?Easily emit EMF metrics from Lambda.
- High-resolution custom metrics?StorageResolution=1 for 1-second granularity.
- Metric dimensions caution?Each unique dimension combination is a separate metric (cost).
- Business metrics examples?OrdersPlaced, PaymentFailures, SignUps.
- Metric filter vs EMF?Metric filter extracts from unstructured logs via patterns; EMF embeds metric definitions in structured logs.
- Alarm on custom metric?Create CloudWatch alarm with threshold and SNS action.
- Scenario: count checkout failures without extra API calls from Lambda. Approach?Emit EMF logs.