AWS Certified Data Engineer Associate DEA-C01 Practice Question
A data engineer runs an AWS Glue ETL job that reads from an S3 prefix. Several runs failed after someone deleted files minutes before the job started. An organization trail already logs management and S3 data events to S3. The engineer must run SQL queries to identify the IAM principal that called DeleteObject during the last month and for future incidents, without maintaining extra infrastructure. Which solution meets these needs?
Create a CloudTrail Lake event data store that ingests events from the existing trail and use the CloudTrail Lake query editor to run SQL over S3 DeleteObject events for the prefix.
Enable S3 server access logging on the bucket, send logs to a new bucket, and analyze them with Amazon EMR.
Use Amazon Athena to query the organization trail's log files in S3 by cataloging them with AWS Glue tables.
Configure an EventBridge rule for s3:ObjectRemoved:* events, invoke a Lambda function that writes each event to DynamoDB, and query the table for deletions.
CloudTrail Lake is a managed feature that lets you create an event data store fed by existing trails and then run SQL queries directly from the CloudTrail console or API. Because the organization trail already captures S3 data events, the engineer only has to create a data store that ingests those events. No additional analytics services or pipelines are required, and both new and retained events can be queried for the DeleteObject action and the associated IAM identity.
Athena over trail logs requires defining and maintaining tables (additional infrastructure). S3 server access logs plus EMR adds even more overhead and do not record the full caller identity for prior events. EventBridge with Lambda and DynamoDB captures only future deletions and builds an unnecessary pipeline.
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 CloudTrail Lake and how is it used in this scenario?
Open an interactive chat with Bash
Why is Amazon Athena not suitable for this solution?
Open an interactive chat with Bash
What are the limitations of using EventBridge with Lambda and DynamoDB for this scenario?
Open an interactive chat with Bash
What is CloudTrail Lake and how does it help with querying S3 DeleteObject events?
Open an interactive chat with Bash
Why is using Amazon Athena with AWS Glue tables not an optimal solution in this case?
Open an interactive chat with Bash
How does CloudTrail Lake compare to EventBridge and Lambda for future S3 object deletions?
Open an interactive chat with Bash
AWS Certified Data Engineer Associate DEA-C01
Data Operations and Support
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 .