AWS Certified Data Engineer Associate DEA-C01 Practice Question
A team ingests IoT telemetry into a DynamoDB table that uses device_id as the partition key and event_time as the sort key. Six months later, product managers request dashboards that aggregate events by firmware_version across all devices. The solution must keep the existing workload online, avoid full table scans, and minimize additional cost and operational overhead. Which change to the current data model best meets these requirements?
Provision a second DynamoDB table keyed by firmware_version and replicate updates from the original table by using DynamoDB Streams and AWS Lambda.
Create a local secondary index that uses firmware_version as the sort key while retaining device_id as the partition key.
Export the DynamoDB table to Amazon S3 and load the data into an Amazon Redshift cluster, then run SQL queries for the dashboards.
Add a global secondary index with firmware_version as the partition key and event_time as the sort key, projecting only the attributes required for the dashboards.
Adding a global secondary index (GSI) can be done on an existing DynamoDB table without taking the table offline. A GSI can use a completely different partition key and sort key, letting the team query efficiently on firmware_version while preserving current access patterns. A local secondary index would still partition by device_id, so it cannot support queries that span all devices. Exporting the table to Amazon Redshift or duplicating the data in a new table adds unnecessary cost and operational complexity compared with a simple GSI addition.
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 a Global Secondary Index (GSI) in DynamoDB?
Open an interactive chat with Bash
Why is a Local Secondary Index (LSI) unsuitable for spanning all devices?
Open an interactive chat with Bash
How does DynamoDB Streams and AWS Lambda replication compare to using a GSI?
Open an interactive chat with Bash
AWS Certified Data Engineer Associate DEA-C01
Data Store Management
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 .