Skip to main content

DVA-C02 practice question · Troubleshooting and Optimization

Which CloudWatch feature lets a developer run SQL-like queries directly against log data to quickly find patterns, such…

Which CloudWatch feature lets a developer run SQL-like queries directly against log data to quickly find patterns, such as all ERROR-level log lines for a specific request ID?

  • ACloudWatch Logs Insights
  • BCloudWatch Events (now EventBridge) rules
  • CAWS Trusted Advisor
  • DAmazon Inspector
Show the answer and explanation

Correct answer: A) CloudWatch Logs Insights

Why each option is right or wrong

  • A) Correct. Logs Insights provides a purpose-built query language for interactively searching and analyzing log data, letting you filter, parse, and aggregate log events far faster than manually scanning raw logs.
  • B) Incorrect. EventBridge routes and reacts to events in near real time; it isn't a query interface for interactively searching historical log data.
  • C) Incorrect. Trusted Advisor gives account best-practice checks; it doesn't provide a log query interface.
  • D) Incorrect. Inspector performs automated security assessments of workloads; it isn't a tool for querying application log data.
Exam domain
Troubleshooting and Optimization · 18% of DVA-C02
Question type
Multiple choice (one answer)

Practise the full DVA-C02 exam

This question is one of a small free sample from the CertRidge DVA-C02 bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.

Original question written from the official exam guide. Not affiliated with AWS; never copied from the real exam.

Worth reading: DVA-C02 cheat sheet, Lambda, DynamoDB, API Gateway, IAM and Cognito, messaging, CI/CD and X-Ray in tables, plus what DVA-C03 changes.