S3 Event Notification Filter Causing CodePipeline Not to Trigger
A company uses AWS CodePipeline with Amazon S3 as the source stage. The pipeline triggers on object creation events in the S3 bucket. The development team notices that the pipeline does not trigger when multiple files are uploaded simultaneously. What is the most likely cause?
Quick Answer
The correct answer is that the S3 event notification filter is set to only include objects with a specific prefix or suffix that does not match the uploaded files. This is the most likely cause because Amazon S3 event notifications support prefix and suffix filtering; when multiple files are uploaded simultaneously, if their keys do not match the configured filter pattern—for example, a filter expecting a `logs/` prefix or a `.csv` suffix—the event notification is never sent to CodePipeline, so the pipeline remains untriggered regardless of how many files arrive. On the AWS Certified DevOps Engineer Professional DOP-C02 exam, this scenario tests your understanding of S3 event notification mechanics as a source action in CodePipeline, often appearing as a trap where candidates blame throttling or concurrency limits instead of the filter misconfiguration. A useful memory tip: think of the filter as a bouncer at a club—if the file’s name doesn’t match the guest list (prefix/suffix), it never gets the notification to start the pipeline party.
⚠ Common exam trap
The trap here is that candidates may incorrectly attribute the issue to a limitation of S3 event notifications or CodePipeline with bulk uploads, rather than recognizing that the most likely cause is a misconfigured event notification filter that excludes the uploaded files.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The S3 event notification filter is set to only include objects with a specific prefix or suffix that does not match the uploaded files.
Amazon S3 event notifications can be filtered by prefix and suffix. If the filter is configured to only match objects with a specific prefix or suffix (e.g., `images/` or `.zip`), and the uploaded files do not match that filter, the event notification will not be sent to CodePipeline, causing the pipeline not to trigger. This is the most likely cause when the pipeline fails to trigger on simultaneous uploads, as the filter configuration is a common misconfiguration.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Amazon S3 event notifications are not guaranteed to be delivered for bulk operations.
Why it's wrong here
S3 event notifications are designed to deliver events for each object creation, though there may be occasional delays or duplicates.
- ✗
CodePipeline does not support triggering from S3 event notifications when multiple files are uploaded simultaneously.
Why it's wrong here
CodePipeline supports S3 event notifications and can handle multiple triggers.
- ✗
The S3 bucket versioning is not enabled, causing events to be lost.
Why it's wrong here
Versioning is not required for event notifications; events are sent regardless.
Option-by-option analysis
Why each answer is right or wrong
Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The DOP-C02 exam frequently reuses these exact scenarios with slightly different constraints.
✓The S3 event notification filter is set to only include objects with a specific prefix or suffix that does not match the uploaded files.Correct answer▾
✗Amazon S3 event notifications are not guaranteed to be delivered for bulk operations.Wrong answer — click to see why▾
Why this is wrong here
S3 event notifications are designed to deliver events for each object creation, though there may be occasional delays or duplicates.
✗CodePipeline does not support triggering from S3 event notifications when multiple files are uploaded simultaneously.Wrong answer — click to see why▾
Why this is wrong here
CodePipeline supports S3 event notifications and can handle multiple triggers.
✗The S3 bucket versioning is not enabled, causing events to be lost.Wrong answer — click to see why▾
Why this is wrong here
Versioning is not required for event notifications; events are sent regardless.
Analysis generated from the official DOP-C02blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”
Quick reference
AWS S3 Storage Class Comparison
| Storage Class | Min Duration | Retrieval | Use Case |
|---|---|---|---|
| S3 Standard | None | Immediate | Frequently accessed data |
| S3 Standard-IA | 30 days | Immediate | Infrequent access, rapid retrieval |
| S3 One Zone-IA | 30 days | Immediate | Non-critical infrequent data |
| S3 Intelligent-Tiering | None | Immediate–hours | Unknown or changing access patterns |
| S3 Glacier Instant | 90 days | Milliseconds | Archive with instant retrieval |
| S3 Glacier Flexible | 90 days | Minutes–hours | Archive, flexible retrieval |
| S3 Glacier Deep Archive | 180 days | Hours | Long-term compliance archive |
Go deeper
Related to this question
About these practice questions
This DOP-C02 question is part of Courseiva's 251-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
Same concept, more angles
1 more way this is tested on DOP-C02
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. A company uses AWS CodePipeline with a source stage from Amazon S3. The pipeline triggers on changes to the S3 bucket. However, the pipeline does not trigger when a new object is uploaded. What is the MOST likely cause?
medium- A.The S3 bucket policy denies the CodePipeline service role.
- B.The S3 bucket is in a different AWS Region than the pipeline.
- C.The S3 bucket does not have versioning enabled.
- ✓ D.The S3 bucket does not have an event notification configured to invoke the pipeline.
Why D: CodePipeline does not automatically monitor S3 buckets for new objects. To trigger a pipeline on S3 events, you must explicitly configure an S3 event notification (e.g., s3:ObjectCreated:Put) that sends the event to CloudWatch Events or directly to CodePipeline via Amazon EventBridge. Without this notification, the pipeline will not start when a new object is uploaded.
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This DOP-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DOP-C02 exam.