Free 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 call the putMetricData operation of the CloudWatch client with a namespace and metric data for images processed each minute.

  • 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 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 write the count of processed images to the application logs, and CloudWatch parses the logs to extract the metric.

This question's topic:
AWS Certified Developer Associate DVA-C02 / 
Troubleshooting and Optimization
Your Score:

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