nerdexam
AmazonAmazon

DVA-C02 · Question #192

DVA-C02 Question #192: Real Exam Question with Answer & Explanation

The correct answer is D: Create a Lambda@Edge function that optimizes the photos upon request and returns the photos. https://aws.amazon.com/blogs/networking-and-content-delivery/resizing-images-with-amazon- cloudfront-lambdaedge-aws-cdn-blog/

Submitted by brentm· Mar 5, 2026Troubleshooting and Optimization

Question

A company is expanding the compatibility of its photo-sharing mobile app to hundreds of additional devices with unique screen dimensions and resolutions. Photos are stored in Amazon S3 in their original format and resolution. The company uses an Amazon CloudFront distribution to serve the photos. The app includes the dimension and resolution of the display as GET parameters with every request. A developer needs to implement a solution that optimizes the photos that are served to each device to reduce load time and increase photo quality. Which solution will meet these requirements MOST cost-effectively?

Options

  • AUse S3 Batch Operations to invoke an AWS Lambda function to create new variants of the
  • BUse S3 Batch Operations to invoke an AWS Lambda function to create new variants of the
  • CCreate a Lambda@Edge function that optimizes the photos upon request and returns the photos
  • DCreate a Lambda@Edge function that optimizes the photos upon request and returns the photos

Explanation

https://aws.amazon.com/blogs/networking-and-content-delivery/resizing-images-with-amazon- cloudfront-lambdaedge-aws-cdn-blog/

Community Discussion

No community discussion yet for this question.

Full DVA-C02 PracticeBrowse All DVA-C02 Questions