AWS Certified Data Engineer Associate DEA-C01 Practice Question
A company stores click-stream events as partitioned Parquet files in Amazon S3. A data engineer must expose a view that returns, for each product category, the number of visits and a 7-day rolling average of visits, so that Amazon QuickSight can visualize traffic trends. The team wants a serverless and cost-effective solution without moving or transforming the source data. Which solution meets these requirements?
Use AWS Glue DataBrew to create a project that pivots by category, computes the rolling average, writes the result to S3, and refresh the dataset in QuickSight on a schedule.
Load the Parquet files into an Amazon Redshift provisioned cluster and run SQL queries that calculate the rolling average, then connect QuickSight to Redshift.
Spin up an Amazon EMR cluster with Apache Spark, run a daily batch job that aggregates the data into a new S3 bucket, and point QuickSight to the output.
Create an AWS Glue Data Catalog table over the S3 data and use Amazon Athena with a window function to compute the 7-day rolling average at query time.
Amazon Athena can query the Parquet data in place on S3 and calculate rolling averages by using SQL window functions such as AVG() OVER (PARTITION BY category ORDER BY event_date ROWS BETWEEN 6 PRECEDING AND CURRENT ROW). Because Athena is serverless, the company pays only for the queries it runs, and no additional infrastructure or ETL jobs are required. Loading the data into Amazon Redshift or processing it with EMR or AWS Glue would introduce unnecessary cost and operational overhead. Glue DataBrew can perform aggregations, but it materializes results to S3 and does not expose an ad-hoc SQL endpoint for QuickSight, so it is less suitable for interactive analysis.
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 Amazon Athena and how does it enable serverless querying?
Open an interactive chat with Bash
What are SQL window functions, and how are they used for rolling averages?
Open an interactive chat with Bash
Why is Amazon Glue Data Catalog important for querying S3 data with Athena?
Open an interactive chat with Bash
What is Amazon Athena and how does it work?
Open an interactive chat with Bash
What are SQL window functions and how are they used?
Open an interactive chat with Bash
What is the AWS Glue Data Catalog and why is it needed?
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 .