CloudWatch Logs Insights Quiz

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

Quiz covering Audit and Logging

What you'll be asked

  1. Which CloudWatch Logs Insights command is used to filter log events based on specific criteria?
  2. You need to count the number of occurrences of each unique error code in your logs. Which command sequence is the most efficient?
  3. If you want to extract a specific value from a log message string that is not already a structured field, which command should you use?
  4. What is the primary purpose of the 'display' command in a CloudWatch Logs Insights query?
  5. You have a log field 'duration' which is currently treated as a string, but you need to calculate the average duration. How do you handle this calculation?

Answers and explanations come after you submit.