← All quizzes

Night 24

Lab 3B — Athena on Iceberg

Athena serverless SQL on S3, Glue Data Catalog, Apache Iceberg table format, partitioning and scan cost, Athena vs Aurora OLTP vs Redshift, workgroups, Night 20 migration bucket reuse

0:00 / ~24m0/15 answered

15 timed scenario questions (~24 min, ~96 sec each). Reinforces night-24-athena-iceberg.md and night-24-lab-athena-setup scripts. Answer without peeking at night-24-quiz-answers.json first.

  1. 1.GSA leadership wants ad hoc SQL: resort counts grouped by country_code on Parquet files exported to the Night 20 migration bucket. No always-on warehouse cluster. Best fit?

  2. 2.Night 17 stats-uploader must UPSERT monthly_runs on resort_stats with millisecond latency and ACID guarantees. Which store is purpose-built?

  3. 3.An Athena query fails with “Table not found” though Parquet files exist in S3. What does the Glue Data Catalog provide that raw S3 lacks?

  4. 4.GSA prod registers Apache Iceberg tables on pipeline output instead of a loose Parquet folder. Which Iceberg capability matters most for “query yesterday’s snapshot after a bad ETL run”?

  5. 5.Your Athena bill spikes after analysts scan an unpartitioned 8 TB export. Primary billing driver to optimize first?

  6. 6.night-24-lab creates workgroup saa-study-gsa-athena with EnforceWorkGroupConfiguration. Queries fail until OutputLocation is set. Where do result CSV files land?

  7. 7.Night 20 exported saa-study-gsa-wiki-views to night-20/dynamodb/wiki-views/ as DynamoDB JSON. Why is that path not tonight’s direct SQL target for resort_stats analytics?

  8. 8.200 BI users run concurrent complex JOINs on a 50 TB curated star schema all day. Ad hoc serverless SQL on raw S3 alone is too slow. Better primary warehouse?

  9. 9.night-24-lab registers resort_snapshot with explicit Athena DDL and CTAS — no crawler deployed. Exam-accurate statement about Glue crawlers?

  10. 10.night-24-lab runs CREATE TABLE … table_type=ICEBERG via CTAS. DDL fails on Athena engine version 2 with unsupported table type. Fix?

  11. 11.You run night-24-lab-athena-teardown.ps1 after finishing analytics practice. What remains in AWS?

  12. 12.A 5-year resort export grows to terabytes. Queries filter on country_code every time. Best cost/latency habit?

  13. 13.Nightly Spark job transforms 500 GB of raw JSON logs into curated Parquet before analysts run SQL. Which service runs the heavy batch transform?

  14. 14.Match workload to store: (1) live resort_stats UPSERT from SQS, (2) quarterly country rollup on historical S3 snapshots.

  15. 15.Wiki viewCount hot reads (Night 18) need microsecond DynamoDB acceleration. Resort country analytics run on S3 snapshots (Tonight). Pick the DynamoDB-specific cache vs analytics SQL tool.

Answer all 15 questions to submit.