AWS Certified Developer Associate DVA-C02 Practice Question

A development team is monitoring an AWS Lambda function that processes items from an Amazon DynamoDB stream. Some invocations fail because the incoming records contain client-side mistakes. The team wants to measure how often these client-caused errors occur so that they can track trends and tune the application. Which solution will best provide a reliable count of these specific failures over time?

  • Enable enhanced monitoring such as Lambda Insights to capture all execution details and errors.

  • Instrument the function with AWS X-Ray and tag traces that include client errors.

  • Record a custom CloudWatch metric from the function code each time a client error is detected.

  • Add verbose logging to the function and periodically scan the logs for client errors.

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