Flashcardsfor IT Certifications

D1: CloudWatch Logs, Metric Filters & Insights

AWS Associate AWS Certified CloudOps Engineer – Associate exam practice questions · 11 flashcards

Question
What is a log group vs log stream?
1 / 11

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 11 CloudWatch Logs, Metric Filters & Insights practice questions and answers
  1. What is a log group vs log stream?
    Log group: collection of streams sharing retention/permissions. Log stream: sequence of events from one source.
  2. Default log retention?
    Never expire. Set retention per log group to control cost.
  3. What is a metric filter?
    Extracts metric data from log events matching a pattern, e.g. count 'ERROR' lines.
  4. What is CloudWatch Logs Insights?
    Interactive query language to search and analyze log data.
  5. What is a subscription filter?
    Streams log events in real time to Lambda, Kinesis Data Streams, Firehose or OpenSearch.
  6. How do you export logs to S3?
    CreateExportTask (batch) or a subscription filter to Firehose (near real time).
  7. How do you centralize logs from many accounts?
    Cross-account subscription filters to a central destination, or CloudWatch cross-account observability.
  8. What is Live Tail?
    Real-time streaming view of log events in the console for troubleshooting.
  9. What is log anomaly detection?
    ML-based detection of unusual patterns in log groups.
  10. How do you encrypt a log group?
    Associate a KMS key with the log group.
  11. Scenario: alarm when application logs contain more than 10 '500' errors in 5 minutes. Approach?
    Metric filter on the log group + CloudWatch alarm on the resulting metric.