ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 169 - DVA-C01 discussion

Report
Export

An existing serverless application processes uploaded image files. The process currently uses a single Lambda function that takes an image file, performs the processing, and stores the file in Amazon S3. Users of the application now require thumbnail generation of the images. Users want to avoid any impact to the time it takes to perform the image uploads. How can thumbnail generation be added to the application, meeting user requirements while minimizing changes to existing code?

A.
Change the existing Lambda function handling the uploads to create thumbnails at the time of upload. Have the function store both the image and thumbnail in Amazon S3.
Answers
A.
Change the existing Lambda function handling the uploads to create thumbnails at the time of upload. Have the function store both the image and thumbnail in Amazon S3.
B.
Create a second Lambda function that handles thumbnail generation and storage. Change the existing Lambda function to invoke it asynchronously.
Answers
B.
Create a second Lambda function that handles thumbnail generation and storage. Change the existing Lambda function to invoke it asynchronously.
C.
Create an S3 event notification with a Lambda function destination. Create a new Lambda function to generate and store thumbnails.
Answers
C.
Create an S3 event notification with a Lambda function destination. Create a new Lambda function to generate and store thumbnails.
D.
Create an S3 event notification to an SQS Queue. Create a scheduled Lambda function that processes the queue, and generates and stores thumbnails.
Answers
D.
Create an S3 event notification to an SQS Queue. Create a scheduled Lambda function that processes the queue, and generates and stores thumbnails.
Suggested answer: C

Explanation:

https://docs.aws.amazon.com/lambda/latest/dg/with-s3-example.html

asked 16/09/2024
Jason Hicks
44 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first