AWS Certified Developer Associate DVA-C02 Practice Question

A development team is working on an AWS Lambda function designed to process incoming image files from an Amazon S3 bucket. The team wants to track the number of images processed per minute as a custom metric. Which code implementation will effectively allow the team to send this custom metric to Amazon CloudWatch?

  • The Lambda function should use an Amazon Kinesis stream to capture the count of processed images, and then CloudWatch collects the metric from the stream.

  • The Lambda function should write the count of processed images to the application logs, and CloudWatch parses the logs to extract the metric.

  • The Lambda function should store the count of images processed in an Amazon DynamoDB table, which acts as a custom metric data source for CloudWatch.

  • The Lambda function should call the putMetricData operation of the CloudWatch client with a namespace and metric data for images processed each minute.

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