Amazon DEA-C01: Data Query and Analytics — Study Guide

Part of the Amazon Data Engineer Associate DEA-C01 — Study Guide. Practice with verified answers in the Amazon exam hub, or take timed practice tests on ExamRoll.io.

This domain covers designing, tuning, and operating AWS services that support analytical queries and BI on large datasets. It focuses on cost-efficient, high-performance query patterns across Athena, Redshift, OpenSearch, and QuickSight, and how they interoperate with S3, Glue, and transactional stores. Mastery requires balancing storage format, partitioning, compute type, and data placement to minimize scanned bytes and network skew while delivering low-latency insights.

Amazon Athena query optimization

Athena pricing is bytes scanned, so physical data layout and metadata are the primary levers. Use columnar formats (Parquet or ORC) with compression (Snappy for Parquet, Zlib/ORC options) to reduce size and CPU. Partition data by high-cardinality, query-filtered columns (date, region) and register partitions in the Glue Data Catalog. Typical patterns:

When queries require joins with transactional stores, use Athena Federated Query (Lambda connectors) to perform cross-source joins with RDS, DynamoDB, or Redshift. Connectors are deployed as Lambda functions and registered as data sources in Athena; example console flow: Athena > Data sources > Connectors > New. Decision criteria:

Amazon Redshift query tuning and distribution

Redshift performance hinges on distribution style and sort keys to minimize data movement and enable zone mapping. Choose DIST styles using these decision points:

Define SORTKEYs on columns used in range filters or ORDER BY to enable zone maps and reduce disk reads. Common operational commands:

Amazon OpenSearch Service for log analytics

OpenSearch is optimized for ingest and fast, ad-hoc log analytics; its index and cluster configuration determines throughput and cost. Index design and lifecycle:

QuickSight for BI and visualization

QuickSight provides fast dashboards with two main ingestion modes: SPICE (in-memory) and direct query. SPICE offers sub-second performance for dashboards and is suited for repeated reads; direct SQL queries (to Athena, Redshift, RDS) are preferable for very large datasets or frequently changing data. Key configuration and best practices:

Common Pitfalls and Decision Criteria

Practical Problem: Use-Case Scenario

Acme Retail needs daily BI reports combining transactional orders in Amazon RDS, clickstream events in S3, and DynamoDB user profiles, with cost limits and sub-minute dashboard refreshes for recent data.

  1. Convert clickstream S3 data to partitioned Parquet (date-based), compress with Snappy, and register metadata in AWS Glue via a crawler.
  2. Use Athena for ad-hoc queries on S3 and deploy Federated Query connectors for RDS and DynamoDB to perform small-dimension joins; materialize frequent join results as Parquet if queries are repeated.
  3. Provision Redshift for heavy analytical joins: load aggregated snapshots into Redshift, set DISTKEY on a high-cardinality customer_id, and define SORTKEY on order_date; use Spectrum for cold historical S3 data.
  4. Ingest application logs into OpenSearch with daily index patterns; apply ILM to keep recent indices on hot nodes and move older indices to UltraWarm for cost savings.
  5. Build QuickSight dashboards: import recent aggregates into SPICE with scheduled incremental refreshes for sub-minute perceived responsiveness, and use direct queries for always-fresh metrics.

Rationale: This approach minimizes Athena scan costs via partitioning and columnar formats, reduces Redshift network shuffle with proper distribution and sort keys, uses Spectrum to avoid storing cold data in Redshift, applies OpenSearch ILM to optimize storage cost, and leverages SPICE for responsive dashboards while keeping critical freshness via direct queries.


Data Orchestration and Workflow Management · All domains · Data Security

Practice these questions → · Timed practice on ExamRoll.io →

Pass the whole exam — not just this question

You found this answer. Get every verified question and explanation in one place, and save hours of prep. Free to start.

Pass your exam →

Browse Amazon →

Related guides

All-in-one access

One subscription. Every exam.

Every plan unlocks unlimited answer search, practice tests, AI explanations, and the full resource library — in 20+ languages.

Monthly
24.87
Just €0.83/day
Everything included:
  • Unlimited answer search
  • Unlimited practice tests
  • AI-powered explanations
  • Full resource library
  • 20+ languages
  • Weekly content updates
  • Rewards & referrals
  • Priority support
Start free trial

No credit card required*

Best value
12 months
179.87
Just €0.49/daySave 40%
Everything included:
  • Unlimited answer search
  • Unlimited practice tests
  • AI-powered explanations
  • Full resource library
  • 20+ languages
  • Weekly content updates
  • Rewards & referrals
  • Priority support
Start free trial

No credit card required*

✓ Free plan included · ✓ Cancel anytime · ✓ All plans unlock the full product