nerdexam
Amazon

DVA-C02 · Question #29

A developer is using an AWS Lambda function to generate avatars for profile pictures that are uploaded to an Amazon S3 bucket. The Lambda function is automatically invoked for profile pictures that ar

The correct answer is A. Set the image resize Lambda function as a destination of the avatar generator Lambda function. This will allow the developer to implement a fallback mechanism by using another Lambda function that resizes the profile picture with the least development effort.

Submitted by rachelw· Mar 5, 2026Development with AWS Services

Question

A developer is using an AWS Lambda function to generate avatars for profile pictures that are uploaded to an Amazon S3 bucket. The Lambda function is automatically invoked for profile pictures that are saved under the /original/ S3 prefix. The developer notices that some pictures cause the Lambda function to time out. The developer wants to implement a fallback mechanism by using another Lambda function that resizes the profile picture. Which solution will meet these requirements with the LEAST development effort?

Options

  • ASet the image resize Lambda function as a destination of the avatar generator Lambda function
  • BCreate an Amazon Simple Queue Service (Amazon SQS) queue. Set the SQS queue as a
  • CCreate an AWS Step Functions state machine that invokes the avatar generator Lambda function
  • DCreate an Amazon Simple Notification Service (Amazon SNS) topic. Set the SNS topic as a

How the community answered

(30 responses)
  • A
    83% (25)
  • B
    3% (1)
  • C
    10% (3)
  • D
    3% (1)

Explanation

This will allow the developer to implement a fallback mechanism by using another Lambda function that resizes the profile picture with the least development effort.

Community Discussion

No community discussion yet for this question.

Full DVA-C02 Practice