Metric Filters Quiz

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

Quiz covering CloudWatch Metrics and Logs

What you'll be asked

  1. What is the primary purpose of a CloudWatch Metric Filter?
  2. You have a log stream containing the string 'ERROR 500'. Which filter pattern would correctly capture this specific event?
  3. You are configuring a metric filter to track application failures. If you set the 'Metric Value' to 1, what happens every time the filter pattern matches a log entry?
  4. Which of the following is true regarding the retroactive effect of CloudWatch Metric Filters?
  5. You need to extract a numeric 'response_time' field from a JSON log entry: {"status": 200, "response_time": 150}. Which filter pattern syntax allows you to extract this value for a metric?

Answers and explanations come after you submit.