nerdexam
AmazonAmazon

DVA-C02 · Question #708

DVA-C02 Question #708: Real Exam Question with Answer & Explanation

The correct answer is B: Use CloudWatch Insights to run a query on the log group that searches for specific patterns that. CloudWatch Logs Insights enables efficient, interactive querying of log data with minimal operational overhead. It allows filtering logs for error patterns and extracting timestamps within a specific time window, making it the most operationally efficient solution for debugging L

Submitted by asante_acc· Mar 5, 2026Troubleshooting and Optimization

Question

A developer is debugging an issue with an application that is based on an AWS Lambda function. The Lambda function intermittently fails during a 1-hour window. The developer needs to investigate the root cause of the intermittent failures. The application sends logs to an Amazon CloudWatch Logs log group. The developer must be able to collect logs that relate to Lambda function failures. The developer must capture the dates and times at which the failures occurred. Which solution will meet these requirements in the MOST operationally efficient way?

Options

  • AUse the AWS CLI in AWS CloudShell to browse the CloudWatch Logs log group to search for the
  • BUse CloudWatch Insights to run a query on the log group that searches for specific patterns that
  • CDownload log flies from the CloudWatch Logs log group to the developer's local machine. Use a
  • DExport the CloudWatch Logs log group to an Amazon S3 bucket. Use Amazon Athena to run a

Explanation

CloudWatch Logs Insights enables efficient, interactive querying of log data with minimal operational overhead. It allows filtering logs for error patterns and extracting timestamps within a specific time window, making it the most operationally efficient solution for debugging Lambda

Community Discussion

No community discussion yet for this question.

Full DVA-C02 PracticeBrowse All DVA-C02 Questions