D4: Collecting & Storing Logs and Metrics
AWS Certified DevOps Engineer – Professional exam practice questions · 11 flashcards
Question
CloudWatch metric components?
1 / 11
Tip: Space flips the card, ← / → navigate.
Show all 11 Collecting & Storing Logs and Metrics practice questions and answers
- CloudWatch metric components?Namespace, metric name, dimensions, timestamp, value, unit, resolution.
- Standard vs high resolution metrics?Standard: 1-minute. High resolution: 1-second (custom).
- CloudWatch agent custom metrics?Memory, disk, processes, StatsD/collectd metrics from EC2/on-prem.
- Metric filters?Create metrics from log patterns (e.g. count of 'Exception').
- Metric streams?Stream metrics continuously via Firehose to S3 or third-party tools.
- Log group retention?Set retention (1 day–10 years or never) to control cost/compliance.
- Exporting logs to S3 long-term?Subscription filter → Firehose → S3 with lifecycle to Glacier.
- Encrypting CloudWatch Logs?Associate KMS key with log group (key policy must allow CloudWatch Logs).
- IAM for log collection?Instance roles with CloudWatchAgentServerPolicy; delivery roles for subscriptions.
- Real-time log ingestion?Subscription filters to Kinesis Data Streams/Firehose/Lambda/OpenSearch.
- Cross-account log centralization?Log destinations with resource policy receiving subscription filters from source accounts.