CloudWatch Metric Filters Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering Detection Automation

What you'll be asked

  1. Which AWS service component is primarily responsible for searching and parsing through log data in CloudWatch Logs to find specific terms or patterns?
  2. When creating a Metric Filter, what is the purpose of the 'Metric Value' field?
  3. You have a log group capturing application errors. You want to create a Metric Filter that counts every time the word 'ERROR' appears in a log line. Which filter pattern syntax is correct?
  4. A developer wants to monitor how many times a user ID appears in a JSON-formatted log file. How can they extract the value of the 'userID' field to use as a metric dimension?
  5. You have an existing log group with 500GB of historical data. You create a new Metric Filter to count 404 errors. Will this filter process the existing 500GB of historical logs?

Answers and explanations come after you submit.