AWS Certified Data Engineer Associate DEA-C01 Practice Question
A retail company receives about 50 CSV files (≈5 GB total) in the s3://sales/daily/ prefix every night at 01:00 UTC. A data engineer must build a fully serverless ingestion pipeline that loads these files into an existing Amazon Redshift table, keeps each AWS Lambda invocation under the 15-minute limit, and minimizes the number of Lambda executions. Which solution meets these requirements?
Schedule an AWS Glue crawler to catalog the files, then trigger an AWS Glue ETL job that writes the data into Redshift over a JDBC connection.
Enable Amazon S3 event notifications on the prefix to trigger a Lambda function for every new object; the function inserts each record into Redshift with SQL INSERT statements.
Create an Amazon EventBridge rule that runs once daily at 02:00 UTC, invoking a Lambda function that issues a single COPY command to Amazon Redshift referencing the s3://sales/daily/ prefix.
Use Amazon S3 Batch Operations to invoke a Lambda function once per object; each invocation runs a COPY command that loads the individual file into Redshift.
A single, scheduled Lambda invocation that calls the Redshift COPY command is the most efficient approach. COPY can ingest multiple files from a prefix in parallel, so one invocation can load the entire 5 GB dataset well within the 15-minute runtime. Using S3 event notifications or S3 Batch Operations would create 50 separate Lambda invocations and unnecessary overhead; using INSERT statements would also severely slow ingestion. An AWS Glue job could work but introduces another managed service and does not satisfy the requirement to use Lambda for ingestion.
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 the Amazon Redshift COPY command?
Open an interactive chat with Bash
How does Amazon EventBridge help automate tasks like Lambda invocations?
Open an interactive chat with Bash
Why is using AWS Lambda with the COPY command more efficient than other approaches?
Open an interactive chat with Bash
AWS Certified Data Engineer Associate DEA-C01
Data Ingestion and Transformation
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 $11.99
$11.99/mo
Billed monthly, Cancel any time.
$19.99 after promotion ends
3 Month Pass
$44.99 $26.99
$8.99/mo
One time purchase of $26.99, Does not auto-renew.
$44.99 after promotion ends
Save $18!
MOST POPULAR
Annual Pass
$119.99 $71.99
$5.99/mo
One time purchase of $71.99, Does not auto-renew.
$119.99 after promotion ends
Save $48!
BEST DEAL
Lifetime Pass
$189.99 $113.99
One time purchase, Good for life.
Save $76!
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .