A ski resort group keeps live lift-pass account data in an Amazon Aurora PostgreSQL database. Three years of ride logs sit in Amazon S3 in Parquet format and are queried through Amazon Redshift Spectrum.
Each Monday, the finance team needs one report that joins current account status from Aurora with the ride logs in S3. The account data changes during the week, and the team does not want a nightly copy of the operational database.
Which approach meets these requirements?
Choose one answer.
AA. Create an external schema with a secret for the Aurora credentials, then run one query joining live Aurora and Spectrum tables.
BB. Use AWS DMS to copy the Aurora tables into Redshift every night, and run the report against the copies with the Spectrum external tables.
CC. Export the Aurora tables to CSV each Monday with a manual query, upload them to S3, and join the files with the ride logs in Spectrum.
DD. Connect Amazon Athena to Aurora with a JDBC connection, and move the ride logs into the Aurora database as a table before the report runs.
B. Wrong: A nightly copy works, but the account data is stale for most of the week, and the team asked to avoid copying the operational database. The option therefore misses a stated requirement.
C. Wrong: Manual exports are slow and error-prone, and the data is a copy taken at export time. The option adds weekly work that the team wants to remove.
D. Wrong: Moving three years of logs into the operational database adds load and storage to the system the team wants to protect. The option also changes the data layout more than the report requires.
Explanation
Federated queries let Redshift read live operational data in Aurora PostgreSQL, while Spectrum reads the Parquet logs in S3, so one query can join both. The credentials stay in Secrets Manager through a secret reference. Nightly copies, manual exports and moving logs into the operational database each add a copy or a manual step.
Want more on Redshift Spectrum, federated queries and materialized views? The 5 full-length practice sets have 10 more Redshift Spectrum, federated queries and materialized views questions, 325 in all, none of them in the free exam. One payment of $14.99, no subscription. See the practice sets →