AWS Certified CloudOps Engineer Associate SOA-C03 Practice Question
A company stores build artifacts in an S3 bucket. The CloudOps team must run a Lambda function only when an object of at least 500 MB is uploaded to the bucket's incoming/ prefix. The function must not be invoked for any other uploads, and the solution should require the least custom code and incur minimal cost. Which configuration meets these requirements?
Create an AWS Step Functions state machine that runs every five minutes, lists objects in the bucket, and invokes the Lambda function for any object larger than 500 MB in the incoming/ prefix.
Create an Amazon EventBridge rule that filters PutObject events where detail.object.key starts with "incoming/" and detail.object.size is greater than or equal to 524 288 000 bytes; set the Lambda function as the rule's target.
Configure an S3 event notification on the bucket with a prefix filter of "incoming/" and set the Lambda function as the destination.
Enable CloudTrail data events on the bucket, deliver logs to a separate S3 bucket, and configure that bucket to trigger the Lambda function on new log file creation.
Amazon EventBridge receives Amazon S3 object‑level events and includes both the object key and size in the event detail. By creating an EventBridge rule that:
matches the PutObject API call,
filters the key so it begins with incoming/,
and applies a numeric filter of ≥ 524 288 000 bytes on detail.object.size, only qualifying events invoke the Lambda function once, eliminating extra code and keeping costs low.
An S3 event notification can filter on prefix and suffix but not on object size, so the Lambda function would need to inspect every upload and exit early, increasing executions and code complexity. A CloudTrail-based solution requires enabling data events and processing log files, adding latency, storage charges, and additional infrastructure. A scheduled Step Functions workflow would poll the bucket, generating unnecessary invocations and higher cost compared with an event-driven approach.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is Amazon EventBridge, and how does it work?
Open an interactive chat with Bash
Why can Amazon S3 event notifications not filter based on object size?
Open an interactive chat with Bash
What makes EventBridge more cost-effective than other solutions for this use case?
Open an interactive chat with Bash
AWS Certified CloudOps Engineer Associate SOA-C03
Deployment, Provisioning, and Automation
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .