nerdexam
Amazon

SOA-C02 · Question #719

A company uploads audio files to an Amazon S3 bucket. The company has configured S3 Event notifications to invoke an AWS Lambda function when an object is uploaded to the S3 bucket. The Lambda…

The correct answer is D. Create an Amazon Simple Queue Service (Amazon SQS) standard queue. Add IAM permissions. Send S3 events to an SQS queue, have the queue trigger the Lambda, and configure a DLQ with a redrive policy. SQS provides built‐in retries and isolates failed events so they can be retried automatically without losing them.

Submitted by priya_blr· Mar 30, 2026Reliability and Business Continuity

Question

A company uploads audio files to an Amazon S3 bucket. The company has configured S3 Event notifications to invoke an AWS Lambda function when an object is uploaded to the S3 bucket. The Lambda function processes the audio files by merging the files with advertisements. After the company deploys new code to the Lambda function, the function runs. However, occasionally the files are not processed successfully. A SysOps administrator needs to ensure that the Lambda function automatically retries to process any files that are not processed successfully the first time. Which solution will meet these requirements?

Options

  • ACreate an Amazon Simple Queue Service (Amazon SQS) standard queue. Configure an S3 event
  • BCreate an Amazon ElastiCache (Redis OSS) cache. Add the necessary IAM permissions for the
  • CCreate an Amazon ElastiCache (Redis OSS) cache. Add the necessary IAM permissions for
  • DCreate an Amazon Simple Queue Service (Amazon SQS) standard queue. Add IAM permissions

How the community answered

(17 responses)
  • A
    6% (1)
  • B
    12% (2)
  • D
    82% (14)

Explanation

Send S3 events to an SQS queue, have the queue trigger the Lambda, and configure a DLQ with a redrive policy. SQS provides built‐in retries and isolates failed events so they can be retried automatically without losing them.

Topics

#Lambda retry behavior#SQS event source mapping#S3 event notifications#fault tolerance

Community Discussion

No community discussion yet for this question.

Full SOA-C02 Practice