AWS Certified Developer Associate DVA-C02 Practice Question

A developer is debugging performance issues in an application deployed on AWS Elastic Beanstalk. The application's logs are streamed to Amazon CloudWatch Logs. The developer suspects that a specific 'TimeoutException' is causing the issues and needs to find all occurrences of this exception from the last 24 hours. Which approach is the MOST efficient for finding these specific log entries?

  • Create a CloudWatch metric filter to count occurrences of 'TimeoutException' and a CloudWatch alarm to be notified of future errors.

  • Use Amazon CloudWatch Logs Insights to run a query that filters for log events containing the string 'TimeoutException' within the last 24 hours.

  • Use AWS X-Ray to trace the application's requests and identify segments that have errors.

  • Connect to each Amazon EC2 instance in the Elastic Beanstalk environment, download the log files, and search for the exception string locally.

AWS Certified Developer Associate DVA-C02
Troubleshooting and Optimization
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot