
Answer-first summary for fast verification
Answer: Configure S3 replication between the S3 buckets. Configure the analysis S3 bucket to send event notifications to Amazon EventBridge (Amazon CloudWatch Events). Configure an ObjectCreated rule in EventBridge (CloudWatch Events). Configure Lambda and SageMaker Pipelines as targets for the rule.
## Explanation **Correct Answer: D** **Why Option D is the best solution with the LEAST operational overhead:** 1. **S3 Replication**: This automatically copies objects from the initial S3 bucket to the analysis S3 bucket as they arrive, eliminating the need for a custom Lambda function just for copying. S3 Replication is a managed service that handles the copying automatically with built-in reliability and scalability. 2. **Amazon EventBridge (CloudWatch Events)**: Using EventBridge provides more flexibility than direct S3 event notifications because: - It can fan out events to multiple targets (Lambda and SageMaker Pipelines) - It provides event filtering capabilities - It offers better event routing and transformation options - It supports more event patterns and destinations 3. **Least Operational Overhead**: This solution minimizes operational overhead because: - **S3 Replication** is a managed service requiring no code maintenance - **EventBridge** provides centralized event management - No custom Lambda function needed for basic file copying - The solution scales automatically with increasing file sizes and volumes **Why other options are less optimal:** - **Option A & B**: Require creating and maintaining a Lambda function just for copying files, which adds operational overhead for code maintenance, monitoring, and scaling. - **Option C**: Uses S3 Replication (good) but uses direct S3 event notifications instead of EventBridge. S3 event notifications have limitations: - Limited to 5 destinations per bucket - Less flexible event filtering - Cannot easily route to multiple targets with different processing requirements **Architecture Flow:** 1. Files arrive in initial S3 bucket 2. S3 Replication automatically copies them to analysis S3 bucket 3. EventBridge detects ObjectCreated events in analysis bucket 4. EventBridge routes events to both: - Lambda function for pattern-matching - SageMaker Pipelines for data processing This solution provides the most scalable, maintainable, and operationally efficient approach.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
A reporting team receives files each day in an Amazon S3 bucket. The reporting team manually reviews and copies the files from this initial S3 bucket to an analysis S3 bucket each day at the same time to use with Amazon QuickSight. Additional teams are starting to send more files in larger sizes to the initial S3 bucket.
The reporting team wants to move the files automatically to the analysis S3 bucket as the files enter the initial S3 bucket. The reporting team also wants to use AWS Lambda functions to run pattern-matching code on the copied data. In addition, the reporting team wants to send the data files to a pipeline in Amazon SageMaker Pipelines.
What should a solutions architect do to meet these requirements with the LEAST operational overhead?
A
Create a Lambda function to copy the files to the analysis S3 bucket. Create an S3 event notification for the analysis S3 bucket. Configure Lambda and SageMaker Pipelines as destinations of the event notification. Configure s3:ObjectCreated:Put as the event type.
B
Create a Lambda function to copy the files to the analysis S3 bucket. Configure the analysis S3 bucket to send event notifications to Amazon EventBridge (Amazon CloudWatch Events). Configure an ObjectCreated rule in EventBridge (CloudWatch Events). Configure Lambda and SageMaker Pipelines as targets for the rule.
C
Configure S3 replication between the S3 buckets. Create an S3 event notification for the analysis S3 bucket. Configure Lambda and SageMaker Pipelines as destinations of the event notification. Configure s3:ObjectCreated:Put as the event type.
D
Configure S3 replication between the S3 buckets. Configure the analysis S3 bucket to send event notifications to Amazon EventBridge (Amazon CloudWatch Events). Configure an ObjectCreated rule in EventBridge (CloudWatch Events). Configure Lambda and SageMaker Pipelines as targets for the rule.