AWS Certified SysOps Administrator – AssociateDeployment, Provisioning, and AutomationEasy

A media company uses Amazon S3 to store large video files. They need to ensure that when a new video file is uploaded to a specific S3 bucket, it automatically triggers a serverless function to transcode the video into multiple formats. This process must be highly scalable and cost-effective. Which AWS service combination provides the most efficient solution for this automated workflow?

  1. AAmazon EventBridge and AWS Step Functions
  2. BAmazon S3 event notifications and AWS Lambda
  3. CAWS CloudWatch Events and AWS Batch
  4. DAmazon SQS and AWS Lambda
Show answer & explanation

Correct answer: B. Amazon S3 event notifications and AWS Lambda

Amazon S3 event notifications can directly trigger AWS Lambda functions when specific events, like object uploads, occur. This is a highly scalable, serverless, and cost-effective solution for reacting to S3 events.

Why the other options are wrong

  • A. EventBridge is powerful for event routing, and Step Functions for complex workflows, but S3 direct Lambda invocation is simpler and sufficient here.
  • C. CloudWatch Events can trigger Lambda, but S3 event notifications are native. AWS Batch is for batch processing, not direct event-driven serverless functions.
  • D. SQS can queue messages, but S3 event notifications directly triggering Lambda is more efficient for this use case.

S3 Event Notifications with Lambda

A mechanism where Amazon S3 automatically sends notifications to other AWS services, such as AWS Lambda, when specific events occur on objects in a bucket.

  • Triggered by S3 events (e.g., object creation, deletion).
  • Can invoke Lambda functions directly.
  • Enables event-driven serverless architectures.

Memory trick: Upload to S3, Lambda leaps to life.

More Deployment, Provisioning, and Automation questions