SOA-C03 practice question 10 of 10
A company runs a website on Amazon EC2 instances. Users can upload images to an Amazon S3 bucket and publish the images to the website. The company…
Choose your answer, then check it against the explanation and the full breakdown below.
Domain Deployment, Provisioning, and Automation
Question breakdown
Key idea: S3 Event Notifications can invoke a Lambda function directly on object-created events, with no intermediary service required.
How to reach the answer
- The trigger is an object upload to an S3 bucket.
- S3 Event Notifications support Lambda as a native destination for s3:ObjectCreated events.
- SNS or SQS would only help if fan-out or buffering were required, and neither is mentioned.
- CloudWatch alarms respond to metric thresholds, not individual object events.
Each option
Common trap: SNS and SQS are familiar decoupling services, so they seem necessary, but S3 can call Lambda directly.
In practice: Thumbnail generation, file validation and metadata extraction pipelines are commonly built on S3 notifications that trigger Lambda, optionally filtered by prefix or suffix.
Remember: For 'run code when an object is uploaded', configure an S3 Event Notification with Lambda as the destination.
Official documentation: Process Amazon S3 event notifications with Lambda · Amazon S3 Event Notifications
Drafted with AI assistance and checked against the answer key.
Keep practicing
Take the free SOA-C03 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other SOA-C03 practice questions
- Question 1Optimization] A CloudOps engineer is using AWS Compute Optimizer to generate recommendati…
- Question 2A company's developers manually install software modules on Amazon EC2 instances to deplo…
- Question 3A company requires the rotation of administrative credentials for production workloads on…
- Question 4Application A runs on Amazon EC2 instances behind a Network Load Balancer (NLB). The EC2 …
- Question 5A company uses an organization in AWS Organizations to manage multiple AWS accounts. The …
- Question 6A global gaming company is preparing to launch a new game on AWS. The game runs in multip…
