Data Ingestion and Transformation
A Lambda function processes uploads under incoming/ and writes results under processed/ in the same S3 bucket. Which S3 event notification configuration starts processing promptly without triggering the function on its own output?
Show the answer
Correct answerD. ObjectCreated events with an incoming/ prefix filter
AWhy not this: Filtering for processed/ selects the function's output rather than source uploads.
BWhy not this: ObjectRemoved events report deletions rather than new uploads.
CWhy not this: A filename suffix does not exclude output objects that use the same suffix.
DWhy this is right: The incoming/ prefix selects source uploads and excludes objects written under processed/.
An incoming/ prefix filter invokes the function for source uploads while excluding results written under processed/. A suffix filter alone does not separate input and output locations and can allow recursive invocations.