Bird
0
0

You need a Lambda function to automatically resize images uploaded to an S3 bucket and store the resized images in another bucket. Which AWS services must you configure to implement this workflow?

hard📝 Application Q8 of 15
AWS - Lambda
You need a Lambda function to automatically resize images uploaded to an S3 bucket and store the resized images in another bucket. Which AWS services must you configure to implement this workflow?
AAWS CloudTrail and Amazon SNS
BAmazon S3 event notifications and AWS Lambda
CAmazon CloudWatch Events and AWS Step Functions
DAWS Config and Amazon SQS
Step-by-Step Solution
Solution:
  1. Step 1: Identify the trigger for Lambda

    Amazon S3 event notifications can trigger Lambda functions when objects are uploaded.
  2. Step 2: Confirm Lambda's role

    Lambda processes the image resizing automatically upon trigger.
  3. Step 3: Eliminate other options

    CloudTrail tracks API calls, SNS is for messaging, CloudWatch Events and Step Functions orchestrate workflows but don't directly trigger on S3 uploads, and AWS Config monitors resource configurations.
  4. Final Answer:

    Amazon S3 event notifications and AWS Lambda -> Option B
  5. Quick Check:

    S3 event triggers Lambda for processing [OK]
Quick Trick: Use S3 event notifications to trigger Lambda [OK]
Common Mistakes:
  • Using CloudTrail instead of S3 events for triggers
  • Confusing SNS with direct triggers from S3
  • Assuming CloudWatch Events triggers on S3 uploads

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes