CompTIA Study Materials
AWS Study Materials
AWS Certified Developer Associate AWS Certified Developer Associate
AWS Certified Developer Associate DVA-C02
AWS Certified Solutions Architect Associate AWS Certified Solutions Architect Associate
AWS Certified Solutions Architect Associate SAA-C03
AWS Cloud Practitioner AWS Cloud Practitioner
AWS Cloud Practitioner CLF-C02
Microsoft Study Materials
Microsoft Azure Fundamentals Microsoft Azure Fundamentals
Microsoft Azure Fundamentals AZ-900

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 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.

This question's topic:
AWS Certified Developer Associate DVA-C02 / 
Troubleshooting and Optimization
Your Score:
Troubleshooting and Optimization
Development with AWS Services
Security
Deployment