AWS Certified Cloud Practitioner / Databases & Analytics

Athena Overview

🎯 Exam Tip

  • βœ… Athena is serverless

  • βœ… Queries data directly from S3

  • βœ… Uses standard SQL

  • βœ… No need to load data into a database first

  • βœ… Common for analytics, reporting, and analyzing AWS logs

  • βœ… "Serverless SQL on S3 data" β†’ Athena


πŸ” Amazon Athena

Organizations store lots of data in S3 β€” logs, CSVs, JSON, reports β€” but storing isn't enough; you need to analyze it too.

Athena is a serverless interactive query service that runs standard SQL directly on data in S3 β€” no loading or moving the data anywhere.

βš™οΈ How It Works

1️⃣ Store data files in S3 β†’ 2️⃣ Open Athena β†’ 3️⃣ Write a SQL query β†’ 4️⃣ Athena reads the files from S3 β†’ 5️⃣ Get your results.

The data stays in S3 the whole time β€” no copying into another database.

πŸ“„ Supported File Formats

CSV, JSON, ORC, Avro, Parquet.

(Athena runs on the Presto query engine β€” not required knowledge for the exam.)


πŸ“Š QuickSight Integration

Query with Athena, then visualize with Amazon QuickSight:

Build reports and dashboards from S3 data with zero database infrastructure to manage.


Pay-per-query β€” you're charged based on the amount of data scanned (~$5 per TB), not for servers.

πŸ’‘ Scan less, pay less: compress files and use efficient columnar formats like Parquet or ORC to cut costs and boost performance.

  • Business intelligence

  • Data analytics & reporting

  • Querying S3 data

  • Analyzing VPC Flow Logs, ELB logs, CloudTrail logs, and app/platform logs

Serverless makes it ideal for occasional or on-demand analysis with no infrastructure to manage.


πŸ“Œ Why Choose Athena?

  • Analyze files already in S3

  • Use familiar SQL

  • Skip managing database servers

  • Pay only for queries you run


πŸ“ Summary

  • πŸ” Athena = serverless query service

  • πŸ—‚οΈ Analyzes data directly in S3

  • πŸ’¬ Uses SQL

  • πŸ“„ Supports CSV, JSON, ORC, Avro, Parquet

  • πŸ“Š Integrates with QuickSight for dashboards

  • πŸ’° Charges by data scanned β€” compressed/columnar formats save money

  • 🎯 Exam takeaway: "Serverless SQL queries on S3 data" β†’ Amazon Athena