AWS Certified Data Engineer Associate DEA-C01 Practice Question
A data engineering team created a materialized view in Amazon Redshift that joins the internal fact_sales table with an external product_dim table stored in Amazon S3 through a Spectrum external schema. After the product_dim data files are overwritten each night, analysts notice that the view returns stale data. The team must keep results current in the most cost-effective way without copying the external table into Redshift. What should they do?
Replace the materialized view with a late-binding view so it always reads the latest external data.
Convert the product_dim external table into a regular Redshift table so the view can refresh automatically.
Run ALTER MATERIALIZED VIEW … AUTO REFRESH YES to enable incremental refresh on the existing view.
Schedule the REFRESH MATERIALIZED VIEW command to run after the nightly S3 load completes.
Materialized views that reference external schemas cannot be configured with AUTO REFRESH. They remain unchanged until explicitly refreshed. The least-cost approach is to leave the data in Amazon S3 and schedule the REFRESH MATERIALIZED VIEW command-using Amazon EventBridge, the Redshift scheduler API, or another orchestrator-to run immediately after the nightly file replacement. Loading the external table into Redshift or switching to a late-binding view would either add storage cost or reduce performance. ALTER MATERIALIZED VIEW … AUTO REFRESH YES is unsupported for external schemas, so it would fail.
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 materialized view in Amazon Redshift?
Open an interactive chat with Bash
How does Amazon Redshift Spectrum integrate with S3?
Open an interactive chat with Bash
Why can't AUTO REFRESH be configured for materialized views with external schemas?
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 .